Notice Warning on Listing Block

Mostly it needs a !empty check on variable.
Can you please fix?

Warning : array_merge(): Expected parameter 1 to be an array, null given in /opt/bitnami/apps/medtechpost.com/htdocs/wp-content/themes/listinghive/includes/components/class-theme.php on line 225

Notice : Trying to access array offset on value of type null in /opt/bitnami/apps/medtechpost.com/htdocs/wp-content/plugins/hivepress/includes/blocks/class-container.php on line 75
You can add $args[‘type’] = !empty($args[‘type’])?$args[‘type’]:’’; on line 72 class-container.php

Warning : Invalid argument supplied for foreach() in /opt/bitnami/apps/medtechpost.com/htdocs/wp-content/plugins/hivepress/includes/helpers.php on line 156

Please let me know which theme you’re using, were there any code customizations or custom attributes that may cause this issue, or this error appears by default?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.