Dec 16, 2022 9:16 pm
We are hosted on WordPress VIP, and since updating to PHP 8.0 our debug logs are full of the below errors:
PHP message: Warning: foreach() argument must be of type array|object, bool given in /var/www/wp-content/plugins/wpdiscuz/forms/wpdFormAttr/Form.php on line 1678 [www.oursite.com.au/2011/03/28/digital-media-convergence-where-legal-and-ethical-lines-blur-too/] [wp-content/plugins/wpdiscuz/utils/class.WpdiscuzHelper.php:349 wpdFormAttr\Form->getThemes(), wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php:1256 WpdiscuzHelper->enqueueWpDiscuzStyle(), wp-includes/class-wp-hook.php:308 WpdiscuzCore->frontendFiles(), wp-includes/class-wp-hook.php:332 WP_Hook->apply_filters(), wp-includes/plugin.php:517 WP_Hook->do_action(), wp-includes/script-loader.php:2180 do_action('wp_enqueue_scripts'), wp-includes/class-wp-hook.php:308 wp_enqueue_scripts(), wp-includes/class-wp-hook.php:332 WP_Hook->apply_filters(), wp-includes/plugin.php:517 WP_Hook->do_action(), wp-includes/general-template.php:3043 do_action('wp_head'), wp-content/themes/oursite/header.php:58 wp_head(), wp-includes/template.php:783 require_once('wp-content/themes/oursite/header.ph... PHP message: Warning: scandir(vip://wp-content/uploads/wpdiscuz/themes/): Failed to open directory: "Automattic\VIP\Files\VIP_Filesystem_Stream_Wrapper::dir_opendir" call failed in /var/www/wp-content/plugins/wpdiscuz/forms/wpdFormAttr/Form.php on line 1675 [www.oursite.com.au/2022/12/06/ukraine-russia-war-europe-weapons/] [wp-content/plugins/wpdiscuz/forms/wpdFormAttr/Form.php:1675 scandir(), wp-content/plugins/wpdiscuz/utils/class.WpdiscuzHelper.php:349 wpdFormAttr\Form->getThemes(), wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php:1255 WpdiscuzHelper->enqueueWpDiscuzStyle(), wp-includes/class-wp-hook.php:308 WpdiscuzCore->frontendFiles(), wp-includes/class-wp-hook.php:332 WP_Hook->apply_filters(), wp-includes/plugin.php:517 WP_Hook->do_action(), wp-includes/script-loader.php:2180 do_action('wp_enqueue_scripts'), wp-includes/class-wp-hook.php:308 wp_enqueue_scripts(), wp-includes/class-wp-hook.php:332 WP_Hook->apply_filters(), wp-includes/plugin.php:517 WP_Hook->do_action(), wp-includes/general-template.php:3043 do_... PHP message: Warning: scandir(): (errno 13): Permission denied in /var/www/wp-content/plugins/wpdiscuz/forms/wpdFormAttr/Form.php on line 1675 [www.oursite.com.au/2022/12/06/ukraine-russia-war-europe-weapons/] [wp-content/plugins/wpdiscuz/forms/wpdFormAttr/Form.php:1675 scandir(), wp-content/plugins/wpdiscuz/utils/class.WpdiscuzHelper.php:349 wpdFormAttr\Form->getThemes(), wp-content/plugins/wpdiscuz/class.WpdiscuzCore.php:1255 WpdiscuzHelper->enqueueWpDiscuzStyle(), wp-includes/class-wp-hook.php:308 WpdiscuzCore->frontendFiles(), wp-includes/class-wp-hook.php:332 WP_Hook->apply_filters(), wp-includes/plugin.php:517 WP_Hook->do_action(), wp-includes/script-loader.php:2180 do_action('wp_enqueue_scripts'), wp-includes/class-wp-hook.php:308 wp_enqueue_scripts(), wp-includes/class-wp-hook.php:332 WP_Hook->apply_filters(), wp-includes/plugin.php:517 WP_Hook->do_action(), wp-includes/general-template.php:3043 do_action('wp_head'), wp-content/themes/oursite/header.php:58 wp_head(), wp-includes/template.php:783 require_once('wp-content/th...
I suspect your dev team can address the first issue above as part of a future release, but the other two are more specific to the VIP environment. Is there a setting we can use to remove the need for local storage?
2 Replies
Dec 19, 2022 7:36 am
The developers don't find such an issue on our test websites. Could you please send the admin login details to info[at]gvectors.com email address? I'll ask the developers to check the issue.