• NoSyMe

    (@nosyme)


    Hey. I love Timed Content Rules. It allows us to automate a lot of our work. Thanks for that!

    Well, I just created an exact copy of one of our websites for a new project, but with this website, the Plugin doesn’t work anymore.

    When trying to save a page or post, we get this error message:

    Fatal error: Allowed memory size of 402653184 bytes exhausted (tried to allocate 32768 bytes) in /www/htdocs/w018a7dd/kongresskoala.de/blasen/wp-content/plugins/timed-content/timed-content.php(857) : eval()’d code on line 1

    And when trying to open a page with a timed content rule in it, we get classic HTTP 500 Error.

    I already increased our PHP Limit from 256 to 384MB, but that didn’t do the trick.

    We’re on PHP 7.3, WP 5.3.2, TC 2.65

    • This topic was modified 5 years ago by NoSyMe.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    This sounds like the plugin somehow gets into an endless loop which causes PHP to allocate all allowed memory until the script get’s stopped.

    How did you create the copy of the website?

    Thread Starter NoSyMe

    (@nosyme)

    Just copy/pasted the FTP into a new folder, exported/imported the DB via PHPMyAdmin and changed the data in the wp-config for the new DB.

    I just tried completely uninstalling the plugin and installing again, but I get the same problem. Super weird.

    Plugin Author Arno Welzel

    (@awelzel)

    Just copying the database is not enough. You should at least replace the FQDN in the dump file so it matches the site for the new project before importing it again to a new database.

    You also should consider using the native tools of MySQL/MariaDB (mysqldump, mysql client) over an SSH tunnel to the machine, if this is possible. DBeaver over SSH works also quite well here (see https://dbeaver.io).

    For a further analysis I would need to have a copy of the site (files and database – I have my own Nextcloud server to upload stuff) and check this with a debugger – however, since Timed Content generally works and the problem is caused by copying a database, I can’t provide this service for free. If you are interested, contact me via e-mail. You can find my address on my website at https://arnowelzel.de/en/about-me.

    • This reply was modified 5 years ago by Arno Welzel. Reason: typo
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error: allowed memory size exhausted’ is closed to new replies.