• haychart

    (@haychart)


    Hi

    I have been reorganising and installing new plugins lately

    when a user (author) logs on and tries to make / edit a post they get an error (admin its fine)

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 122880 bytes) in /home/fdimagaz/public_html/mag/wp-content/plugins/js_composer/config/buttons/shortcode-vc-btn.php on line 157

    if you refresh it, it will be a different plugin mentioned

    Anyway deleted the last plugin installed and all ok

    Now today by chance I installed a new plugin and set it up

    without me knowing an author logged on and got the error
    as they rang me and was explaining i deactivated a plugin not used
    he pressed f5 and the site worked – i recativated it and it failed
    i deactivate a different plugin – and the site worked

    I literally when down the list of 6-7 plugins deactivating / reactivating and getting the same result

    Any idea what is causing this – its like the plugins folder is using too much memory

Viewing 3 replies - 1 through 3 (of 3 total)
  • abletec

    (@abletec)

    Hello, haychart, & welcome. Looks to me as though your installation doesn’t have enough memory. Some hosting providers allow this to be changed via control panel. Else you might try opening wp-config.php & typing in define( ‘WP_MEMORY_LIMIT’, ‘128M’ ); but understand this may not work if your hosting provider doesn’t allow it. In that case, you should contact them & see if the memory limit can be raised. You should also consider deleting plugins you’re not using.

    Thread Starter haychart

    (@haychart)

    That was the first thing i did when the original issue happened

    changed the config, htaccess and php.ini and got the host to also make sure and it is set to 256

    that didnt actually solve the issue but the error message showed the amount of memory to allocate was 82bytes rather than 122880 bytes

    Only worked again after deleting the plugin

    abletec

    (@abletec)

    Hello again, haychart.
    1) Could you please provide a site url?
    2) Could you please open your wp-config.php & change wp-debug to ‘true’? Then log onto your site & see if there are errors thrown. This is a serious security risk so please change it back to ‘true’ again as soon as you’ve obtained the information.
    3) Could you please see if your hosting control panel contains any error logs & paste any relevant info to your next reply. Also, please check your WordPress folders & see if there are any files called error_log or error.log & paste any recent error messages to your next response as well.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘fatal error after any plugin install’ is closed to new replies.