zenguerrilla
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: PHP Fatal error allowed memory sizeThank you for the suggestion; we’ll look into it.
Forum: Fixing WordPress
In reply to: PHP Fatal error allowed memory sizeHello @sturdywall12
We had both OPCache and JIT enabled, and it turns out JIT was the issue. After disabling it, everything is back to normal. Thank you very much!Forum: Fixing WordPress
In reply to: PHP Fatal error allowed memory sizeHello,
we get the exact same error after upgrading to PHP 8.2 from 7.4:2024/09/20 10:08:18 [notice] 1078#1078 [unit] #12118: php message: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4295229440 bytes) in /site/web/wp/wp-includes/theme.php on line 189
sometimes it’s on line 189, other times on line 325:2024/09/16 13:01:09 [notice] 152#152 [unit] #1482: php message: PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4295229440 bytes) in /site/web/wp/wp-includes/theme.php on line 325
but it always try to allocate 4GB of memory.
Our wordpress setup is based on roots.io, with a custom theme and we use composer for all plugin installations.
We have Wordfence plugin installed and we’ve managed to reproduce the problem consistently after manually running thewf_scan_monitor
cron event using wp-cli, and then viewing the wp-admin dashboard. We have disabled this cron job since then, but the problem re-appeared today.
As a temporary workaround we have disabled wp-cron altogether and we’re monitoring it.- This reply was modified 2 months ago by zenguerrilla.
- This reply was modified 2 months ago by zenguerrilla.
Forum: Plugins
In reply to: [qTranslate Plus] Error when updating from qTranslateYou will not lose your posts. You have back-ups of your files & db anyway, right?
To re-create your conf easily just disable qtranslate-plus, re-enable original qtranslate and copy its configuration by screenshots, text, or whatever method suits you. Then reverse the process to apply the same conf to qtranslate-plus.
Forum: Plugins
In reply to: [qTranslate Plus] svn diff for eliminating notices & warningsOf course, the inline diff got mangled :). You can find here the diff:
https://dl.dropboxusercontent.com/u/44476406/ppqtranslate-fixes.diffForum: Plugins
In reply to: [qTranslate Plus] Error when updating from qTranslateHi there,
to fix the error, replace ‘qtrans_generateLanguageSelectCode()’ with ‘ppqtrans_generateLanguageSelectCode()’ in line 188 in /home/tmjn159j/public_html/wp-content/themes/furies/header.php .When migrating a site I currently develop from qtranslate to qtranslate-xp I’ve noticed that you need to re-create your languages configuration. Automatic migration from qtranslate would be great.
Hi there,
I had the same problem. The fix is simple:in manager.php, replace line 868 (for version 1.3.1):
add_rewrite_rule( '^' . $cpt_onomy_archive_slug . '/?', 'index.php?'.$taxonomy . '=$matches[1]&cpt_onomy_archive=1', 'top' );
with:
add_rewrite_rule( '^' . $cpt_onomy_archive_slug . '/page/([0-9]+)?', 'index.php?'.$taxonomy . '=$matches[1]&paged=$matches[2]&cpt_onomy_archive=1', 'top' ); add_rewrite_rule( '^' . $cpt_onomy_archive_slug . '/?', 'index.php?'.$taxonomy . '=$matches[1]&cpt_onomy_archive=1', 'top' );
it adds an extra rewrite rule for pagination.