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
I have a plugin named Aso.Demo. Inside it there is a plugin seeder named Demo. When I run this seeder with the command php artisan plugin:seed Aso.Demo Demo I get the error Class ".\Updates\Seeders\Demo" does not exist
When I investigated the reason, I saw that the code return dirname(get_class($classObj)); in the getPluginNamespace method in the PluginManager class caused the problem. The dirname('Aso\\Demo\\Plugin') function returns .
For this reason I get the error .\Updates\Seeders\Demo not found".
Additional Information
PHP 8.3 (php-fpm)
OctoberCMS 3.7.11
MacOS 15.3.1 and Ubuntu 22.04
The text was updated successfully, but these errors were encountered:
Have you tried it on your Windows operating system? The difference in behavior between Windows and other operating systems is stated in the PHP document below.
On Windows, both slash (/) and backslash (\) are used as directory separator character. In other environments, it is the forward slash (/).
Uh oh!
There was an error while loading. Please reload this page.
I have a plugin named Aso.Demo. Inside it there is a plugin seeder named Demo. When I run this seeder with the command
php artisan plugin:seed Aso.Demo Demo
I get the errorClass ".\Updates\Seeders\Demo" does not exist
When I investigated the reason, I saw that the code
return dirname(get_class($classObj));
in thegetPluginNamespace
method in thePluginManager
class caused the problem. Thedirname('Aso\\Demo\\Plugin')
function returns.
For this reason I get the error
.\Updates\Seeders\Demo
not found".Additional Information
PHP 8.3 (php-fpm)
OctoberCMS 3.7.11
MacOS 15.3.1 and Ubuntu 22.04
The text was updated successfully, but these errors were encountered: