• Resolved habitcreature

    (@habitcreature)


    While this plugin is activated, the frontend of the site returns 500 server error and the wp-permalinks settings page does not load at all or if it does load, it shows a white screen with a short message: [an error occurred while processing this directive].

    The wp error_log shows

    [26-Dec-2016 15:27:05 UTC] PHP Fatal error:  Out of memory (allocated 12845056) (tried to allocate 158839 bytes) in /home4/username/public_html/mysite/wp-content/plugins/really-simple-ssl/class-mixed-content-fixer.php on line 117
    [26-Dec-2016 15:27:05 UTC] PHP Fatal error:  Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0

    Help. I upped the memory settings in php.ini, htaccess and wp-config and no success. I’m on PHP 5.6.27 and WordPress 4.6.1

    • This topic was modified 9 years, 5 months ago by habitcreature.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    You can check if the mixed content fixer is causing the issue by deactivating it:
    If you can access the settings, you can disable it in the settings (settings/ssl/settings)

    If that’s not possible, you can disable it by commenting out line 17 in class-mixed-content-fixer.php, like this:
    //$this->fix_mixed_content();

    The mixed content fixer uses output buffering to fix the http urls, but I would normally not expect the html of a page to be of such size that memory issues occur.
    Is the amount of html on your site exceptionally large?

    Thread Starter habitcreature

    (@habitcreature)

    Thanks! Deactivating “mixed content fixer” seemed to work for one page load.

    After further hunting, turns out adding a single line of “RLimitMem 512000000”, in the .htaccess file under my public_html dir fixed it.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Fatal error: Out of memory’ is closed to new replies.