This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

rajakhoury
rajakhoury

Hi, I have been getting this error every time I try to login to my site's backend panel.

See image below

http://imgur.com/H06BuNh

Any idea why this is triggered ? I have a model for one of my plugins called Bus

Bus Model

class Bus extends Model
{
     public $table = 'satepedia_bus';

    ....
    public $belongsTo = [
      'SatInfo' => ['Satepedia\Satellites\Models\Satinfo',  'key' => 'bus_id',  'otherKey' => 'bus_id']
  ];
 }

Now, the weird thing is after this error is flashed If I refreseh the page or point to mydomain.com/backend/ , I can access the back-end normally. This happens whenever I sign-out and try to log-in again.

Last updated

jwilson8767
jwilson8767

Sounds like this plugin is failing to update. Check your updates/version.yaml and the migration creating that table for issues.

rajakhoury
rajakhoury

Thanks jwilson. Problem solved. I guess there was a syntax issue somewhere in my updates/version.yaml file

Last updated

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.