Fatal PHP error on latest version of core plugin 4.3.6

This topic has 2 replies, 2 voices, and was last updated 1 years, 5 months ago ago by Tony Rodriguez

  • Avatar: Amir
    Amir
    Participant
    November 5, 2022 at 15:21

    Hi, after updating to latest version, I got the following fatal PHP error:

    PHP Fatal error: Uncaught TypeError: strpos(): Argument #1 ($haystack) must be of type string, array given in /var/www/html/wp-content/plugins/et-core-plugin/app/controllers/general.php:93
    Stack trace:
    #0 /var/www/html/wp-content/plugins/et-core-plugin/app/controllers/general.php(93): strpos()
    #1 /var/www/html/wp-includes/class-wp-hook.php(307): ETC\App\Controllers\General->disable_embeds_rewrites()
    #2 /var/www/html/wp-includes/plugin.php(191): WP_Hook->apply_filters()
    #3 /var/www/html/wp-includes/class-wp-rewrite.php(1467): apply_filters()
    #4 /var/www/html/wp-includes/class-wp-rewrite.php(1488): WP_Rewrite->rewrite_rules()
    #5 /var/www/html/wp-includes/class-wp-rewrite.php(1859): WP_Rewrite->wp_rewrite_rules()
    #6 /var/www/html/wp-includes/class-wp-hook.php(307): WP_Rewrite->flush_rules()
    #7 /var/www/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #8 /var/www/html/wp-includes/plugin.php(476): WP_Hook->do_action()
    #9 /var/www/html/wp-settings.php(620): do_action()
    #10 /var/www/html/wp-config.php(124): require_once('...')
    #11 /var/www/html/wp-load.php(50): require_once('...')
    #12 /var/www/html/wp-blog-header.php(13): require_once('...')
    #13 /var/www/html/index.php(17): require('...')
    #14 {main}
    thrown in /var/www/html/wp-content/plugins/et-core-plugin/app/controllers/general.php on line 93
    

    Please advise.
    Thanks

    1 Answer
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    November 6, 2022 at 06:06

    Hello, @Amir,

    Are you using the Child Theme on your site? and have you customized the Child Theme? If yes then please try to activate the Parent Theme and check back.

    OR

    Please delete the Core plugin and try to Install it again.

    OR

    Please try to disable all the third-party plugins (including cache plugins), that does not come bundled with XStore https://xstore.helpscoutdocs.com/article/36-included-plugins , clear the cache of the browser, and check then. Maybe one of the additional plugins is the reason for the problem.

    And if the issue will still persist then please remain all the third-party plugins deactivated on your site and provide me the login access to your site in the below-listed format in the private content area and allow permission to debug your site which includes deactivating all the third-party plugins and on-site Customization as well so that I will check and assist you accordingly.

    WP Admin URL:
    WP Admin Username:
    WP Admin Password:

    Note: Please take the complete backup of your site first.

    Regards 8Themes Team.

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.