Back to Login Page Style Support

Plugin break after OctoberCMS update

Post a reply
4967 views
inetis
inetis

Hi After the last update of October 367

I got this error on the backend Call to a member function getPath() on string ****/public_html/vendor/october/rain/src/Database/Relations/AttachOne.php line 69

and the plugin is not working anymore on the login page

Thanks for the support

Last updated

gergo85
gergo85

Hi,

Please try to delete the cache of October and your browser.

inetis
inetis

Hi, same after october cache cleaning and browser.

inetis
inetis

any news on this ?

gergo85
gergo85

Have you tried the reinstall the plugin?

inetis
inetis

I removed it from the project and reinstall it. same problem

`` Call to a member function getPath() on string ***/public_html/vendor/october/rain/src/Database/Relations/AttachOne.php line 69 TYPE

Undefined

EXCEPTION

Symfony\Component\Debug\Exception\FatalErrorException

63 64 65 66 67 68 69 70 71 72 73 74

    $file = ($sessionKey = $this->parent->sessionKey)
        ? $this->withDeferred($sessionKey)->first()
        : $this->parent->{$this->relationName};

    if ($file) {
        $value = $file->getPath();
    }

    return $value;
}

} ``

gergo85
gergo85

Do you use the version 1.1.0 of plugin?

Where do you get this error message? On the back-end login page (/backend/auth/signin) or the settings page of plugin (/system/settings/update/indikator/login/style)?

inetis
inetis

On the backend setting page : /system/settings/update/indikator/login/style and I use the last version 1.1.0. I have also forced an update but I got the same error

/backend/auth/signin : show the regular OctoberCMS login page

gergo85
gergo85

Please delete the following row in database:

  • Table: system_settings
  • Where the value of "item" column is: indikator_login_style_settings

I hope it will be solved this problem.

inetis
inetis

Hi, thanks this fix the problem.

1-10 of 10

Reply to this discussion

You cannot edit posts or make replies: You should be logged in before you can post.