• Resolved Fred Rocha

    (@johnfisherman)


    Hey guys,

    I have both Otter and Otter Pro installed on lusithanddevices.com. The website started crashing and showing the “Your WordPress website has a critical error” (or similar message).

    Here’s my log:

    [14-Jun-2023 13:33:53 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/fredroch/lusithanddevicescom/wp-content/plugins/otter-pro/inc/plugins/class-patterns.php:94
    Stack trace: 0 /home/fredroch/lusithanddevicescom/wp-includes/class-wp-hook.php(308): ThemeIsle\OtterPro\Plugins\Patterns->register_patterns() 1 /home/fredroch/lusithanddevicescom/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() 2 /home/fredroch/lusithanddevicescom/wp-includes/plugin.php(517): WP_Hook->do_action() 3 /home/fredroch/lusithanddevicescom/wp-settings.php(623): do_action() 4 /home/fredroch/lusithanddevicescom/wp-config.php(100): require_once('/home/fredroch/…') 5 /home/fredroch/lusithanddevicescom/wp-load.php(50): require_once('/home/fredroch/…') 6 /home/fredroch/lusithanddevicescom/wp-blog-header.php(13): require_once('/home/fredroch/…') 7 /home/fredroch/lusithanddevicescom/index.php(17): require('/home/fredroch/…') 8 {main} thrown in /home/fredroch/lusithanddevicescom/wp-content/plugins/otter-pro/inc/plugins/class-patterns.php on line 94
    [14-Jun-2023 13:33:53 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/fredroch/lusithanddevicescom/wp-content/plugins/otter-pro/inc/plugins/class-patterns.php:94
    Stack trace: 0 /home/fredroch/lusithanddevicescom/wp-includes/class-wp-hook.php(308): ThemeIsle\OtterPro\Plugins\Patterns->register_patterns() 1 /home/fredroch/lusithanddevicescom/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() 2 /home/fredroch/lusithanddevicescom/wp-includes/plugin.php(517): WP_Hook->do_action() 3 /home/fredroch/lusithanddevicescom/wp-settings.php(623): do_action() 4 /home/fredroch/lusithanddevicescom/wp-config.php(100): require_once('/home/fredroch/…') 5 /home/fredroch/lusithanddevicescom/wp-load.php(50): require_once('/home/fredroch/…') 6 /home/fredroch/lusithanddevicescom/wp-blog-header.php(13): require_once('/home/fredroch/…') 7 /home/fredroch/lusithanddevicescom/index.php(17): require('/home/fredroch/…') 8 {main} thrown in /home/fredroch/lusithanddevicescom/wp-content/plugins/otter-pro/inc/plugins/class-patterns.php on line 94
    [14-Jun-2023 13:33:54 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/fredroch/lusithanddevicescom/wp-content/plugins/otter-pro/inc/plugins/class-patterns.php:94
    Stack trace: 0 /home/fredroch/lusithanddevicescom/wp-includes/class-wp-hook.php(308): ThemeIsle\OtterPro\Plugins\Patterns->register_patterns() 1 /home/fredroch/lusithanddevicescom/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() 2 /home/fredroch/lusithanddevicescom/wp-includes/plugin.php(517): WP_Hook->do_action() 3 /home/fredroch/lusithanddevicescom/wp-settings.php(623): do_action() 4 /home/fredroch/lusithanddevicescom/wp-config.php(100): require_once('/home/fredroch/…') 5 /home/fredroch/lusithanddevicescom/wp-load.php(50): require_once('/home/fredroch/…') 6 /home/fredroch/lusithanddevicescom/wp-blog-header.php(13): require_once('/home/fredroch/…') 7 /home/fredroch/lusithanddevicescom/index.php(17): require('/home/fredroch/…') 8 {main} thrown in /home/fredroch/lusithanddevicescom/wp-content/plugins/otter-pro/inc/plugins/class-patterns.php on line 94
    [14-Jun-2023 13:34:05 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/fredroch/lusithanddevicescom/wp-content/plugins/otter-pro/inc/plugins/class-patterns.php:94
    Stack trace: 0 /home/fredroch/lusithanddevicescom/wp-includes/class-wp-hook.php(308): ThemeIsle\OtterPro\Plugins\Patterns->register_patterns() 1 /home/fredroch/lusithanddevicescom/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() 2 /home/fredroch/lusithanddevicescom/wp-includes/plugin.php(517): WP_Hook->do_action() 3 /home/fredroch/lusithanddevicescom/wp-settings.php(623): do_action() 4 /home/fredroch/lusithanddevicescom/wp-config.php(100): require_once('/home/fredroch/…') 5 /home/fredroch/lusithanddevicescom/wp-load.php(50): require_once('/home/fredroch/…') 6 /home/fredroch/lusithanddevicescom/wp-blog-header.php(13): require_once('/home/fredroch/…') 7 /home/fredroch/lusithanddevicescom/index.php(17): require('/home/fredroch/…') 8 {main} thrown in /home/fredroch/lusithanddevicescom/wp-content/plugins/otter-pro/inc/plugins/class-patterns.php on line 94
    [14-Jun-2023 13:34:11 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /home/fredroch/lusithanddevicescom/wp-content/plugins/otter-pro/inc/plugins/class-patterns.php:94
    Stack trace: 0 /home/fredroch/lusithanddevicescom/wp-includes/class-wp-hook.php(308): ThemeIsle\OtterPro\Plugins\Patterns->register_patterns() 1 /home/fredroch/lusithanddevicescom/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() 2 /home/fredroch/lusithanddevicescom/wp-includes/plugin.php(517): WP_Hook->do_action() 3 /home/fredroch/lusithanddevicescom/wp-settings.php(623): do_action() 4 /home/fredroch/lusithanddevicescom/wp-config.php(100): require_once('/home/fredroch/…') 5 /home/fredroch/lusithanddevicescom/wp-load.php(50): require_once('/home/fredroch/…') 6 /home/fredroch/lusithanddevicescom/wp-blog-header.php(13): require_once('/home/fredroch/…') 7 /home/fredroch/lusithanddevicescom/index.php(17): require('/home/fredroch/…') 8 {main} thrown in /home/fredroch/lusithanddevicescom/wp-content/plugins/otter-pro/inc/plugins/class-patterns.php on line 94

    I deactivated the plugins for now, but my home page uses them, so.

    Consider maybe catching that error before the whole WP install goes down in the future.

    Let me know if this can be fixed.

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Hardeep Asrani

    (@hardeepasrani)

    Hey @johnfisherman,

    You can install Transients Manager plugin in your WordPress, visit its settings and search for ‘otter_pro_patterns.’

    Once you find that, you can delete that transient and it should start working.

    We sync our Pro patterns from an API and AWS went down yesterday unexpectedly, so that’s why the sync didn’t go well.

    We will release a fix soon to make sure this doesn’t happen again in future.

    Let me know if this works!

    Thread Starter Fred Rocha

    (@johnfisherman)

    Hi Hardeep!

    Thanks for getting back to me this quick.

    I followed your instructions and it’s all sorted now.

    I’m also glad you guys took the necessary steps to ensure this doesn’t provoke full-on crashes on sites running Otter Pro in the future. It’s reassuring (I don’t take my laptop to the beach, so).

    Have a good one!

    Plugin Author Hardeep Asrani

    (@hardeepasrani)

    Hey @johnfisherman,

    Glad to be of help. We sync our API once every two weeks (which is different for each site), and it takes some incredible odds to be one of the websites that decided to ping API during the 10-15 minutes of the week when AWS was down.

    Rest assured, it won’t happen again. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Otter Pro is crashing with “Uncaught TypeError”’ is closed to new replies.