• Resolved igor4wp

    (@igor4wp)


    Dear community, hope you can help with the issue I’m facing

    The /admin.php?page=mlang_strings persistently shoots the error There has been a critical error on this website. Please check your site admin email inbox for instructions. (see more details below)

    I’ve re-installed Polylang but that didn’t fix the matter.

    Any workable solution is much appreciated.

    Thanks

    ***
    WordPress version 6.3.2
    Active theme: Blocksy Child (version )
    Current plugin: Polylang (version 3.5.1)
    PHP version 8.1.24

    Error Details
    =============
    An error of type E_ERROR was caused in line 275 of the file /home/ahrwcryk/public_html/wp-content/plugins/polylang/settings/table-string.php. Error message: Uncaught TypeError: stripos(): Argument #1 ($haystack) must be of type string, array given in /home/ahrwcryk/public_html/wp-content/plugins/polylang/settings/table-string.php:275
    Stack trace:
    #0 /home/ahrwcryk/public_html/wp-content/plugins/polylang/settings/table-string.php(275): stripos()
    #1 /home/ahrwcryk/public_html/wp-content/plugins/polylang/settings/settings.php(299): PLL_Table_String->prepare_items()
    #2 /home/ahrwcryk/public_html/wp-includes/class-wp-hook.php(310): PLL_Settings->languages_page()
    #3 /home/ahrwcryk/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
    #4 /home/ahrwcryk/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #5 /home/ahrwcryk/public_html/wp-admin/admin.php(259): do_action()
    #6 {main}
      thrown

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

Viewing 2 replies - 16 through 17 (of 17 total)
  • creativethemeshq

    (@creativethemeshq)

    Hi @choby

    Hm, I see…

    Then we’ll add also one more check for the wpml_register_single_string action, just in case.

    Thanks again for your insights!

    Thread Starter igor4wp

    (@igor4wp)

    @creativethemeshq, @chouby,

    Many thanks to all of you involved, the issue is solved with the new Blocksy release

    • This reply was modified 1 year ago by igor4wp.
Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘table-string.php. Error message: Uncaught TypeError: stripos()’ is closed to new replies.