Fatal Error on Plugin Activation (Local Hosting)
-
On my primary computer running LocalWP, this plugin causes a fatal error on activation. The source of the error is line 413 of class-set-up-automator.php.
if ( preg_match( $pattern, $file ) )
returns always false on one device, but returns true (correctly) on another computer running LocalWP. As a result, it can’t properly load the integration files and causes a fatal error.I cannot for the life of me figure out why this is, but it makes it impossible for me to use Uncanny Automator as my site is developed locally and then pushed to live.
This error occurs even on a blank installation where only Uncanny is installed. I’ve also tried adding the “windows compatibility fix” plugin, to no avail.
The only difference between the two devices (that I can see) is the file path has a parentheses in the name of one subfolder on the device that doesn’t work. E.g. /user/localwp (myname)/app/public/wp-content/plugins.
Update: I added parentheses to the site name of a test site on the working PC and it did cause the same fatal error, so the parentheses appears to be the culprit.
Any hope for a fix that would make the preg_match conditional work with all valid windows file paths? Unfortunately, I can’t easily change the file path on my local machine as I’d have to migrate 30+ development sites.
- The topic ‘Fatal Error on Plugin Activation (Local Hosting)’ is closed to new replies.