• Resolved fippy

    (@dgilfillan)


    Since upgrading to PHP 8.0 we are seeing a lot warning messages thrown by a file in the Snippet plugin…

    2022/11/03 10:10:52 [error] 114706#114706: *147816 FastCGI sent in stderr: “PHP message: PHP Warning: Trying to access array offset on value of type bool in /xxx/xxx/xxx/wp-content/plugins/code-snippets/php/snippet-ops.php(505) : eval()’d code on line 10” while reading response header from upstream, client: xx.xxx.xx.xx, server: xxx.xxxxxxx.xxx, request: “POST /wp-admin/admin-ajax.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php8.0-fpm-partnerize.sock:”, host: “xxx.xxxxxx.xxx:19303”, referrer: “https://xxx.xxxxxx.xxx/wp-admin/edit.php?post_type=page”

    Any advice/fix?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Hi @dgilfillan,

    This error is coming from one of your snippets. You have a boolean variable you are trying to access as an array on line 10 of one of your snippets.

    Thread Starter fippy

    (@dgilfillan)

    Thanks Shea, problem found and solved.

    Plugin Author Shea Bunge

    (@bungeshea)

    Glad to hear it!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Warning thrown’ is closed to new replies.