Closed StefKors closed 3 years ago
based on this stackoverflow answer https://laracasts.com/discuss/channels/laravel/psr-4-error-with-composer-2
The following change silenced the error:
diff --git a/src/records/CalendarizeRecord.php b/src/records/CalendarizeRecord.php
index 85cce2e..4ea9f49 100644
--- a/src/records/CalendarizeRecord.php
+++ b/src/records/CalendarizeRecord.php
@@ -8,7 +8,7 @@
* @copyright Copyright (c) 2018 Franco Valdes
*/
-namespace unionco\calendarize\records;
+namespace \unionco\calendarize\records;
use craft\db\ActiveRecord;
use craft\records\Element;
Sadly it doesn't solve my underlying craft error yet. 🤷♂️
Error
Class 'unionco\calendarize\records\CalendarizeRecord' not found
Just saw the latest commit, I'll be updating to that version to see if it solves my issue (https://github.com/unionco/calendarize/commit/0c6acc37cdcc5ae3f0493d31c2c527b918f66965)
alright updating to 1.2.18 solved it
I'm not super familiar with Craft CMS and Calendarize. When running
composer install
calendarize I get the following error:Anything I can do to resolve the problem?