Class ‘Cyr_To_Lat\Main’ not found when loading in external php file
-
Hello,
I am loading WordPress in an external PHP file (will be run via CLI). WordPress loading:
require_once("../../../wp-load.php");
When the external file is run it returns the following error:
PHP Fatal error: Uncaught Error: Class 'Cyr_To_Lat\Main' not found in /pathtowp/wp-content/plugins/cyr2lat/cyr-to-lat.php:88
When the plugin is deactivated WordPress loads fine without any errors. Any possible solutions? If need any clarification, please ask!
Version 5.0.0
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Class ‘Cyr_To_Lat\Main’ not found when loading in external php file’ is closed to new replies.