• I am getting below error message while I am trying to use PHP 7.4.

    Notice: Trying to access array offset on value of type bool in /home/foysal/www/html/wordpressbosta/matt/wp-content/plugins/insert-php/includes/shortcodes/shortcode-php.php(52) : eval()'d code on line 12

    What is the solution for this ?

    • This topic was modified 2 years, 10 months ago by mabufoysal.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Dion

    (@diondesigns)

    The notice is caused by obsolete code you have entered into the “insert-php” plugin. If this code was cut/pasted into the plugin, you should ask the authors of the code whether they have updated it to modern PHP standards. If you wrote the code yourself, you must check for the existence of an array key before trying to read its value.

    Hello. ??

    This error means that the plugin you’re using (insert-php) isn’t compatible with 7.4. Likely it’s an old plugin that hasn’t been kept up to date.

    You can either ask the author to fix it, fix it yourself, or find a different solution.

    Good luck!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error message of PHP 7.4’ is closed to new replies.