• Resolved novusstd

    (@novusstd)


    Hello,

    I have update your plugin, but not i have this error: Undefined offset: 1

    in Session.php line 42
    at Application->Laravel\Lumen\Concerns\{closure}(8, 'Undefined offset: 1', '/Users/my-site/wp-content/plugins/site-reviews/plugin/Modules/Session.php', 42, array('cookieId' => 'd0018af9357030f3e93d2f55a21acee3||1548093590||1548093230', 'cookie' => array('d0018af9357030f3e93d2f55a21acee3||1548093590||1548093230')))
    in Session.php line 42
    at Session->__construct()
    at ReflectionClass->newInstanceArgs(array())
    in Container.php line 159
    at Container->resolve('GeminiLabs\\SiteReviews\\Modules\\Session')
    in Container.php line 112
    at Container->make('GeminiLabs\\SiteReviews\\Modules\\Session')
    in Actions.php line 47
    at Actions->__construct(object(Application))
    at ReflectionClass->newInstanceArgs(array(object(Application)))
    in Container.php line 159
    at Container->resolve('GeminiLabs\\SiteReviews\\Actions')
    in Container.php line 112
    at Container->make('GeminiLabs\\SiteReviews\\Actions')
    in Container.php line 123
    at Container->singleton('GeminiLabs\\SiteReviews\\Actions', 'GeminiLabs\\SiteReviews\\Actions')
    in Provider.php line 23
    at Provider->register(object(Application))
    in site-reviews.php line 31
    at include_once('/Users/my-site/wp-content/plugins/site-reviews/site-reviews.php')
    in wp-settings.php line 322
    at require_once('/Users/my-site/wp-settings.php')
    in wp-config.php line 94
    at require_once('/Users/my-site/wp-config.php')
    in wp-load.php line 37
    at require_once('/Users/my-site/wp-load.php')
    in wp-blog-header.php line 13
    at require('/Users/my-site/wp-blog-header.php')
    in index.php line 17
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    @novusstd

    TLDR: Please clear your page cookies.

    The Site Reviews v3.1.7 update changed the structure of the $_SESSION cookie to fix problem with users who had modsecurity installed on their server. See this for more information.

    I can see from the error log output you pasted that the $_SESSION cookie on your site is the old format (using ‘||’ to separate the values instead of ‘__’). Generally the $_SESSION cookie is configured to timeout/regenerate after 30min of being created. However, it seems in your case the $_SESSION cookie was created just before the plugin was updated.

    I will release an update shortly to prevent this error from happening, but for now simply clear the page cookies and this problem will be fixed (or wait for v3.1.9).

    • This reply was modified 6 years, 2 months ago by Gemini Labs.
    • This reply was modified 6 years, 2 months ago by Gemini Labs.
    Plugin Author Gemini Labs

    (@geminilabs)

    Please update Site Reviews to the latest version (currently v3.1.10).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Undefined offset: 1’ is closed to new replies.