PhP Warning after upgrade to PhP v8
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 DunbarM on June 10, 2025, 04:08Hello – I am suddenly getting a PhP warning message:
Warning: Trying to access array offset on value of type null in wp-content/plugins/woocommerce-products-filter/installer/includes/class-installer-theme.php on line 565
after upgrading to PhP v8. It seems to appears on every admin (backend) page that I visit.
I also sometimes get an identical error message as well, but referring to
/public_html/wp-content/plugins/woocommerce-products-filter/installer/includes/class-installer-theme.php on line 827
I am running version 2.2.3 of the WooCommerce Products Filter plugin. WordPress version is 6.8.1, WooCommerce version is 9.8.5.
Please advise. Thanks.
Hello – I am suddenly getting a PhP warning message:
Warning: Trying to access array offset on value of type null in wp-content/plugins/woocommerce-products-filter/installer/includes/class-installer-theme.php on line 565
after upgrading to PhP v8. It seems to appears on every admin (backend) page that I visit.
I also sometimes get an identical error message as well, but referring to
/public_html/wp-content/plugins/woocommerce-products-filter/installer/includes/class-installer-theme.php on line 827
I am running version 2.2.3 of the WooCommerce Products Filter plugin. WordPress version is 6.8.1, WooCommerce version is 9.8.5.
Please advise. Thanks.
Quote from Pablo Borysenco on June 10, 2025, 10:19Hello
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png
Update the plugin to latest version - https://products-filter.com/how-to-make-auto-update-for-wordpress-plugins-and-themes-bought-on-envato
Hello
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png
Update the plugin to latest version - https://products-filter.com/how-to-make-auto-update-for-wordpress-plugins-and-themes-bought-on-envato
Quote from DunbarM on June 11, 2025, 04:42Hello - I have updated to the latest version and the PhP warning messages have gone. However, I am now seeing another issue. I have enabled the Sticky Header option for my theme (Kadence) but the filter is still appearing in the space at the top of the page that should be occupied exclusively by the header when I scroll downwards on the page. Please see https://dunbarmedical.com/product-category/first-aid/ for an example of this.
In addition, is there a way to hide the price range slider when logged out (perhaps using CSS)?
Thanks.
Hello - I have updated to the latest version and the PhP warning messages have gone. However, I am now seeing another issue. I have enabled the Sticky Header option for my theme (Kadence) but the filter is still appearing in the space at the top of the page that should be occupied exclusively by the header when I scroll downwards on the page. Please see https://dunbarmedical.com/product-category/first-aid/ for an example of this.
In addition, is there a way to hide the price range slider when logged out (perhaps using CSS)?
Thanks.
Quote from Pablo Borysenco on June 11, 2025, 10:11Hello
To get license key - https://codecanyon.net/downloads -> https://c2n.me/49ZXJv0.png
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png
Hello
To get license key - https://codecanyon.net/downloads -> https://c2n.me/49ZXJv0.png
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png
Quote from DunbarM on June 11, 2025, 11:35Hello - I have pasted the contents of the License certificate & purchase code file into the space you have indicated. Thanks.
Hello - I have pasted the contents of the License certificate & purchase code file into the space you have indicated. Thanks.
Quote from Pablo Borysenco on June 11, 2025, 12:00Please renew your support
Add this CSS
.woof_sid.woof_sid_auto_shortcode .woof_redraw_zone {
z-index: 10;
}
clear all cache and press Ctrl+F5 and do a test
In addition, is there a way to hide the price range slider when logged out (perhaps using CSS)? - Unfortunately no. In this case you need code customization, for example add a class to body if the user is logged in and after that you can hide any element using CSS
Please renew your support
Add this CSS
.woof_sid.woof_sid_auto_shortcode .woof_redraw_zone {
z-index: 10;
}
clear all cache and press Ctrl+F5 and do a test
In addition, is there a way to hide the price range slider when logged out (perhaps using CSS)? - Unfortunately no. In this case you need code customization, for example add a class to body if the user is logged in and after that you can hide any element using CSS
Quote from DunbarM on June 12, 2025, 05:41Thanks. Support has been renewed.
There is still a portion of the filter that appears in the header area when I scroll down - it's the Clear All button that appears after a selection has been made (as well as the selections themselves). See https://dunbarmedical.com/brands/bioskin/ as an example. Is there a way to use CSS to also make that section invisible in the header area?
In addition, regarding the price range slider - can it be suppressed (when logged out) using PhP or some means other than CSS?
Thanks.
Thanks. Support has been renewed.
There is still a portion of the filter that appears in the header area when I scroll down - it's the Clear All button that appears after a selection has been made (as well as the selections themselves). See https://dunbarmedical.com/brands/bioskin/ as an example. Is there a way to use CSS to also make that section invisible in the header area?
In addition, regarding the price range slider - can it be suppressed (when logged out) using PhP or some means other than CSS?
Thanks.
Quote from Pablo Borysenco on June 12, 2025, 12:20Hello
Please add this CSS
body .woof_products_top_panel {
z-index: 9;
}
You can try to add this code in functions.php
add_filter('woof_custom_filter_items_order', function($items_order, $id){
if(is_user_logged_in()) {
return $items_order;
}
foreach($items_order as $index => $key) {
if('by_price' == $key) {
unset($items_order[$index]);
}
}
return $items_order;
}, 10, 2);
Hello
Please add this CSS
body .woof_products_top_panel {
z-index: 9;
}
You can try to add this code in functions.php
add_filter('woof_custom_filter_items_order', function($items_order, $id){
if(is_user_logged_in()) {
return $items_order;
}
foreach($items_order as $index => $key) {
if('by_price' == $key) {
unset($items_order[$index]);
}
}
return $items_order;
}, 10, 2);
Quote from DunbarM on June 12, 2025, 13:48Thanks. Except for the PhP code above, these fixes are all working as intended. I'm not sure why the PhP is not suppressing the price range slider when logged out.
In addition, I have been testing all of the these fixes on the staging site (staging.dunbarmedical.com) and none of them seems to work there. Is there any reason for that?
Thanks. Except for the PhP code above, these fixes are all working as intended. I'm not sure why the PhP is not suppressing the price range slider when logged out.
In addition, I have been testing all of the these fixes on the staging site (staging.dunbarmedical.com) and none of them seems to work there. Is there any reason for that?
Quote from Pablo Borysenco on June 13, 2025, 11:01Hello
So you didn't insert this code correctly.
Hello
So you didn't insert this code correctly.
Quote from DunbarM on June 14, 2025, 14:41Hello - I'm not sure why but the CSS code is not working on the staging site. This is the code I added there (as far as I can see, it is identical to what was added on the production site, where it is working fine):
.woof_sid.woof_sid_auto_shortcode .woof_redraw_zone {
z-index: 10;
}
body .woof_products_top_panel {
z-index: 9;
}Can I ask you to take a look at this? I am trying to keep my staging and production sites as identical as possible. You can see the staging site at https://staging.dunbarmedical.com/?woo-share=UsfF8PHjThPsd9uQH92tr87pm2ARNAkA
In addition, I do have one more question - what are the steps to remove the magnifying glass and filter from the top of the product grid and place them along the left side of the page instead? Thanks.
Hello - I'm not sure why but the CSS code is not working on the staging site. This is the code I added there (as far as I can see, it is identical to what was added on the production site, where it is working fine):
.woof_sid.woof_sid_auto_shortcode .woof_redraw_zone {
z-index: 10;
}
body .woof_products_top_panel {
z-index: 9;
}
Can I ask you to take a look at this? I am trying to keep my staging and production sites as identical as possible. You can see the staging site at https://staging.dunbarmedical.com/?woo-share=UsfF8PHjThPsd9uQH92tr87pm2ARNAkA
In addition, I do have one more question - what are the steps to remove the magnifying glass and filter from the top of the product grid and place them along the left side of the page instead? Thanks.
Quote from DunbarM on June 15, 2025, 08:11Hello - I think everything is working now, so we can close this ticket.
Hello - I think everything is working now, so we can close this ticket.
Quote from Pablo Borysenco on June 16, 2025, 10:55Hello
Great! Welcome;)
Hello
Great! Welcome;)