• Hello,

    my multi site was working fine but now I got an error on the main site


    Warning: Creating default object from empty value in /Applications/_webseiten/multisite-yoga2/apps/wordpress/htdocs/wp-content/sunrise.php on line 22

    Notice: Undefined property: stdClass::$site_id in /Applications/_webseiten/multisite-yoga2/apps/wordpress/htdocs/wp-content/sunrise.php on line 25

    Notice: Undefined property: stdClass::$site_id in /Applications/_webseiten/multisite-yoga2/apps/wordpress/htdocs/wp-content/sunrise.php on line 29

    Notice: Trying to get property of non-object in /Applications/_webseiten/multisite-yoga2/apps/wordpress/htdocs/wp-content/sunrise.php on line 30

    Notice: Trying to get property of non-object in /Applications/_webseiten/multisite-yoga2/apps/wordpress/htdocs/wp-content/sunrise.php on line 30

    Warning: Creating default object from empty value in /Applications/_webseiten/multisite-yoga2/apps/wordpress/htdocs/wp-content/sunrise.php on line 30

    Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 262144 bytes) in /Applications/_webseiten/multisite-yoga2/apps/wordpress/htdocs/wp-includes/load.php on line 826

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

    I can not find a solution. Any suggestions?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter sebastian21

    (@sebastian21)

    I added
    define(‘WP_MEMORY_LIMIT’, ‘512M’);

    to the config file but no effect…

    Plugin Author Ron Rennick

    (@wpmuguru)

    I appreciate that the last warning is from the DM plugin but it’s not DM that’s triggering the memory error. Your install is exhausting 512M of RAM.

    If you had no active plugins (except DM) & one of the Twenty* themes your site would run fine in 64M.

    How can I fix this issue?
    Same problem here … also with all other plugins deactivated.

    Error occurs only when trying to update the multisite at “../wp-admin/network/plugins.php” everything else runs smooth.

    • This reply was modified 7 years, 5 months ago by diesignatur.
    Plugin Author Ron Rennick

    (@wpmuguru)

    @diesignatur – Are you saying your install exhausts 512MB of RAM when you attempt to update the network?

    Maybe something is misconfigured I dont know. I can increase up to 1024M and the errors still occur.

    @wpmuguru: is there any way to contact you private to give you access so you can see the errors by yourself?

    Plugin Author Ron Rennick

    (@wpmuguru)

    I would suggest the following

    – reinstall the current version of WordPress. It doesn’t happen often but sometimes files are missed during the install.
    – rename both the mu-plugins & plugins folder to ensure that nothing is running on the main site while attempting an update
    – try the update then rename mu-plugins & plugins folders back to their correct names.

    I reinstalled with a fresh version of wordpress 4.8.

    When disabling the domain mapping plugin and changing the sunrise.php to the “stock file”, no error appears but of course domain mapping is out of order.

    What I can say now is that the domain mapping plugin seems to be responsible for the error.

    This is the current error output:

    Warning: Creating default object from empty value in /usr/www/users/bionic/bionic-neu/wp-content/sunrise.php on line 22

    Warning: Creating default object from empty value in /usr/www/users/bionic/bionic-neu/wp-content/sunrise.php on line 30

    Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 262144 bytes) in /usr/www/users/bionic/bionic-neu/wp-includes/load.php on line 826

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

    All I’ve changed before the error appeared was the “DOMAIN_CURRENT_SITE” in wp-config.php for my admin multisite (not visible for public) as the domainname changed. Of course I changed all the old url information in the database as well, so that I dont see any problem with that.

    Do you have any ideas what I can do?

    Plugin Author Ron Rennick

    (@wpmuguru)

    “stock file”

    WordPress does not include a sunrise.php.

    All I’ve changed before the error appeared was the “DOMAIN_CURRENT_SITE” in wp-config.php for my admin multisite (not visible for public) as the domainname changed.

    If you changed the URL of your main site by editing the database then likely you have created an incompatibility that only presents itself with mapped domains.

    With stock file I mean the sunrise.php from your plugin zip folder.

    How can I solve this incompatibility? I have changed ALL tables with the old domain.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Fatal error: Allowed memory size of 536870912 bytes exhausted’ is closed to new replies.