RankMath causes 500 error for Elementor

#643172
  • Resolved Paun Marian Ionut
    Rank Math free

    After installing rankmath, a conflict was created with elementor, I can no longer save anything in elementor, I get error 500. Please support.
    Below you can find system info and error log.

    System Info

    
    ### rank-math ###
    
    version: 1.0.202
    database_version: 1
    plugin_plan: Free
    0: undefined
    1: undefined
    2: undefined
    active_modules: link-counter, analytics, seo-analysis, sitemap, rich-snippet, content-ai, instant-indexing, local-seo, role-manager
    refresh_token: Token exists
    permissions: 
    	Search Console: Given
    rank_math_404_logs: 32 KB
    rank_math_redirections: Not found
    rank_math_redirections_cache: Not found
    rank_math_internal_links: 64 KB
    rank_math_internal_meta: 16 KB
    rank_math_analytics_gsc: Not found
    rank_math_analytics_objects: Not found
    rank_math_analytics_inspections: Not found
    
    ### wp-core ###
    
    version: 6.3.1
    site_language: en_US
    user_language: en_US
    timezone: +00:00
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: open
    environment_type: production
    user_count: 1
    dotorg_communication: true
    
    ### wp-dropins (1) ###
    
    object-cache.php: true
    
    ### wp-active-theme ###
    
    name: Hostiko (Hostiko)
    version: 79.0.0
    author: the WordPress team
    author_website: https://designingmedia.com/
    parent_theme: none
    theme_features: core-block-patterns, widgets-block-editor, automatic-feed-links, title-tag, post-thumbnails, menus, html5, post-formats, custom-logo, customize-selective-refresh-widgets, editor-style, editor-styles, wp-block-styles, responsive-embeds, starter-content, custom-header, widgets
    theme_path: /home1/r108303pamh/public_html/wp-content/themes/Hostiko
    auto_update: Disabled
    
    ### wp-plugins-active (10) ###
    
    AKD-Framework: version: 2.0.6, author: AKD team, Auto-updates disabled
    Contact Form 7: version: 5.8.1, author: Takayuki Miyoshi, Auto-updates disabled
    Elementor: version: 3.16.4, author: Elementor.com, Auto-updates disabled
    ElementPress: version: 4.3.5, author: TeamDevBunch, Auto-updates disabled
    Hostiko Importer: version: 3.7.7, author: akd team, Auto-updates disabled
    LiteSpeed Cache: version: 5.6, author: LiteSpeed Technologies, Auto-updates enabled
    Rank Math SEO: version: 1.0.202, author: Rank Math (latest version: 1.0.203-beta), Auto-updates disabled
    Slider Revolution: version: 6.6.10, author: ThemePunch, Auto-updates disabled
    WHMCS Bridge: version: 6.9, author: globalprogramming, Auto-updates disabled
    WP Domain Checker: version: 5.1.2, author: Asdqwe Dev, Auto-updates disabled
    
    ### wp-server ###
    
    server_architecture: Linux 3.10.0-962.3.2.lve1.5.81.el7.x86_64 x86_64
    httpd_software: LiteSpeed
    php_version: 8.1.23 64bit
    php_sapi: litespeed
    max_input_variables: 10000
    time_limit: 90
    memory_limit: 512M
    max_input_time: 90
    upload_max_filesize: 32M
    php_post_max_size: 32M
    curl_version: 8.2.1 OpenSSL/1.1.1v
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    htaccess_extra_rules: true
    current: 2023-09-29T05:55:58+00:00
    utc-time: Friday, 29-Sep-23 05:55:58 UTC
    server-time: 2023-09-29T05:55:57+00:00
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 5.7.43-cll-lve
    client_version: mysqlnd 8.1.23
    max_allowed_packet: 268435456
    max_connections: 2000
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /home1/r108303pamh/public_html/wp-content
    WP_PLUGIN_DIR: /home1/r108303pamh/public_html/wp-content/plugins
    WP_MEMORY_LIMIT: 256M
    WP_MAX_MEMORY_LIMIT: 512M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: true
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: Undefined
    WP_DEVELOPMENT_MODE: undefined
    DB_CHARSET: utf8mb4
    DB_COLLATE: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    
    

    Error LOG

    [29-Sep-2023 05:38:10 UTC] PHP Warning: mkdir(): No such file or directory in /home1/r108303pamh/public_html/wp-content/plugins/elementpress/elementpress.php on line 314
    [29-Sep-2023 05:38:10 UTC] PHP Warning: mkdir(): No such file or directory in /home1/r108303pamh/public_html/wp-content/plugins/elementpress/elementpress.php on line 314
    [29-Sep-2023 05:38:10 UTC] PHP Warning: mkdir(): No such file or directory in /home1/r108303pamh/public_html/wp-content/plugins/elementpress/elementpress.php on line 314
    [29-Sep-2023 05:38:10 UTC] PHP Warning: mkdir(): No such file or directory in /home1/r108303pamh/public_html/wp-content/plugins/elementpress/elementpress.php on line 314
    [29-Sep-2023 05:38:10 UTC] PHP Warning: mkdir(): No such file or directory in /home1/r108303pamh/public_html/wp-content/plugins/elementpress/elementpress.php on line 314
    [29-Sep-2023 05:38:10 UTC] PHP Warning: mkdir(): No such file or directory in /home1/r108303pamh/public_html/wp-content/plugins/elementpress/elementpress.php on line 314
    [29-Sep-2023 05:38:10 UTC] PHP Warning: fopen(/home1/r108303pamh/public_html/wp-admin/wp-content/uploads/elementpress/post-b015518.css): Failed to open stream: No such file or directory in /home1/r108303pamh/public_html/wp-content/plugins/elementpress/elementpress.php on line 342
    [29-Sep-2023 05:38:10 UTC] PHP Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /home1/r108303pamh/public_html/wp-content/plugins/elementpress/elementpress.php:343
    Stack trace:
    #0 /home1/r108303pamh/public_html/wp-content/plugins/elementpress/elementpress.php(343): fwrite(false, ‘.animation-box:…’)
    #1 /home1/r108303pamh/public_html/wp-includes/class-wp-hook.php(310): ElementPress->{closure}(Object(Elementor\Element_Column))
    #2 /home1/r108303pamh/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array)
    #3 /home1/r108303pamh/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #4 /home1/r108303pamh/public_html/wp-content/plugins/elementor/includes/base/element-base.php(442): do_action(‘elementor/front…’, Object(Elementor\Element_Column))
    #5 /home1/r108303pamh/public_html/wp-content/plugins/elementor/includes/base/element-base.php(1375): Elementor\Element_Base->print_element()
    #6 /home1/r108303pamh/public_html/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Element_Base->print_content()
    #7 /home1/r108303pamh/public_html/wp-content/plugins/elementor/includes/base/element-base.php(1375): Elementor\Element_Base->print_element()
    #8 /home1/r108303pamh/public_html/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Element_Base->print_content()
    #9 /home1/r108303pamh/public_html/wp-content/plugins/elementor/includes/base/element-base.php(1375): Elementor\Element_Base->print_element()
    #10 /home1/r108303pamh/public_html/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Element_Base->print_content()
    #11 /home1/r108303pamh/public_html/wp-content/plugins/elementor/core/base/document.php(1739): Elementor\Element_Base->print_element()
    #12 /home1/r108303pamh/public_html/wp-content/plugins/elementor/core/base/document.php(1134): Elementor\Core\Base\Document->print_elements(Array)
    #13 /home1/r108303pamh/public_html/wp-content/plugins/elementor/includes/frontend.php(1179): Elementor\Core\Base\Document->print_elements_with_wrapper(Array)
    #14 /home1/r108303pamh/public_html/wp-content/plugins/elementor/includes/frontend.php(1074): Elementor\Frontend->get_builder_content(7373)
    #15 /home1/r108303pamh/public_html/wp-includes/class-wp-hook.php(310): Elementor\Frontend->apply_builder_in_content(‘<style>/*! elem…’)
    #16 /home1/r108303pamh/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘<style>/*! elem…’, Array)
    #17 /home1/r108303pamh/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/links/class-links.php(171): apply_filters(‘the_content’, ‘<style>/*! elem…’)
    #18 /home1/r108303pamh/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/links/class-links.php(59): RankMath\Links\Links->process(7373, ‘<style>/*! elem…’)
    #19 /home1/r108303pamh/public_html/wp-includes/class-wp-hook.php(312): RankMath\Links\Links->save_post(7373, Object(WP_Post))
    #20 /home1/r108303pamh/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
    #21 /home1/r108303pamh/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #22 /home1/r108303pamh/public_html/wp-includes/post.php(4751): do_action(‘save_post’, 7373, Object(WP_Post), true)
    #23 /home1/r108303pamh/public_html/wp-includes/post.php(4853): wp_insert_post(Array, false, true)
    #24 /home1/r108303pamh/public_html/wp-content/plugins/elementor/core/settings/page/manager.php(353): wp_update_post(Array)
    #25 /home1/r108303pamh/public_html/wp-content/plugins/elementor/core/settings/page/manager.php(122): Elementor\Core\Settings\Page\Manager->save_post_status(7373, ‘publish’)
    #26 /home1/r108303pamh/public_html/wp-content/plugins/elementor/core/base/document.php(1716): Elementor\Core\Settings\Page\Manager->ajax_before_save_settings(Array, 7373)
    #27 /home1/r108303pamh/public_html/wp-content/plugins/elementor/core/base/document.php(782): Elementor\Core\Base\Document->save_settings(Array)
    #28 /home1/r108303pamh/public_html/wp-content/plugins/elementor/core/documents-manager.php(545): Elementor\Core\Base\Document->save(Array)
    #29 [internal function]: Elementor\Core\Documents_Manager->ajax_save(Array, Object(Elementor\Core\Common\Modules\Ajax\Module))
    #30 /home1/r108303pamh/public_html/wp-content/plugins/elementor/core/common/modules/ajax/module.php(175): call_user_func(Array, Array, Object(Elementor\Core\Common\Modules\Ajax\Module))
    #31 /home1/r108303pamh/public_html/wp-includes/class-wp-hook.php(310): Elementor\Core\Common\Modules\Ajax\Module->handle_ajax_request(”)
    #32 /home1/r108303pamh/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array)
    #33 /home1/r108303pamh/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #34 /home1/r108303pamh/public_html/wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_element…’)
    #35 {main}
    thrown in /home1/r108303pamh/public_html/wp-content/plugins/elementpress/elementpress.php on line 343
    [29-Sep-2023 05:44:32 UTC] WordPress database error Table ‘r108303pamh_wp222.wpud_rank_math_analytics_objects’ doesn’t exist for query DELETE FROM wpud_rank_math_analytics_objects WHERE object_type = ‘post’ AND object_id = 8755 made by do_action(‘wp_ajax_elementor_ajax’), WP_Hook->do_action, WP_Hook->apply_filters, Elementor\Core\Common\Modules\Ajax\Module->handle_ajax_request, call_user_func, Elementor\Core\Documents_Manager->ajax_save, Elementor\Core\Base\Document->save, Elementor\Core\Base\Document->save_settings, Elementor\Core\Settings\Page\Manager->ajax_before_save_settings, Elementor\Core\Settings\Page\Manager->save_post_status, wp_update_post, wp_insert_post, do_action(‘post_updated’), WP_Hook->do_action, WP_Hook->apply_filters, wp_save_post_revision, _wp_put_post_revision, wp_insert_post, do_action(‘save_post’), WP_Hook->do_action, WP_Hook->apply_filters, RankMath\Analytics\Watcher->update_post_info, MyThemeShop\Database\Query_Builder->delete, MyThemeShop\Database\Query_Builder->query
    [29-Sep-2023 05:44:33 UTC] PHP Warning: mkdir(): No such file or directory in /home1/r108303pamh/public_html/wp-content/plugins/elementpress/elementpress.php on line 314
    [29-Sep-2023 05:44:33 UTC] PHP Warning: mkdir(): No such file or directory in /home1/r108303pamh/public_html/wp-content/plugins/elementpress/elementpress.php on line 314
    [29-Sep-2023 05:44:33 UTC] PHP Warning: mkdir(): No such file or directory in /home1/r108303pamh/public_html/wp-content/plugins/elementpress/elementpress.php on line 314
    [29-Sep-2023 05:44:33 UTC] PHP Warning: mkdir(): No such file or directory in /home1/r108303pamh/public_html/wp-content/plugins/elementpress/elementpress.php on line 314
    [29-Sep-2023 05:44:33 UTC] PHP Warning: mkdir(): No such file or directory in /home1/r108303pamh/public_html/wp-content/plugins/elementpress/elementpress.php on line 314
    [29-Sep-2023 05:44:33 UTC] PHP Warning: mkdir(): No such file or directory in /home1/r108303pamh/public_html/wp-content/plugins/elementpress/elementpress.php on line 314
    [29-Sep-2023 05:44:33 UTC] PHP Warning: mkdir(): No such file or directory in /home1/r108303pamh/public_html/wp-content/plugins/elementpress/elementpress.php on line 314
    [29-Sep-2023 05:44:33 UTC] PHP Warning: mkdir(): No such file or directory in /home1/r108303pamh/public_html/wp-content/plugins/elementpress/elementpress.php on line 314
    [29-Sep-2023 05:44:33 UTC] PHP Warning: mkdir(): No such file or directory in /home1/r108303pamh/public_html/wp-content/plugins/elementpress/elementpress.php on line 314
    [29-Sep-2023 05:44:33 UTC] PHP Warning: mkdir(): No such file or directory in /home1/r108303pamh/public_html/wp-content/plugins/elementpress/elementpress.php on line 314
    [29-Sep-2023 05:44:33 UTC] PHP Warning: mkdir(): No such file or directory in /home1/r108303pamh/public_html/wp-content/plugins/elementpress/elementpress.php on line 314
    [29-Sep-2023 05:44:33 UTC] PHP Warning: fopen(/home1/r108303pamh/public_html/wp-admin/wp-content/uploads/elementpress/post-2d09dbd.css): Failed to open stream: No such file or directory in /home1/r108303pamh/public_html/wp-content/plugins/elementpress/elementpress.php on line 342
    [29-Sep-2023 05:44:33 UTC] PHP Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, bool given in /home1/r108303pamh/public_html/wp-content/plugins/elementpress/elementpress.php:343
    Stack trace:
    #0 /home1/r108303pamh/public_html/wp-content/plugins/elementpress/elementpress.php(343): fwrite(false, ‘.month{\n fon…’)
    #1 /home1/r108303pamh/public_html/wp-includes/class-wp-hook.php(310): ElementPress->{closure}(Object(Elementor\Widget_Heading))
    #2 /home1/r108303pamh/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array)
    #3 /home1/r108303pamh/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #4 /home1/r108303pamh/public_html/wp-content/plugins/elementor/includes/base/element-base.php(442): do_action(‘elementor/front…’, Object(Elementor\Widget_Heading))
    #5 /home1/r108303pamh/public_html/wp-content/plugins/elementor/includes/base/element-base.php(1375): Elementor\Element_Base->print_element()
    #6 /home1/r108303pamh/public_html/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Element_Base->print_content()
    #7 /home1/r108303pamh/public_html/wp-content/plugins/elementor/includes/base/element-base.php(1375): Elementor\Element_Base->print_element()
    #8 /home1/r108303pamh/public_html/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Element_Base->print_content()
    #9 /home1/r108303pamh/public_html/wp-content/plugins/elementor/includes/base/element-base.php(1375): Elementor\Element_Base->print_element()
    #10 /home1/r108303pamh/public_html/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Element_Base->print_content()
    #11 /home1/r108303pamh/public_html/wp-content/plugins/elementor/includes/base/element-base.php(1375): Elementor\Element_Base->print_element()
    #12 /home1/r108303pamh/public_html/wp-content/plugins/elementor/includes/base/element-base.php(464): Elementor\Element_Base->print_content()
    #13 /home1/r108303pamh/public_html/wp-content/plugins/elementor/core/base/document.php(1739): Elementor\Element_Base->print_element()
    #14 /home1/r108303pamh/public_html/wp-content/plugins/elementor/core/base/document.php(1134): Elementor\Core\Base\Document->print_elements(Array)
    #15 /home1/r108303pamh/public_html/wp-content/plugins/elementor/includes/frontend.php(1179): Elementor\Core\Base\Document->print_elements_with_wrapper(Array)
    #16 /home1/r108303pamh/public_html/wp-content/plugins/elementor/includes/frontend.php(1074): Elementor\Frontend->get_builder_content(3672)
    #17 /home1/r108303pamh/public_html/wp-includes/class-wp-hook.php(310): Elementor\Frontend->apply_builder_in_content(‘<style>/*! elem…’)
    #18 /home1/r108303pamh/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘<style>/*! elem…’, Array)
    #19 /home1/r108303pamh/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/links/class-links.php(171): apply_filters(‘the_content’, ‘<style>/*! elem…’)
    #20 /home1/r108303pamh/public_html/wp-content/plugins/seo-by-rank-math/includes/modules/links/class-links.php(59): RankMath\Links\Links->process(3672, ‘<style>/*! elem…’)
    #21 /home1/r108303pamh/public_html/wp-includes/class-wp-hook.php(312): RankMath\Links\Links->save_post(3672, Object(WP_Post))
    #22 /home1/r108303pamh/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
    #23 /home1/r108303pamh/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #24 /home1/r108303pamh/public_html/wp-includes/post.php(4751): do_action(‘save_post’, 3672, Object(WP_Post), true)
    #25 /home1/r108303pamh/public_html/wp-includes/post.php(4853): wp_insert_post(Array, false, true)
    #26 /home1/r108303pamh/public_html/wp-content/plugins/elementor/core/settings/page/manager.php(353): wp_update_post(Array)
    #27 /home1/r108303pamh/public_html/wp-content/plugins/elementor/core/settings/page/manager.php(122): Elementor\Core\Settings\Page\Manager->save_post_status(3672, ‘publish’)
    #28 /home1/r108303pamh/public_html/wp-content/plugins/elementor/core/base/document.php(1716): Elementor\Core\Settings\Page\Manager->ajax_before_save_settings(Array, 3672)
    #29 /home1/r108303pamh/public_html/wp-content/plugins/elementor/core/base/document.php(782): Elementor\Core\Base\Document->save_settings(Array)
    #30 /home1/r108303pamh/public_html/wp-content/plugins/elementor/core/documents-manager.php(545): Elementor\Core\Base\Document->save(Array)
    #31 [internal function]: Elementor\Core\Documents_Manager->ajax_save(Array, Object(Elementor\Core\Common\Modules\Ajax\Module))
    #32 /home1/r108303pamh/public_html/wp-content/plugins/elementor/core/common/modules/ajax/module.php(175): call_user_func(Array, Array, Object(Elementor\Core\Common\Modules\Ajax\Module))
    #33 /home1/r108303pamh/public_html/wp-includes/class-wp-hook.php(310): Elementor\Core\Common\Modules\Ajax\Module->handle_ajax_request(”)
    #34 /home1/r108303pamh/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(”, Array)
    #35 /home1/r108303pamh/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #36 /home1/r108303pamh/public_html/wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_element…’)
    #37 {main}
    thrown in /home1/r108303pamh/public_html/wp-content/plugins/elementpress/elementpress.php on line 343

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

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.

    Can you please try to disable the Link Counter module of Rank Math and see if that works for you? We are asking this because we can see an error from the elementpress triggering the function of the Link Counter module.

    You can disable the Link Counter module from WordPress Dashboard > Rank Math > Dashboard > Modules.

    If it resolves the issue, then we suggest you to contact with that plugin support as the error is coming from their end. You can also confirm this by deactivating that plugin on your website.

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

    Thank you.

    It works, thanks!

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘RankMath causes 500 error for Elementor’ is closed to new replies.