• Resolved samuelyellowpony

    (@samuelyellowpony)


    Hello,

    when I install Google Site Kit on my website, I occurred an error on each page (front and back)
    ex :
    Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 262144 bytes) in /wp-includes/class-wp-object-cache.php on line 364


    If I disable all extensions and only activate Suremembers and Google Site Kit this error occured.

    SureMembers ([email protected]) support told me :
    “This is a known issue as we have carried few tests with both of the plugins and after testing and code modifications. We were able to discern that the exact error shown for the resource memory is coming from the Google Site Kit plugin. “

    Could you help us to make this 2 modules works together ?

    Thanks

    Samuel

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 29 total)
  • Plugin Support Adam Dunnage

    (@adamdunnage)

    Hi @samuelyellowpony thanks for getting in touch and sharing the information you have thus far and bringing this to our attention. I will discuss this with the internal team and perform some further testing if needed and we will provide you with an update on this as soon as we have one.

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @samuelyellowpony Could I also ask you to please share your?Site Health information? You can?use this form?to share privately if preferred.

    Thread Starter samuelyellowpony

    (@samuelyellowpony)

    Hi @adamdunnage thanks a lot for your support.

    Site Health Information sent.

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @samuelyellowpony thanks for sharing. So far I have been unable to recreate the issue you are facing. To help further investigate this, please could you share the following:

    1. A recording or screenshots of the issue you see
    2. Do you encounter the same when using an Incognito browser?
    3. Any debug logs you have with the errors displayed

    I will continue to test with both plugins to try and replicate so that I can pass this on to the internal team to investigate further.

    Thread Starter samuelyellowpony

    (@samuelyellowpony)

    Hello @adamdunnage,

    On back & front, every first load of a page create au HTTP ERROR 500 like :

    Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 262144 bytes) in /var/www/htdocs/yp-wehive/wp-includes/formatting.php on line 5804

    Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 262144 bytes) in?Unknown?on line?0

    I try to allocate more memory (php memory_limit) but always the same error.

    After the error, if I reload the page it works.

    On every page : 1st load : HTTP 500, then 2nd load : Page works

    Then if I reload the same page HTTP 500, then page works (loop)

    Another problem, maybe linked, on the Dashboard of Site Kit : /wp-admin/admin.php?page=googlesitekit-dashboard

    It tells me that “I am offline” and “The server provided an invalid response”. (We try without firewall but same error)

    Screenshot : https://pasteboard.co/9NTMPbNTvRcl.jpg

    Thanks

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @samuelyellowpony Thank you for sharing the latest information and screenshot.

    The offline error you are seeing can appear if you’re experiencing temporary internet or network-related issues. If you see this message, check that you are connected to the internet. Once a network connection has been established, the message will no longer display and you will be able to continue using Site Kit.

    If you continue to see this message, contact your network provider for further assistance. Once you have resolved this issue, do you still see the other mentioned errors on your site? These could be related to your networking issues so it would be good to first resolve this before moving forward.

    Thread Starter samuelyellowpony

    (@samuelyellowpony)

    We are well connected on the Internet. We can ping google.com from the server in SSH.

    I reproduce the same errors on my local developpment website and on the production website (not the same server, not the same internet provider…).

    Also SureMembers know this issue (see my first post), so I’m not the only one with this error (HTTP 500 / memory_limit)

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @samuelyellowpony Could you please confirm who your hosting provider is for this website? Or are you self hosting the website?

    Thread Starter samuelyellowpony

    (@samuelyellowpony)

    @adamdunnage we are our own host. Our servers are in a rack at Scaleway.

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @samuelyellowpony Thanks for confirming. Could you please try going to this URL which will create a temporary WordPress site with Site Kit pre-installed. Could you then try installing the SureMemebers plugin and setting up Site Kit.

    Once you have done the above do you encounter the same errors and issues as you do on your self-hosted website? Feel free to also share any added screenshots of this.

    Plugin Support Adam Dunnage

    (@adamdunnage)

    @samuelyellowpony After checking everything further, I suspect you won’t encounter any issues if you increase your PHP memory limit. The error is related to your resources being reached.

    I checked your Site Health and you only defined your standard PHP memory limit, when you define your WP memory limit which is low.?

    You could try using the following to help with this:

    define( 'WP_MEMORY_LIMIT', '512M' );

    Thread Starter samuelyellowpony

    (@samuelyellowpony)

    No effect with define( ‘WP_MEMORY_LIMIT’, ‘512M’ );

    I reproduce the error on https://fadedticket.s4-tastewp.com/

    Plugin Support James Osborne

    (@jamesosborne)

    Sorry to hear that @samuelyellowpony. We’ll perform some additional checks and report back to you here. While we’re doing so, can you share an updated version of your Site Health information via this form.

    Thread Starter samuelyellowpony

    (@samuelyellowpony)

    Hi @jamesosborne Site health information has been sent.

    Thanks

    Plugin Support James Osborne

    (@jamesosborne)

    Appreciate the update @samuelyellowpony. I can indeed confirm that you’re memory limit has been updated (WP_MEMORY_LIMIT: 512M) .

    Based on the tests I’m currently performing, without being able to reproduce the same on a TasteWP site, please share the following:

    1. From the TasteWP Site where you can recreate this, does this occur as soon as you install and activate Site Kit with SureMembers alone, without having set up Site Kit or made any configuration changes with SureMembers, such as a redirection rules or a custom admin role?
    2. On your TasteWP site once more, do you see any warnings or errors when checking your Site Health status? (Tools > Site Health > Status), which differs from your Site Health information previously shared? Such errors may include REST endpoint references.

    Let me know if you have any questions with the above.

Viewing 15 replies - 1 through 15 (of 29 total)
  • You must be logged in to reply to this topic.