• Resolved rmmoul

    (@rmmoul)


    We moved a website to a php 7.2 server and this plugin began throwing a fatal error:

    PHP Fatal error: Uncaught Error: [] operator not supported for strings in /wp-content/plugins/meta-box/inc/about/about.php:38

    I was able to manually fix the issue to get our client’s website running, but this should be fixed within the plugin so that the next update doesn’t break their website. Essentially the function needs to either be passed an array, or (what we did) it needs to check if the value passed is an array and if not it needs to create an array with that value inserted into it.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal error when run on PHP 7.2’ is closed to new replies.