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 pleaseIf 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.
Quote from friendman on April 10, 2024, 05:25Hi, 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?
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?
Quote from Pablo Borysenco on April 10, 2024, 11:03Hello
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
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
Quote from friendman on April 10, 2024, 14:13The 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.
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.
Quote from Pablo Borysenco on April 11, 2024, 09:58Hello
Please do a test
I added this code - https://share.pluginus.net/image/i20240411105801.png
Hello
Please do a test
I added this code - https://share.pluginus.net/image/i20240411105801.png
Quote from friendman on April 11, 2024, 12:35Thank 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
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
Quote from friendman on April 12, 2024, 14:36Maybe 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"? :)
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"? :)
Quote from Pablo Borysenco on April 12, 2024, 15:34Please do a test
Please do a test
Quote from friendman on April 13, 2024, 23:11There'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
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
Quote from Pablo Borysenco on April 15, 2024, 10:30Hello
Describe in more detail what you are doing to get this error.
Hello
Describe in more detail what you are doing to get this error.
Quote from friendman on April 17, 2024, 01:22I 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.
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.
Quote from Pablo Borysenco on April 17, 2024, 11:15Hello
yes, of course you can create a new topic and you can also continue in this topic
Hello
yes, of course you can create a new topic and you can also continue in this topic
Quote from friendman on April 17, 2024, 11:17Okay! I'm sorry for being so problematic. Thank you for your outstanding patience with me!
Okay! I'm sorry for being so problematic. Thank you for your outstanding patience with me!