You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This request isn't a duplicate of an existing issue
I've read the docs and followed them (if applicable)
This is not a personal support request that should be posted on the Roots Discourse community
Description
After developing Sage 10 project locally I deployed it on a server. Unfortunately this is shared hosting (for reasons beyond my control), so I know many restrictions apply.
The theme errors with an exception in vendor/roots/acorn/src/Acorn/Concerns/Application.php on line 749. Full error message is: Uncaught RuntimeException: Unable to detect application namespace
My access to logs is sadly restricted, so I can't say for sure what's causing this, but it happens sometimes with Laravel applications. Modifying vendor/roots/acorn/src/Acorn/Concerns/Application.php seems to resolve the issue by assigning a value to the $appPath variable on line 47 as per this thread on StackOverflow:
protected $appPath = __DIR__;
Steps to reproduce
Deploy theme on server
Activate theme
WordPress sends a fatal error email
Expected behavior:
The theme should load successfully.
Actual behavior:
It throws a fatal error.
Reproduces how often: Not sure.
Versions
Latest version of Acorn, v1.0.6.
PHP 7.3.15 (fastcgi) on a shared Apache server.
The text was updated successfully, but these errors were encountered:
Description
After developing Sage 10 project locally I deployed it on a server. Unfortunately this is shared hosting (for reasons beyond my control), so I know many restrictions apply.
The theme errors with an exception in
vendor/roots/acorn/src/Acorn/Concerns/Application.php
on line 749. Full error message is: Uncaught RuntimeException: Unable to detect application namespaceMy access to logs is sadly restricted, so I can't say for sure what's causing this, but it happens sometimes with Laravel applications. Modifying
vendor/roots/acorn/src/Acorn/Concerns/Application.php
seems to resolve the issue by assigning a value to the$appPath
variable on line 47 as per this thread on StackOverflow:Steps to reproduce
Expected behavior:
The theme should load successfully.
Actual behavior:
It throws a fatal error.
Reproduces how often: Not sure.
Versions
Latest version of Acorn, v1.0.6.
PHP 7.3.15 (fastcgi) on a shared Apache server.
The text was updated successfully, but these errors were encountered: