PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]
Botoscope is currently in early access

Support Forum

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

PHP Fatal 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,

When I've updated my website to PHP 8.1 i get this error;

PHP message: PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /data/www/...public/wp-content/plugins/woocommerce-bulk-editor/ext/filters/filters.php on line 216

Please assist how to fix this.

Rob

Hello Rob

This error occurs because you're running an older version of BEAR that uses the curly brace syntax for string/array offset access ($var{0}), which was removed in PHP 8.0.

The fix is simple — please update BEAR to the latest version (2.1.6). This has already been corrected and is fully compatible with PHP 8.1+.

You can download the latest version from your CodeCanyon / Envato account and reinstall it over the existing one (your settings and data will be preserved).

If for any reason you're unable to update right now, here's the manual fix for the old file — open wp-content/plugins/woocommerce-bulk-editor/ext/filters/filters.php and replace any occurrences of:

$variable{0}

with:

$variable[0]

But again, updating to the latest version is the recommended approach.

 

Place please actual purchase code of the plugin into the private area of this ticket:
https://share.pluginus.net/image/i20230222134241.png
https://share.pluginus.net/image/i20230222134615.png
https://share.pluginus.net/image/i20230222134511.png