Hi,
Please try to re-download the plugin from the plugin page https://ww.wp.xz.cn/plugins/brands-for-woocommerce/
Most likely there was an issue during the downloading process.
If the issue will persist please update me here.
Regards,
Dmytro
I try re-download the plgin but also can’t activate with the same error.
Plugin Author
RazyRx
(@razyrx)
Hello,
It seems plugin do not have some required file, or it is not included.
It is file in plugin includes/base-widget.php , maybe you have also some other PHP notice or warning that cause this issue.
Please check PHP error log or WordPress debug log.
Regards,
Oleg
Got the same error, please let me know if it got solved.
Server litespeed php8.1 on latest woocommerce and wordpress
Plugin Author
RazyRx
(@razyrx)
Hello,
Please check PHP error log or WordPress debug log for other errors or notices before this, maybe some other issue cause this.
Regards,
Oleg
Thank you for the reply,
The plugin used to work fine, till I disabled it for testing an unrelated subject, but did not activate afterwards with the following error:
Fatal error: Uncaught Error: Class “BeRocket_Brand_Base_Widget” not found in /home/store.something.com/public_html/wp-content/plugins/brands-for-woocommerce/includes/base-widget_ordered.php:2 Stack trace: #0 /home/store.something.com/public_html/wp-content/plugins/brands-for-woocommerce/main.php(7): include_once() #1 /home/store.something.com/public_html/wp-content/plugins/brands-for-woocommerce/woocommerce-brand.php(16): include_once(‘…’) #2 /home/store.something.com/public_html/wp-admin/includes/plugin.php(2314): include_once(‘…’) #3 /home/store.something.com/public_html/wp-admin/plugins.php(192): plugin_sandbox_scrape() #4 {main} thrown in /home/store.something.com/public_html/wp-content/plugins/brands-for-woocommerce/includes/base-widget_ordered.php on line 2
and the wordpress error log is as follow:
[01-Apr-2023 13:55:53 UTC] PHP Fatal error: Uncaught Error: Class "BeRocket_Brand_Base_Widget" not found in /home/store.something.com/public_html/wp-content/plugins/brands-for-woocommerce/includes/base-widget_ordered.php:2
Stack trace:
0 /home/store.something.com/public_html/wp-content/plugins/brands-for-woocommerce/main.php(7): include_once()
1 /home/store.something.com/public_html/wp-content/plugins/brands-for-woocommerce/woocommerce-brand.php(16): include_once('…')
2 /home/store.something.com/public_html/wp-admin/includes/plugin.php(2314): include_once('…')
3 /home/store.something.com/public_html/wp-admin/includes/plugin.php(661): plugin_sandbox_scrape()
4 /home/store.something.com/public_html/wp-admin/plugins.php(58): activate_plugin()
5 /home/store.something.com/public_html/wp-admin/network/plugins.php(13): require('…')
6 {main}
thrown in /home/store.something.com/public_html/wp-content/plugins/brands-for-woocommerce/includes/base-widget_ordered.php on line 2
[01-Apr-2023 13:55:55 UTC] PHP Fatal error: Uncaught Error: Class "BeRocket_Brand_Base_Widget" not found in /home/store.something.com/public_html/wp-content/plugins/brands-for-woocommerce/includes/base-widget_ordered.php:2
Stack trace:
0 /home/store.something.com/public_html/wp-content/plugins/brands-for-woocommerce/main.php(7): include_once()
1 /home/store.something.com/public_html/wp-content/plugins/brands-for-woocommerce/woocommerce-brand.php(16): include_once('…')
2 /home/store.something.com/public_html/wp-admin/includes/plugin.php(2314): include_once('…')
3 /home/store.something.com/public_html/wp-admin/plugins.php(192): plugin_sandbox_scrape()
4 {main}
thrown in /home/store.something.com/public_html/wp-content/plugins/brands-for-woocommerce/includes/base-widget_ordered.php on line 2
[01-Apr-2023 13:55:55 UTC] PHP Fatal error: Uncaught Error: Class "BeRocket_Brand_Base_Widget" not found in /home/store.something.com/public_html/wp-content/plugins/brands-for-woocommerce/includes/base-widget_ordered.php:2
Stack trace:
0 /home/store.something.com/public_html/wp-content/plugins/brands-for-woocommerce/main.php(7): include_once()
1 /home/store.something.com/public_html/wp-content/plugins/brands-for-woocommerce/woocommerce-brand.php(16): include_once('…')
2 /home/store.something.com/public_html/wp-admin/includes/plugin.php(2314): include_once('…')
3 /home/store.something.com/public_html/wp-admin/plugins.php(192): plugin_sandbox_scrape()
4 {main}
thrown in /home/store.something.com/public_html/wp-content/plugins/brands-for-woocommerce/includes/base-widget_ordered.php on line 2
Please note that there is no other problems with php, same issue on php8.1 and php7.4.
No other plugin is having an issue to active or to work.
again, thank you for your help.
Plugin Author
RazyRx
(@razyrx)
Hello,
We will add fix in next plugin release
Regards,
Oleg