WebDevStudios / wd_f

GNU General Public License v2.0
11 stars 1 forks source link

Critical error if I don't run `composer install` #51

Open itsamoreh opened 1 year ago

itsamoreh commented 1 year ago

I get this critical error on a fresh install of wd_f. I have to run composer install to fix it. But this is not documented in the current setup instructions.

Warning: require_once(/var/www/html/wp-content/themes/wd_f/vendor/autoload.php): Failed to open stream: No such file or directory in /var/www/html/wp-content/themes/wd_f/docs/help-admin-pages.php on line 16 Fatal error: Uncaught Error: Failed opening required '/var/www/html/wp-content/themes/wd_f/vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /var/www/html/wp-content/themes/wd_f/docs/help-admin-pages.php:16 Stack trace: #0 /var/www/html/wp-content/themes/wd_f/functions.php(47): require() #1 /var/www/html/wp-settings.php(600): include('/var/www/html/w...') #2 /var/www/html/wp-config.php(255): require_once('/var/www/html/w...') #3 /var/www/html/wp-load.php(50): require_once('/var/www/html/w...') #4 /var/www/html/wp-admin/admin.php(34): require_once('/var/www/html/w...') #5 /var/www/html/wp-admin/themes.php(10): require_once('/var/www/html/w...') #6 {main} thrown in /var/www/html/wp-content/themes/wd_f/docs/help-admin-pages.php on line 16 Warning: Trying to access array offset on value of type bool in /var/www/html/wp-includes/class-wp-recovery-mode-email-service.php on line 367 Warning: Trying to access array offset on value of type bool in /var/www/html/wp-includes/class-wp-recovery-mode-email-service.php on line 368
There has been a critical error on this website. Please check your site admin email inbox for instructions.