Composer conflict?
-
Hi There!
I am experiencing a major problem to get your plugin to work.
I just introduced composer to my current wordpress installation as a base, meaning that I load/install all plugins via composer.json. Before that, it was a default installation, so all plugins were just installed manually.Now I get some errors and I guess it is some kind of conflict with the autoloading function of composer? But that’s just a guess.
PHP Fatal error: Uncaught Error: Class 'Carbon\Carbon' not found in {...}\wp-content\plugins\google-calendar-events\includes\functions\shared.php:230
I load your plugin via:
"wpackagist-plugin/google-calendar-events": "3.1.9",
and wpackagist is defined as:
"repositories":[ { "type":"composer", "url":"https://wpackagist.org" } ]
and I also have a custom namespace loaded via:
"autoload": { "psr-4": { "sample\\": "wp-content/themes/sample-theme/_includes/" } }
( I removed the actual names and path ).
Couldn’t find any related thread to this.
Thank you in advance!
Cheers,
Sahin
- The topic ‘Composer conflict?’ is closed to new replies.