Homepage › Forum › Product Support › Organisk › Class 'WC_Widget' not found in 'yolo-woo-color-ajax-filter.php'
- This topic has 6 replies, 3 voices, and was last updated 8 years, 2 months ago by
tinhbeng.
-
AuthorPosts
-
8 years, 2 months ago #13170
How is this even possible?
2017/11/17 16:09:39 [error] 20138#20138: *74 FastCGI sent in stderr: "PHP message: PHP Fatal error: Class 'WC_Widget' not found in /var/www/examplesite.com/wp-content/plugins/yolo-organisk-framework/includes/widgets/yolo-woo-color-ajax-filter.php on line 10" while reading response header from upstream, client: 185.107.44.1, server: examplesite.com, request: "GET /wp-admin/themes.php?page=install-required-plugins HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "examplesite.com"
All I did was update my WooCommerce and now this on any page on my website!
The only way to get rid of it is by deleting 'yolo-organisk-framework'. And once I try to redownload from WP Admin (as it asks me to do so). The error re-appears.
8 years, 2 months ago #13171This obviously returns an error 500 making my website useless.
8 years, 2 months ago #13182Hi,
Sorry for the late response.
Please send me admin your account (Set as private reply). I will help you check.
Best regards,
8 years, 2 months ago #13194No worries!
After a bit of debugging on my own. I realized that something had occurred when updating WooCommerce from WP Admin which halted the WooCommerce update when in process. Hence, why the class wasn't being located displaying the above error.
By deleting 'yolo-organisk-framework' which was using WC_Widget I was able to completely remove WooCommerce and redownload and install WooCommerce , then followed by addubg 'yolo-organisk-framework' successfully.
8 years, 2 months ago #13198Same problem. Please help. The store is already working and this is a big problem. I certainly do not want to delete yolo-organisk-framework as the site is already finished. There is also no access to the wp-admin.
8 years, 2 months ago #13199Ok I fixed it.
Since WooCommerce was disabled after update 'yolo-woo-color-ajax-filter.php' cannot use it.
Therefore deleted the contents of the file (the class) manually and WordPress started normally.
Activated WooCommerce.
Then returned the contents of 'yolo-woo-color-ajax-filter.php'.
Everything is fine now. Hopefully.
8 years, 2 months ago #13206Great!!!!
-
AuthorPosts
You must be logged in and have valid license to reply to this topic.
