Hi diyafury,
As the warning suggests the error is coming from another plugin.
/revision-control/revision-control.php
Any ideas?
Hi there
The error only started happening when I updated the alm plugin (I needed the meta_compare bits), the older alm version worked fine with out errors, I think it was version 2.6.3 – I wonder if it is a similar issue as per this one: ALM is Throwing strtolower() Error at Beginning of Loop (2 posts)
The piece of code from the plugin that is throwing the error (revision-control) since the alm update is this:
if ( !empty($_REQUEST[‘post_type’]) )
$post_type = stripslashes($_REQUEST[‘post_type’]);
The warning pops up on every ajax request the alm code makes it seems.
Both plugins are vital and are used on an existing site – I’m literally adding a few extras which required the alm plugin update.
Do you have any recommendations on the best way to resolve this?
I wonder if the $post_type var is ALM is conflicting with the $post_type var in Revision Control.
As a temp fix you could add the following to your wp_config.php file.
error_reporting(0);
@ini_set(‘display_errors’, 0);
The exact syntax I had to use was:
ini_set(‘display_errors’,’Off’);
ini_set(‘error_reporting’, E_ALL );
Nothing seems to actually be broken so switching off the display errors will certainly do for now.
Cheers for that 🙂
Was able to reproduce thie error message after installed Revision Control.
Any chance you could reach out to them?