Site conflict with Jetpack – crashes site on activation
-
Hi, I’m having a similar problem.
WP v4.4.1 https://www.emeraldlodgelearning.com
I updated Jetpack, which had been working well and the site died (front and back ‘server error’)
I’ve been trying all sorts via phpmyadmin and ftp and cpanel, various repairs, exports and imports, deleting ‘jetpack’ lines from the database etc.
I’ve stripped the site back to just WordPress standard theme (2016) and jetpack as the only plugin installed, as soon as I activate the plugin the site dies.
I’ve also tried manual installation with the same ‘server error’ result.
I have set up a subfolder on a blank database where I have the theme and jetpack working, if I then link that installation to the database with all the posts we’ve done, the site dies.
So the conflict appears to be with jetpack and the database – hence why I tried to delete all references via ftp and phpmyadmin.Errors on the dash currently read:
Warning: strpos() expects parameter 1 to be string, object given in /home/emeraldl/public_html/wp-includes/functions.php on line 3898Warning: Illegal offset type in /home/emeraldl/public_html/wp-admin/includes/plugin.php on line 913
Warning: trim() expects parameter 1 to be string, object given in /home/emeraldl/public_html/wp-admin/includes/plugin.php on line 632
—
looking at the functions.php file lines 3897-3898, they read
function validate_file( $file, $allowed_files = ” ) {
if ( false !== strpos( $file, ‘..’ ) )
return 1;
see any issues there? I checked it matches the functioning sites functions.php file and they’re identical, so maybe not a real problem.Last error log at point of crash says:
[17-Jan-2016 21:45:37 UTC] PHP Warning: strpos() expects parameter 1 to be string, object given in /home/emeraldl/public_html/wp-includes/functions.php on line 3898
[17-Jan-2016 21:45:37 UTC] PHP Catchable fatal error: Object of class __PHP_Incomplete_Class could not be converted to string in /home/emeraldl/public_html/wp-content/plugins/jetpack/class.jetpack.php on line 1752Any clues, solutions or workarounds appreciated ??
Thanks
Darrell
- The topic ‘Site conflict with Jetpack – crashes site on activation’ is closed to new replies.