Support » Plugin: Advertising Manager » Fatal error when updating

  • Resolved candreu

    (@candreu)


    I updated the plugin today, and my site shows this error:

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in /var/www/vhosts/distritofallas.com/httpdocs/wp-includes/taxonomy.php on line 3369

    I deleted Advertising Manager, and the site works fine. Is it any bug of the plugin?

    https://wordpress.org/plugins/advertising-manager/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Same here. Site wen’t complete dead after the update to 3.5

    Restored back to 3.4.29 and everything is back.

    Plugin Author switzer

    (@switzer)

    candreu: AccessWinnipeg: Do you have lots of posts? The upgrade goes through and updates posts with new ad shortcodes. I will make sure that it does a fixed number of posts at a time (rather than all posts) so that there is no memory errors. Stay tuned.

    Plugin Author switzer

    (@switzer)

    This has been fixed in v3.5.1.

    Yes, I have a lot of posts (more than 3.600). I will reinstall the plugin today. Thank you.

    After upgrading to 3.5.1 I can’t turn on the plugin. I get this error

    PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 72 bytes) in wp-includes/taxonomy.php on line 2301

    And I have almost 8.000 posts on my blog.

    I have the same issue “Allowed memory size exhausted” (2700 posts) I had to rename plugins directory because after the update the website was inaccessible. I can’t use the plugin anymore. Thanks for any help.

    This issues are related to the server. The site is running over the memory. You can ask the provider how to fix it. Also you can try to add this hack in the file wp-config.php, under the line “define WPLANG”.

    /** Memory limit **/
    define('WP_MEMORY_LIMIT', '128M');

    My hosting provider today upgraded my memory limit from 128MB to 256 MB. But I still can’t turn on the plugin.

    So problem has to be somewhere else.

    Even if your hosting provider upgraded the PHP memory limit also you must add the line in the file wp-config.php.

    In this case:

    /** Memory limit **/
    define('WP_MEMORY_LIMIT', '256M');

    Well it dosen’t help. When I tried to start version 3.5.1 I got notification that plugin caused critical error and in this.

    *PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    *PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 83 bytes) in /wp-includes/wp-db.php on line 1981
    *PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
    *PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 72 bytes) in /wp-includes/taxonomy.php on line 2107

    So the last version that it’s working for me is 3.4.29. For both newer versions I got the same error.

    Where the site is hosted? If you already have installed NextGen Gallery go in his dashboard (scrolling down, its show on the right field), so you can read how actually the memory limit is configured.
    If you do not use NextGen, then you can do it with this plugin: https://wordpress.org/plugins/wp-system-health/

    I’m ask you to do this test, since many host requires the custom PHP configuration. In a folder called .php, and inside this another directory called 5.4 (or 5.3 if this is the PHP version that run) and inside add the file called phprc where in the first line have to write: memory_limit = 256M

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Fatal error when updating’ is closed to new replies.