• Hello

    My issue information as below:

    Permalink Settings – Post name
    I am using a static front page
    My Polylang settings – I need to set default to English but can not, Because it’s display – Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 72 bytes) in /xxx/xxx/xxx/wp-includes/wp-db.php on line 1684

    My server is Dedicated Server and allowed memory size is 1000 MB.
    My site is http://cookkoo.com

    Please help

    Thank you

    https://wordpress.org/plugins/polylang/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Chrystl

    (@chrystl)

    Hello

    I need to set default to English but can not,

    Yes it’s a big operation if you have a lot of posts. And you seem to have only 256 MB. Did you check your max memory with phpinfo?

    Thread Starter jookkoo

    (@jookkoo)

    Hello

    Thank you for your messages.

    I have the post only about 15 pages. But i have Member Profile page more than 2 million users.

    And i already check with the Admin and they show mysite.com/phpinfo it have 1000 MB.

    Plugin Support Chrystl

    (@chrystl)

    But WordPress limit you at 256MB on your admin side. WordPress does that by this function define( 'WP_MAX_MEMORY_LIMIT', '256M' );.

    You can increase this memory limit by adding this function define( 'WP_MAX_MEMORY_LIMIT', '1000M' ); in your wp-config.php.

    See codex: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

    Thread Starter jookkoo

    (@jookkoo)

    Hello, Chrystl

    Thank you so much for your help. I already done but still have the old issue.
    May be because i have a big data of member. But on my Localhost it work fine, May be because it have small data, not the same data on Hosting.

    If i start to config Polylang on Localhost and after that upload it to Hosting. And what is the Folder,File and Database which i should to upload to Hosting. Please help

    Thank you

    Plugin Support Chrystl

    (@chrystl)

    Did you try to deactivate all your plugins except Polylang to do your operation?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Fatal error: Allowed memory size’ is closed to new replies.