PHP Warning: include([PATH /black-friday-promotion-notification.php)
-
Hey!
I have been troubleshooting my website wordpress installation, and currently I am facing a PHP error:
“PHP Warning: include(/var/www/html/wp-content/plugins/wordpress-seo/vendor/composer/../../src/integrations/alerts/black-friday-promotion-notification.php): failed to open stream: No such file or directory in phar:///usr/local/bin/wp/vendor/composer/ClassLoader.php on line 571”
1) For me it seems there is some inconsistency and Yoast SEO is calling black friday promotion without having the needed php file for it. How can I resolve it?
2) Another question I have if someone can explain: why is this query made from /usr/local/bin/wp/ directory, as I thought all my wordpress files are in var/www/html/?
Anyway, I tried to deactivate, uninstall and re-install Yoast SEO from WP CLI (as there is no access to admin area through browser) but this PHP error seems to have interrupted the uninstall command (which is now just blinking in the terminal indefinitely).“wp plugin uninstall wordpress-seo” command gave also another warning:
“PHP Warning: Invalid argument supplied for foreach() in /var/www/html/wp-content/plugins/wordpress-seo/inc/options/class-wpseo-options.php on line 564”
Has anyone faced similar issue, or anyone there able to help me through?
- The topic ‘PHP Warning: include([PATH /black-friday-promotion-notification.php)’ is closed to new replies.