Error when Updating to PHP 8
-
On the latest version of the plugin. I get this error when updating to php 8.
<br />
<b>Fatal error</b>: Uncaught TypeError: json_decode(): Argument #1 ($json) must be of type string, array given in /home/jmukpvos/public_html/wp-content/plugins/wp-store-locator/admin/templates/map-settings.php:272
Stack trace:
#0 /home/jmukpvos/public_html/wp-content/plugins/wp-store-locator/admin/templates/map-settings.php(272): json_decode(Array)
#1 /home/jmukpvos/public_html/wp-content/plugins/wp-store-locator/admin/class-admin.php(220): require(‘/home/jmukpvos/…’)
#2 /home/jmukpvos/public_html/wp-includes/class-wp-hook.php(307): WPSL_Admin->load_template(”)
#3 /home/jmukpvos/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
#4 /home/jmukpvos/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
#5 /home/jmukpvos/public_html/wp-admin/admin.php(259): do_action(‘wpsl_stores_pag…’)
#6 /home/jmukpvos/public_html/wp-admin/edit.php(10): require_once(‘/home/jmukpvos/…’)
#7 {main}
thrown in <b>/home/jmukpvos/public_html/wp-content/plugins/wp-store-locator/admin/templates/map-settings.php</b> on line <b>272</b><br />The page I need help with: [log in to see the link]
- The topic ‘Error when Updating to PHP 8’ is closed to new replies.