WPChill / strong-testimonials

A WordPress plugin for client testimonials.
GNU General Public License v3.0
21 stars 11 forks source link

php 8 error #383

Closed mplusb closed 1 year ago

mplusb commented 1 year ago

Describe the bug We updated the PHP on our Wordpress site to 8.0 and it caused a critical error within your plugin. Please advise asap if there is a fix for this. Here is the info the error provided... WordPress version 6.1.1 Active theme: Bridge Child (version 1.0.0) Current plugin: Strong Testimonials (version 3.1.1) PHP version 8.0.27 Error Details ============= An error of type E_ERROR was caused in line 688 of the file /var/www/wp-content/plugins/strong-testimonials/includes/tracking/class-strong-testimonials-usage-tracker.php. Error message: Uncaught TypeError: Cannot access offset of type string on string in /var/www/wp-content/plugins/strong-testimonials/includes/tracking/class-strong-testimonials-usage-tracker.php:688 Stack trace: #0 /var/www/wp-includes/class-wp-hook.php(308): Strong_Testimonials_Usage_Tracker->set_notification_time('') #1 /var/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #2 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /var/www/wp-admin/admin.php(175): do_action('admin_init') #4 /var/www/wp-admin/plugins.php(10): require_once('/var/www/wp-adm...') #5 {main} thrown

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Used versions