redconfetti
Forum Replies Created
-
I’m working on a site that installs WordPress using Composer. I’m assuming that it installs the same WordPress 4.3 that you are using.
Our WordPress site wasn’t loading at all either, and it turns out that the error logs showed that PHP processes were running out of memory with a serialization function. On a hunch I looked into the issue further, knowing that the WP-Cron is stored in the options table.
SELECT option_value FROM ei_options WHERE option_name = 'cron';
It turns out that the serialized value in that option was 7.9 MB in size, with a bunch of duplicated values inside of an array value named ‘wp_batch_split_terms’.
I searched online and found this post from just 9 days ago. This fix is slated for release in v4.31.
Here is the change you need to make to fix the cause of the issue. If you make the same changes shown in this link to your WP files, this should resolve the issue for you.
Forum: Plugins
In reply to: [WP Change Urls] [Plugin: WP Change Urls] Short PHP Tagsoops, I might have just posted this for the wrong plugin. Sorry.
I meant to post it here:
https://www.ads-software.com/extend/plugins/change-wp-url/My mistake.
Forum: Plugins
In reply to: [Change WP URL] [Plugin: Change WP URL] syntax error on activationHi Charlesneville. This is because the plugin uses short opening PHP tags which are not supported by all servers.
If you update the code to use ‘<?php’ instead of ‘<?’ where the PHP coding begins, it will work fine.
Forum: Fixing WordPress
In reply to: Permalink not working on ubuntu/apache2Hey. I moved a WordPress blog from one Ubuntu server to another. Mine worked just fine as well for the main page, but the permalinks weren’t working for the post addresses for me either.
I just realized that I needed to enable mod rewrite.
# a2enmod rewrite Enabling module rewrite. Run '/etc/init.d/apache2 restart' to activate new configuration! root@ubuntu:/etc/apache2/mods-enabled# /etc/init.d/apache2 restart * Restarting web server apache2 ... waiting [ OK ] root@ubuntu:/etc/apache2/mods-enabled#