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
Installing using mozart as recommended in the docs results in the following code which means that if there is a non-prefixed version somewhere in the software, the prefixed class doesn't get defined:
if ( ! class_exists( 'Gamajo_Template_Loader' ) ) {
class MyPrefix_Gamajo_Template_Loader {
Attempting to add a class that extends MyPrefix_Gamajo_Template_Loader on a software stack that already includes a non-prefixed version of Gamajo_Template_Loader results in :
Fatal error: Class 'MyPrefix_Gamajo_Template_Loader' not found in /src/TemplateLoader.php
If all non-prefix instances are removed then this code works as expected.
The text was updated successfully, but these errors were encountered:
Installing using mozart as recommended in the docs results in the following code which means that if there is a non-prefixed version somewhere in the software, the prefixed class doesn't get defined:
Attempting to add a class that extends
MyPrefix_Gamajo_Template_Loader
on a software stack that already includes a non-prefixed version of Gamajo_Template_Loader results in :Fatal error: Class 'MyPrefix_Gamajo_Template_Loader' not found in /src/TemplateLoader.php
If all non-prefix instances are removed then this code works as expected.
The text was updated successfully, but these errors were encountered: