• Resolved Kevin

    (@truheart)


    So long story short, I finally made the switch from Windows to Mac. I installed XAMPP on my new computer and have everything working. Now I am transferring local WP installs from my old computer and am finding errors such as this:

    Fatal error: require_once(): Failed opening required ‘/Applications/XAMPP/xamppfiles/htdocs/mysite/wp-content/plugins/google-analytics-for-wordpress/vendor/composer/autoload_real_52.php’ (include_path=’.:/Applications/XAMPP/xamppfiles/lib/php’) in /Applications/XAMPP/xamppfiles/htdocs/mysite/wp-content/plugins/google-analytics-for-wordpress/vendor/autoload_52.php on line 5

    Now this is working fine on the Windows setup and live site, so there is something going on here. I searched for the file in the terminal and it seems to be showing up where it’s supposed to. I also set read write permissions to htdocs for my username, but it is still happening. Any clue?

Viewing 6 replies - 1 through 6 (of 6 total)
  • This error appears to be for the Google Analytics for WordPress plugin. Try removing it.

    Thread Starter Kevin

    (@truheart)

    Thanks, but this was just an example. Once I disable the plugin another one gives a similar error message.

    Have you tried disabling all the plugins?

    Thread Starter Kevin

    (@truheart)

    Well it’s not really a problem with the plugins. There is something going on with the paths and where the files are on the Mac. The same error happens anytime there is an include or require, even with themes.

    Have you tried reinstalling WordPress?

    Thread Starter Kevin

    (@truheart)

    Hey Matthew thanks for trying to help. Turns out that something must have gotten corrupted during file transfer. I transferred the files over with Duplicator this time and everything is working,

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Switched to Mac, now XAMPP is giving me "fail to open stream"’ is closed to new replies.