bshiluk / vue-wordpress

Use Vue.js and the WP REST API to build WordPress themes as SPAs with dynamic routing, HMR for development, SEO enabled, and SSR capable. Demo:
http://vue-wordpress-demo.bshiluk.com
491 stars 112 forks source link

Initialize project #22

Open Asgen opened 4 years ago

Asgen commented 4 years ago

Hi all! I'm totaly newbie here. I'm trying to deploy this theme on local machine. After pressing "activate" on rest-api-data-localizer plugin in WP dashboard - an error appears Fatal error: require(): Failed opening required '/Users/admin/Projects/mamp/zzz/wp-content/plugins/rest-api-data-localizer/store/key/callback.php' (include_path='.:/Applications/MAMP/bin/php/php7.1.32/lib/php') in /Users/admin/Projects/mamp/zzz/wp-content/plugins/rest-api-data-localizer-master/radl.php on line 62 The destination in the error is correct and there is callback.php file in /Users/admin/Projects/mamp/zzz/wp-content/plugins/rest-api-data-localizer/store/key folder. Runing this on mamp with php 7,1. Any help is appreciated.

omaratta2 commented 4 years ago

I had the same issue, the solution is actually kinda a bummer, see when you look closely you will find that the requested path is /Users/admin/Projects/mamp/zzz/wp-content/plugins/rest-api-data-localizer/store/key/callback.php While the actual folder containing the plugin is called rest-api-data-localizer-master just remove 'master' from the folder name :)

Asgen commented 4 years ago

I had the same issue, the solution is actually kinda a bummer, see when you look closely you will find that the requested path is /Users/admin/Projects/mamp/zzz/wp-content/plugins/rest-api-data-localizer/store/key/callback.php While the actual folder containing the plugin is called rest-api-data-localizer-master just remove 'master' from the folder name :)

Thanks for your answer - it did the trick. There is another issue: When I'm going to any internal page - I got an error https://prnt.sc/slb0fr If after that I reload page - it shows ok. So it kinda preloader issue? Also it only happens if I'm not logged in.