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
Undefined index: IPriceGroup\OcApiPlugin\Models\Resource" on line 242 of /var/www/yourdomain.com/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php
#23
Open
Tetraneon opened this issue
Mar 8, 2022
· 1 comment
I've got this error when trying to view ocapiplugin in october backend : Undefined index: IPriceGroup\OcApiPlugin\Models\Resource" on line 242 of /var/www/yourdomain.com/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php
The text was updated successfully, but these errors were encountered:
I solved this issue...
In /var/www/html/plugins/ipricegroup/ocapiplugin/models/Resource.php, invert the two following lines of code at the end of the script, like this :
Before :
protected static function boot()
{
self::observe(ResourceObserver::class);
parent::boot();
}
After :
protected static function boot()
{
parent::boot();
self::observe(ResourceObserver::class);
}
October 2.15
iPriceGroup/ocapiplugin 1.1.0
I've got this error when trying to view ocapiplugin in october backend :
Undefined index: IPriceGroup\OcApiPlugin\Models\Resource" on line 242 of /var/www/yourdomain.com/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php
The text was updated successfully, but these errors were encountered: