• Resolved dancemusicnw

    (@dancemusicnw)


    Our site updated to 4.7 today, and then a strange thing happened. Any user with a role less than Administrator began getting fatal memory errors related to the included WP meta.php file, which meant they could not load the post editor.

    With enough digging, I learned that the issue was the MashShare meta box that appears within the admin post editor. Admins don’t experience the problem, and if the plugin is disabled no one does. Using the Meta Box Permissions field to either add or remove Editor user role made no impact.

    Is there a possible fix and/or is it possible to completely disable the MashShare meta box? We don’t use it anyway. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Adding the user role “administrator” to the meta box permission field is deactivating the meta box at all for all other user roles. If this is not solving your issue the mashshare meta box is not the cause.

    Whats the exact error message you got?

    Thread Starter dancemusicnw

    (@dancemusicnw)

    Thanks for getting back to me so fast Rene! I’m fairly certain it is Mashshare in some capacity because disabling the plugin fixes the issue, or at the very least Mashshare is fighting with the thing that is causing it.

    The error is “Fatal error: Allowed memory size of xxxxxxxxx bytes exhausted (tried to allocate xxx bytes) in /…/wp-includes/meta.php on line 838.”

    Depending on how I jockey around settings, the error size and line move slightly, but they all stay within that part of the meta.php file where it looks for other boxes to pull in from the rest of the site to build the Post Editor.

    I’ve already attempted to increase the memory allocation in both wp-config and php.ini, but our allocation was already pretty high. Again worth noting, this only started after 4.7.

    Oh, and I also re-installed 4.7 via the Updates interface to make sure it wasn’t the result of a botched upgrade.

    Thread Starter dancemusicnw

    (@dancemusicnw)

    PS, updating to 3.3.5 did not solve the issue, if it is indeed related to MashShare.

    Whats your php memory limit? I can not replicate that issue. I updated to 4.7 and used a user_role editor for accessing the site. No issue at all.

    It seems you hit the memory limit with the total amount of your plugins. (I assume wordpress 4.7 needs more memory than 4.6) So you need to increase the memory limit and assign more memory to your wordpress installation.The default is 256MB.

    You can find here more hints how to solve it:
    https://premium.wpmudev.org/forums/topic/fatal-error-allowed-memory-size-of-67108864-bytes-exhausted?wpcv=b&utm_expid=3606929-93.spVh-aR3SwGklKzL4HJQQg.1&utm_referrer=https%3A%2F%2Fwww.google.de%2F

    Thread Starter dancemusicnw

    (@dancemusicnw)

    Rene, it turns out you were right after all. While I upped the memory limit, I didn’t up it high enough. The problem appears to be fixed now. I’ll mark this topic as resolved and start a new one if it reappears.

    Thanks for your help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Admin meta box breaks in WP 4.7’ is closed to new replies.