PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Migrated Wordpress site to new Host - getting Woof Plugin causing Wordpress critical error

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi support, I had to deactivate your Woocommerce-Product-Filter plugin to get Wordpress working - Wordpress sent me the error:

WordPress version 6.8.2
Current theme: Taco Child (Final WPZOOM Fix) (version )
Current plugin: HUSKY - Products Filter Professional for WooCommerce (version 3.3.7.1)
PHP version 8.3.23

Error Details
=============
An error of type E_ERROR was caused in line 183 of the file /home3/iovvtcmy/public_html/wp-content/plugins/woocommerce-products-filter-OFF/index.php. Error message: Uncaught TypeError: Cannot access offset of type string on string in /home3/iovvtcmy/public_html/wp-content/plugins/woocommerce-products-filter/index.php:183
Stack trace:
#0 /home3/iovvtcmy/public_html/wp-includes/class-wp-hook.php(324): WOOF->init('')
#1 /home3/iovvtcmy/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#2 /home3/iovvtcmy/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /home3/iovvtcmy/public_html/wp-settings.php(727): do_action('init')
#4 /home3/iovvtcmy/public_html/wp-config.php(110): require_once('/home3/iovvtcmy...')
#5 /home3/iovvtcmy/public_html/wp-load.php(50): require_once('/home3/iovvtcmy...')
#6 /home3/iovvtcmy/public_html/wp-admin/admin.php(35): require_once('/home3/iovvtcmy...')
#7 /home3/iovvtcmy/public_html/wp-admin/plugins.php(10): require_once('/home3/iovvtcmy...')
#8 {main}
thrown

Your index.php file around this line 183 is as follows:

//***
if (!isset($this->settings) || !is_array($this->settings)) {
$this->settings = [];
}
$this->settings['delete_image'] = apply_filters('woof_delete_img_url', WOOF_LINK ."img/delete.png");

load_plugin_textdomain('woocommerce-products-filter', false, dirname(plugin_basename(__FILE__)) . '/languages');
add_filter('plugin_action_links_' . WOOF_PLUGIN_NAME, array($this, 'plugin_action_links'), 50);
add_action('woocommerce_settings_tabs_array', array($this, 'woocommerce_settings_tabs_array'), 50);
add_action('woocommerce_settings_tabs_woof', array($this, 'print_plugin_options'), 50);

 

Please advise how to fix?? What happens if I download & reinstall the plugin? Will I loose my existing settings that this plugin provides on my Website.

Thanks
John Malcolm - john@logicnetworks.ca

Hello John

Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png and  wp-admin + ftp  access - https://share.pluginus.net/image/i20230222134615.png - I will fix it