[Support request] Making changes in the WordPress customizer error log is giving me this

Home Forums Support [Support request] Making changes in the WordPress customizer error log is giving me this

Home Forums Support Making changes in the WordPress customizer error log is giving me this

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #815720
    Ben

    Hi All,

    For some reason when I try to change the blog layout via the WordPress customizer mainly the featured image, if I try float it left or right it doesn’t actually go left or right.

    I’m using Kinsta as a web host and they have mentioned to share my error log to see if you know what’s happening?

    Appreciate any help or guidance!

    2019/02/20 14:59:18 [error] 121278#121278: *197426 FastCGI sent in stderr: “PHP message: PHP Warning: Invalid argument supplied for foreach() in /www/xxxxxx/public/wp-content/plugins/gp-premium/typography/functions/functions.php on line 2202” while reading upstream, client: 195.11.245.42, server: xxxxxx.com, request: “GET /wp-admin/customize.php?url=https%3A%2F%2Fwebsite.com%2F&changeset_uuid=ebc8475d-0e3c-449e-9a9c-917fa9b3a0f1&return=https%3A%2F%2Fwebsite.com%2F HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php7.3-fpm-website.sock:”, host: “website.com”, referrer: “https://website.com/wp-admin/customize.php?url=https%3A%2F%2Fwebsite.com%2F”

    #815805
    Tom
    Lead Developer
    Lead Developer

    That particular foreach is taking a JSON list of Google Fonts that has been converted to a PHP array using json_decode().

    I suppose it’s possible that json_decode() is failing for some reason – it is a big list of fonts. That being said, we’re using Kinsta here on generatepress.com and haven’t had any issues in the Customizer.

    #815808
    Ben

    Thanks Tom,

    I do have a staging site on Kinsta for my domain and tested that with no issues, seems weird though? Anyways going to rebuild it on a clean install wiped everything off of the staging site and will start again.

    Cheers for the help

    #816046
    Tom
    Lead Developer
    Lead Developer

    That is weird. Maybe that install has a conflicting plugin?

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.