• Resolved awjensen

    (@awjensen)


    When this plugin is activated and a user with a role other than Administrator attempts to create a new post or a new portfolio item, they get the following fatal error: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1343488 bytes) in /home/s2dp5yjzt650/public_html/wp-includes/functions.php on line 4757

    When I deactivate the plugin and only this plugin, then new posts can be created by Contributors.

Viewing 1 replies (of 1 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @awjensen

    Thank you for your inquiry and I am happy to assist you with this.
    This means that the memory_limit of 128M is being exhausted. There is no particular reason why this happens with the role other than Administrator.
    What you should do is to increase the memory limit
    To increase the PHP memory limit setting, edit your PHP.ini file. Increase the default value (example: Maximum amount of memory a script may consume = 128MB) of the PHP memory limit line in php.ini.

    memory_limit = 256M
    Alternatively, you can edit your .htaccess file (Not recommended see: Apache Performance: Disable .htaccess)

    php_value memory_limit 256M
    If you don’t have access to these files or lack the experience to make this change, you can contact your web host and ask them to increase your PHP memory limit.

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error’ is closed to new replies.