• Resolved fall3nwarrior

    (@fall3nwarrior)


    Hello,

    Since switching to Spotlight from Smash Balloon’s Instagram Feed plugin a few days ago I keep getting a PHP Fatal Error that causes my site to crash and respond with Error 502. So far I am able to recover from the crash by changing the folder name of the plugin in order to disable it.

    For some additional background info, my current host is SiteGround specifically, the Growbig plan. I have also disabled WP_Cron and set up Cron Jobs that call wp-cron twice per hour.

    I believe there may be a memory leak of some kind in spotlight-social-photo-feeds/includs.init.php on line 19. The errors from my php_errorlog are as follows.

    [17-Jun-2021 16:34:54 UTC] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 64458405584 bytes) in /home/customer/www/fall3nwarrior.com/public_html/wp-content/plugins/spotlight-social-photo-feeds/includes/init.php on line 19
    [17-Jun-2021 16:34:55 UTC] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 64458405584 bytes) in /home/customer/www/fall3nwarrior.com/public_html/wp-content/plugins/spotlight-social-photo-feeds/includes/init.php on line 19
    [17-Jun-2021 16:39:18 UTC] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 34571168416 bytes) in /home/customer/www/fall3nwarrior.com/public_html/wp-content/plugins/spotlight-social-photo-feeds/includes/init.php on line 19
    [17-Jun-2021 16:39:45 UTC] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 69180126800 bytes) in /home/customer/www/fall3nwarrior.com/public_html/wp-content/plugins/spotlight-social-photo-feeds/includes/init.php on line 19
    [17-Jun-2021 16:39:49 UTC] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 69180126800 bytes) in /home/customer/www/fall3nwarrior.com/public_html/wp-content/plugins/spotlight-social-photo-feeds/includes/init.php on line 19
    [17-Jun-2021 16:40:18 UTC] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 137438953440 bytes) in /home/customer/www/fall3nwarrior.com/public_html/wp-content/plugins/spotlight-social-photo-feeds/includes/init.php on line 19
    [17-Jun-2021 16:40:50 UTC] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 137434553600 bytes) in /home/customer/www/fall3nwarrior.com/public_html/wp-content/plugins/spotlight-social-photo-feeds/includes/init.php on line 19
    [17-Jun-2021 16:41:50 UTC] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 137438953440 bytes) in /home/customer/www/fall3nwarrior.com/public_html/wp-content/plugins/spotlight-social-photo-feeds/includes/init.php on line 19
    [17-Jun-2021 16:44:21 UTC] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 83956312724 bytes) in /home/customer/www/fall3nwarrior.com/public_html/wp-content/plugins/spotlight-social-photo-feeds/includes/init.php on line 19

    As you can see, the memory allocation being requested is huge in each line and can be anywhere from 60 GBs to 137GBs.

    Please let me know if you need any additional info from me to troubleshoot this issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mark Zahra

    (@markzahra)

    Hi @fall3nwarrior, we’ll look into this and get back to you as soon as possible.

    For now, can you please let me know when exactly these errors happen?

    If it’s during or after connecting an Instagram account, how many posts does that Instagram account currently have?

    Thread Starter fall3nwarrior

    (@fall3nwarrior)

    @markzahra, it is happening after I have connected my Instagram account which currently has 170 posts. Additionally, I opted to skip the data collection option on the initial setup and named my primary feed “Main”. At the moment I am now unable to reactivate the plugin because when I do the site crashes and I get an Error 502.

    I have reinstalled the plugin to see if it solves the issue for now. At the moment I am able to access my site again and haven’t had a PHP fatal error yet.

    I hope that helps. Let me know if you need any additional info.

    Plugin Author Mark Zahra

    (@markzahra)

    @fall3nwarrior we’ve done some further investigation and we’re thinking it might be a plugin conflict causing this.

    Would you be able to perform a plugin conflict test by any chance? If you don’t want to share what other plugins you’re using on this forum, you’re welcome to reach out using our contact form and we’ll reply privately via email.

    We recommend running that conflict test on a staging copy of the site by deactivating all plugins except for Spotlight and then start to activate other plugins one by one until the error occurs. When you find the potentially conflicting plugin, let us know which one it is and we’ll investigate it further. If that test doesn’t result in any conflicts, we’ll try to look elsewhere.

    Thread Starter fall3nwarrior

    (@fall3nwarrior)

    @markzahra Thank you for taking a closer look. I was able to deactivate, delete and reinstall the plugin. After doing so I haven’t seen any more PHP Fatal memory allocation errors. It seems to have resolved the issue at the moment and I will keep you posted if the issue returns. Thanks again for your time and effort.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Possible Memory Leak / PHP Fatal Memory Error’ is closed to new replies.