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

Another fatal error when activating Husky :(

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, Pablo!

I ran into another one, somewhat similar to the one I already encountered. It's again something about arrays not being treated as arrays :)

I see the critical error message on my site upon HUSKY plugin activation, and here's what I have been able to find in the error log:

PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in mysite.com/wp-content/plugins/woocommerce-products-filter/index.php:196
Stack trace:
#0 mysite.com/wp-includes/class-wp-hook.php(324): WOOF->init()
#1 mysite.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 mysite.com/wp-includes/plugin.php(517): WP_Hook->do_action()
#3 mysite.com/wp-settings.php(695): do_action()
#4 mysite.com/wp-config.php(191): require_once('/home/jogge112/...')
#5 mysite.com/wp-load.php(50): require_once('/home/jogge112/...')
#6 mysite.com/wp-blog-header.php(13): require_once('/home/jogge112/...')
#7 mysite.com/index.php(17): require('/home/jogge112/...')
#8 {main}
thrown in mysite.com/chromium5/wp-content/plugins/woocommerce-products-filter/index.php on line 196

 

Can you please assist in finding a solution?

 

Hello

What version of the plugin is this error for? I checked your site. There can't be an error like this in this line -  https://share.pluginus.net/image/i20240410120308.png

The version of the plugin I'm observing it with is 3.3.5.3 but with the small change you made in the last ticket.

Let me double check everything now...

For some reason, now the error moved to line 184

$this->settings['delete_image'] = apply_filters('woof_delete_img_url', WOOF_LINK ."img/delete.png");

This is the problematic piece of code I've seen before. It might have been moved to line 196 because I tried to fix it with my dirty little hands :) Thus, a few lines of shitty code were added, and then removed. This might have caused this shift.

Hello

Please do a test

I added this code  - https://share.pluginus.net/image/i20240411105801.png

Thank you! That one seems to be fixed, but several other similar fatal errors appeared :(

PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in mysite.com/wp-content/plugins/woocommerce-products-filter/index.php:2739

and

PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in mysite.com/wp-content/plugins/woocommerce-products-filter/ext/by_author/views/options.php:36

Bump

Maybe it's possible to create a single universal line of code, that would say"all husky arrays that aren't arrays be defined as arrays"? :)

Please do a test

There's still PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in mysite.com/wp-content/plugins/woocommerce-products-filter/index.php:2739

Hello

Describe in more detail what you are doing to get this error.

I was installing demo data to get this error.

Anyway, I used my dirty little hands and managed to somehow resolve the cascade of this issues.

Now I have another one that may or may not be bad. Let me create a new ticket on the matter on this forum.

Hello

yes, of course you can create a new topic and you can also continue in this topic

Okay! I'm sorry for being so problematic. Thank you for your outstanding patience with me!

Welcome;)