Uncaught Error: [] operator not supported for strings
-
We have received fatal error notification from WordPress saying:
Error Details
=============
An error of type E_ERROR was caused in line 161 of the file /var/www/html/website/wp-content/plugins/ari-fancy-lightbox/includes/class-plugin.php. Error message: Uncaught Error: [] operator not supported for strings in /var/www/html/website/wp-content/plugins/ari-fancy-lightbox/includes/class-plugin.php:161
Stack trace:
#0 /var/www/html/website/wp-content/plugins/ari-fancy-lightbox/includes/class-plugin.php(31): Ari_Fancy_Lightbox\Plugin->plugin_action_links(‘Version data:
– WordPress version 5.4
– ARI Fancy Lightbox (version 1.3.6)
– PHP version 7.3.14-1~deb10u1What we tried to do:
– $links as array ($links = array() / $links = [])– commented add_filter( ‘plugin_action_links_’ . plugin_basename( ARIFANCYLIGHTBOX_EXEC_FILE ) , function( $links ) { return $this->plugin_action_links( $links ); } ); in line 31
– deactivating plugin
None of above helped, so we still get and error in WordPress saying:
There has been a critical error on your website. Please check your site admin email inbox for instructions.This means we cannot operate with our plugins, since none is listed because of this error
Thanks
- The topic ‘Uncaught Error: [] operator not supported for strings’ is closed to new replies.