There is a problem with some pages when I turn on RankMath,

#672352
  • Resolved Anonymous
    Rank Math free

    Hallo, I don’t know what the problem is, but when I switch Rankmath on and off I get an error message.
    It could of course also be due to DIVI elegantthemes.com?
    I am writing to you first because when I turn off RakMath everything is fine no error message and DIVI is turned on automatically

    Errormessage:

    1. Website “KENN” (https://kenn-ug.com): Failed to reset cache for the instance #11: PHP Warning: require_once(/var/www/vhosts/kenn-ug.com/httpdocs/wp-content/themes//et-pagebuilder/et-pagebuilder.php): Failed to open stream: No such file or directory in /var/www/vhosts/kenn-ug.com/httpdocs/wp-content/themes/Divi/functions.php on line 8030
    Warning: require_once(/var/www/vhosts/kenn-ug.com/httpdocs/wp-content/themes//et-pagebuilder/et-pagebuilder.php): Failed to open stream: No such file or directory in /var/www/vhosts/kenn-ug.com/httpdocs/wp-content/themes/Divi/functions.php on line 8030
    PHP Fatal error: Uncaught Error: Failed opening required ‘/var/www/vhosts/kenn-ug.com/httpdocs/wp-content/themes//et-pagebuilder/et-pagebuilder.php’ (include_path=’.:/opt/plesk/php/8.2/share/pear’) in /var/www/vhosts/kenn-ug.com/httpdocs/wp-content/themes/Divi/functions.php:8030
    Stack trace:
    #0 /var/www/vhosts/kenn-ug.com/httpdocs/wp-settings.php(611): include()
    #1 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1356): require(‘…’)
    #2 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1274): WP_CLIRunner->load_wordpress()
    #3 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLIRunner->start()
    #4 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLIBootstrapLaunchRunner->process()
    #5 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLIbootstrap()
    #6 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/boot-fs.php(17): require_once(‘…’)
    #7 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wpt-wp-cli.php(31): require_once(‘…’)
    #8 {main}
    thrown in /var/www/vhosts/kenn-ug.com/httpdocs/wp-content/themes/Divi/functions.php on line 8030
    Fatal error: Uncaught Error: Failed opening required ‘/var/www/vhosts/kenn-ug.com/httpdocs/wp-content/themes//et-pagebuilder/et-pagebuilder.php’ (include_path=’.:/opt/plesk/php/8.2/share/pear’) in /var/www/vhosts/kenn-ug.com/httpdocs/wp-content/themes/Divi/functions.php:8030
    Stack trace:
    #0 /var/www/vhosts/kenn-ug.com/httpdocs/wp-settings.php(611): include()
    #1 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1356): require(‘…’)
    #2 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1274): WP_CLIRunner->load_wordpress()
    #3 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLIRunner->start()
    #4 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLIBootstrapLaunchRunner->process()
    #5 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLIbootstrap()
    #6 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/boot-fs.php(17): require_once(‘…’)
    #7 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wpt-wp-cli.php(31): require_once(‘…’)
    #8 {main}
    thrown in /var/www/vhosts/kenn-ug.com/httpdocs/wp-content/themes/Divi/functions.php on line 8030
    Error: Es gab einen kritischen Fehler auf deiner Website.Erfahre mehr über die Problembehandlung in WordPress. Es gab einen kritischen Fehler auf deiner Website.

Viewing 15 replies - 1 through 15 (of 18 total)
  • Hello,

    Thank you for your query and we are so sorry about the trouble this must have caused.

    The error logs you shared don’t seem to mention anything about Rank Math although it seems to have indicated that there’s a missing file.

    Can you please make sure that both your Rank Math plugins and Divi theme are in their latest versions?

    If they are in the latest version already, try reinstalling both Rank Math and Divi as well.

    Let us know how that goes. Looking forward to helping you.

    Anonymous
    Rank Math free

    Hello, I have reinstalled DIVI and RankMath the same problem. I always use the latest version, it is checked daily. It is also set to auto install.

    The error still exists, known error message!
    And RankMath switches the template off when I switch RankMath on again.

    Die Suche nach Updates wurde mit Fehlern durchgeführt:
    – Failed to reset cache for the instance #11: PHP Warning: require_once(/var/www/vhosts/kenn-ug.com/httpdocs/wp-content/themes//et-pagebuilder/et-pagebuilder.php): Failed to open stream: No such file or directory in /var/www/vhosts/kenn-ug.com/httpdocs/wp-content/themes/Divi/functions.php on line 8030
    Warning: require_once(/var/www/vhosts/kenn-ug.com/httpdocs/wp-content/themes//et-pagebuilder/et-pagebuilder.php): Failed to open stream: No such file or directory in /var/www/vhosts/kenn-ug.com/httpdocs/wp-content/themes/Divi/functions.php on line 8030
    PHP Fatal error: Uncaught Error: Failed opening required ‘/var/www/vhosts/kenn-ug.com/httpdocs/wp-content/themes//et-pagebuilder/et-pagebuilder.php’ (include_path=’.:/opt/plesk/php/8.2/share/pear’) in /var/www/vhosts/kenn-ug.com/httpdocs/wp-content/themes/Divi/functions.php:8030
    Stack trace:
    #0 /var/www/vhosts/kenn-ug.com/httpdocs/wp-settings.php(611): include()
    #1 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1356): require(‘…’)
    #2 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1274): WP_CLI\Runner->load_wordpress()
    #3 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()
    #4 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLI\Bootstrap\LaunchRunner->process()
    #5 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap()
    #6 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/boot-fs.php(17): require_once(‘…’)
    #7 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wpt-wp-cli.php(31): require_once(‘…’)
    #8 {main}
    thrown in /var/www/vhosts/kenn-ug.com/httpdocs/wp-content/themes/Divi/functions.php on line 8030
    Fatal error: Uncaught Error: Failed opening required ‘/var/www/vhosts/kenn-ug.com/httpdocs/wp-content/themes//et-pagebuilder/et-pagebuilder.php’ (include_path=’.:/opt/plesk/php/8.2/share/pear’) in /var/www/vhosts/kenn-ug.com/httpdocs/wp-content/themes/Divi/functions.php:8030
    Stack trace:
    #0 /var/www/vhosts/kenn-ug.com/httpdocs/wp-settings.php(611): include()
    #1 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1356): require(‘…’)
    #2 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1274): WP_CLI\Runner->load_wordpress()
    #3 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()
    #4 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLI\Bootstrap\LaunchRunner->process()
    #5 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/wp-cli.php(32): WP_CLI\bootstrap()
    #6 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/vendor/wp-cli/wp-cli/php/boot-fs.php(17): require_once(‘…’)
    #7 /opt/psa/admin/plib/modules/wp-toolkit/vendor/wp-cli/wpt-wp-cli.php(31): require_once(‘…’)
    #8 {main}
    thrown in /var/www/vhosts/kenn-ug.com/httpdocs/wp-content/themes/Divi/functions.php on line 8030
    Error: Es gab einen kritischen Fehler auf deiner Website.Erfahre mehr über die Problembehandlung in WordPress. Es gab einen kritischen Fehler auf deiner Website.

    Best Regards Kurt

    Anonymous
    Rank Math free

    I have also run the test with the other plugins. Only RankMath switches DIVI on/off

    Hello,

    In this case, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.

    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Anonymous
    Rank Math free

    I am facing the exact same issue. I have been getting the same error for the Kadence theme. I got tired of doing trial and error for the root cause of the problem as the error log does not say anything about Rankmath but it is Rankmath(Free plugin) that is creating the problem.
    I contacted Kadence Theme because the error log shows the theme functions.php file as a problem. I tried deactivating the RankMath plugin and I am no longer getting this error. Also, note that this error is only coming on PHP 8.2. I have another site running PHP 8.1 with RankMath which has no issues.
    It took me a week to find the root cause RankMath.

    Anonymous
    Rank Math free

    Exactly the same problem here. I get the same message regarding the requirement of et-pagebuilder.php for example when updating cache in wordpress toolkit.

    “Inspired” by this post I turned of RankMath and the error message disappears. Turning RankMath back on and the error shows up again. This happens for six different sites running DIVI and RankMath, sites with different themes on the same server and with RankMath running don’t show the problems.

    Interesting fact is the sites are running and rendering properly, everything looks and work the way it should be.

    WP Version 6.4.1
    DIVI Version 4.23.1
    RankMath Version 1.0.205
    Sites run on PHP 8.1.25

    System is dedicated Ubuntu 20.04.6 LTS server with Plesk Obsidian Version 18.0.56 Update #4

    Anonymous
    Rank Math free

    I used a Dev site with the current DIVI where RankMath was never installed. Once RankMath Free is installed and activated – even before taking any furthers steps in the setup process – the error accurs when e. g. checking for updates using WP_CLI/wordpress toolkit.

    So I guess this clearly proves the problem comes from the combination or the current version of DIVI and the current RankMath release.

    Anonymous
    Rank Math free

    I did a bunch of tests including rolling back RankMath to Version 1.0.121 and the problem this exists. So I guess what ever it is, it must have been come up with the latest DIVI version 4.23. where i also rolled back to.

    I currently can’t test with any earlier DIVI version … but perhaps this helps narrowing down the problem.

    Kindest regards from Germany!

    Armin

    P. S. Updating RankMath to the current beta does also not solve the problem

    Anonymous
    Rank Math free

    Can you send the functions.php line where the error occurs?
    In the Kadence theme, I am getting an error in the get_template_directory() function in the functions.php file. WordPress 6.4 recently made changes to the get_template_directory() function as mentioned below.
    https://developer.wordpress.org/reference/functions/get_template_directory/

    Do share your line in the functions.php where the error occurs.

    Anonymous
    Rank Math free

    Hi Sahaj,

    yeah, I checked the function.php already and realised some syntax differences in the line thats mentioned in the error message:

    function et_divi_activate_features(){
    	define( 'ET_SHORTCODES_VERSION', et_get_theme_version() );
    
    	/* activate shortcodes */
    	require_once( get_template_directory() . '/epanel/shortcodes/shortcodes.php' );
    }
    add_action( 'init', 'et_divi_activate_features' );
    
    require_once( get_template_directory() . '/et-pagebuilder/et-pagebuilder.php' );
    require_once get_template_directory() . '/includes/theme-builder.php';
    
    require_once( get_template_directory() . '/includes/block-editor-integration.php' );

    Hello everyone,

    Rank Math Support here. We apologize for the inconvenience this must have caused and we’d love to help troubleshoot and fix the issue but there’s little we can do without access to one of the affected sites to investigate.

    If you could please share temporary access to your website for us to fully understand the issue. If you’re concerned about the investigation affecting your live site users, you can use WP Staging to create a staging copy of your website in a few clicks.

    Please use the sensitive data section to share sensitive data like logins. Only the thread starter can use the sensitive data section, the others would have to create a new ticket with a link to this ticket and then share your temporal staging access in the sensitive data section.

    Thank you for your patience and cooperation. Looking forward to hearing back from you.

    Anonymous
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Anonymous
    Rank Math free

    HI,

    this issue is related to RANK MATH CORE VERSION, as it activated on WP6.4 and above it will have this issue, I have encountered first when I upgrade to wp6.4 and I already raise the ticket and given access, but support is yet to go inside and check what is the issue, as I have tons of website all having the same issue. and all with astra theme or hello theme has the same issue. the issue is gone when disable the plugin.

    SUPPORT KINDLY TAKE ACTION. as your plugin is in fact not compatible with WP.6.4

    here is my ticket link https://support.rankmath.com/ticket/error-on-wp_cli/

    or you can downgrade the WP back to 6.3 and everything is working fine with the new update or the php is 8.1

    Anonymous
    Rank Math free

    It looks like this issue is happening only on Plesk servers. The wp-toolkit on Plesk resets the cache of the website. Rankmath is somehow making problems in the operation of the wp-toolkit on Plesk servers. There is an update in WordPress 6.4 that seems to be incompatible with this combination of [RankMath, WordPress, and Plesk]. Maybe the recent update to the get_template_directory function in WordPress 6.4 causing this issue?

    Anonymous
    Rank Math free

    It is possible that could be the issue

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 15 replies - 1 through 15 (of 18 total)

The ticket ‘There is a problem with some pages when I turn on RankMath,’ is closed to new replies.