Error on activation

#167019
  • Resolved Alex Walker
    Rank Math free

    When I activate the Rank Math plugin after installing, the following error is displayed: Notice: Trying to get property ‘modules’ of non-object in /home/thehampe/public_html/giftahamper.co.uk/wp-content/plugins/seo-by-rank-math/includes/class-helper.php on line 200

    I have attempted to troubleshoot using the Site Health plugin. The error occurs even when ALL other plugins are deactivated and Rank Math is the only plugin active.

    
    ### wp-core ###
    
    version: 5.7
    site_language: en_GB
    user_language: en_GB
    permalink: /hampers/%postname%/
    https_status: false
    user_registration: 0
    default_comment_status: open
    multisite: false
    user_count: 2
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /home/thehampe/public_html/giftahamper.co.uk
    wordpress_size: 43.67 MB (45786945 bytes)
    uploads_path: /home/thehampe/public_html/giftahamper.co.uk/wp-content/uploads
    uploads_size: 24.80 MB (26001205 bytes)
    themes_path: /home/thehampe/public_html/giftahamper.co.uk/wp-content/themes
    themes_size: 6.44 MB (6754604 bytes)
    plugins_path: /home/thehampe/public_html/giftahamper.co.uk/wp-content/plugins
    plugins_size: 38.08 MB (39932250 bytes)
    database_size: 1.69 MB (1768757 bytes)
    total_size: 114.67 MB (120243761 bytes)
    
    ### wp-dropins (1) ###
    
    advanced-cache.php: true
    
    ### wp-active-theme ###
    
    name: Twenty Twenty-One (twentytwentyone)
    version: 1.2
    author: the WordPress team
    author_website: https://en-gb.wordpress.org/
    parent_theme: none
    theme_features: core-block-patterns, automatic-feed-links, title-tag, post-formats, post-thumbnails, menus, html5, custom-logo, customize-selective-refresh-widgets, wp-block-styles, align-wide, editor-styles, editor-style, editor-font-sizes, custom-background, editor-color-palette, editor-gradient-presets, responsive-embeds, custom-line-height, experimental-link-color, custom-spacing, custom-units, widgets
    theme_path: /home/thehampe/public_html/giftahamper.co.uk/wp-content/themes/twentytwentyone
    
    ### wp-mu-plugins (1) ###
    
    Health Check Troubleshooting Mode: author: (undefined), version: 1.7.2
    
    ### wp-plugins-active (12) ###
    
    Broken Link Checker: version: 1.11.15, author: WPMU DEV
    Disable Comments RB: version: 1.0.11, author: rbPlugins
    Display Posts: version: 3.0.2, author: Bill Erickson
    Enable Media Replace: version: 3.5.0, author: ShortPixel
    Featured Image Admin Thumb: version: 1.5.3, author: Sean Hayes
    GA Google Analytics: version: 20210211, author: Jeff Starr
    Health Check & Troubleshooting: version: 1.4.5, author: The WordPress.org community
    Temporary Login Without Password: version: 1.6.9, author: StoreApps
    W3 Total Cache: version: 2.1.1, author: BoldGrid
    Wordfence Login Security: version: 1.0.6, author: Wordfence
    WP All Export: version: 1.2.7, author: Soflyy
    WP All Import Pro: version: 4.6.5, author: Soflyy
    
    ### wp-plugins-inactive (1) ###
    
    Rank Math SEO: version: 1.0.59.1, author: Rank Math
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_GD
    imagick_module_version: Not available
    imagemagick_version: Not available
    gd_version: bundled (2.1.0 compatible)
    ghostscript_version: 9.25
    
    ### wp-server ###
    
    server_architecture: Linux 3.10.0-962.3.2.lve1.5.42.el7.x86_64 x86_64
    httpd_software: Apache
    php_version: 7.3.27 64bit
    php_sapi: cgi-fcgi
    max_input_variables: 1000
    time_limit: 0
    memory_limit: 256M
    max_input_time: 60
    upload_max_size: 64M
    php_post_max_size: 8M
    curl_version: 7.74.0 OpenSSL/1.1.1i
    suhosin: false
    imagick_availability: false
    server-headers: 
    	date: Tue, 16 Mar 2021 08:35:02 GMT
    	server: Apache
    	x-powered-by: PHP/7.3.27
    	expires: Wed, 11 Jan 1984 05:00:00 GMT
    	cache-control: no-cache, must-revalidate, max-age=0
    	link: <http://www.giftahamper.co.uk/wp-json/>; rel="https://api.w.org/", <http://www.giftahamper.co.uk/wp-json/wp/v2/pages/10>; rel="alternate"; type="application/json", <http://www.giftahamper.co.uk/>; rel=shortlink
    	upgrade: h2,h2c
    	vary: Accept-Encoding
    	content-encoding: gzip
    	referrer-policy: no-referrer-when-downgrade
    	content-length: 8039
    	content-type: text/html; charset=UTF-8
    htaccess_extra_rules: true
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 10.2.37-MariaDB
    client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /home/thehampe/public_html/giftahamper.co.uk/wp-content
    WP_PLUGIN_DIR: /home/thehampe/public_html/giftahamper.co.uk/wp-content/plugins
    WP_MAX_MEMORY_LIMIT: 256M
    WP_DEBUG: true
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: true
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_LOCAL_DEV: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable
    
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

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

    I have set up Rank Math after activating it and now it doesn’t throw an error. Please check and run the setup wizard again to set it according to your site.

    Let us know if the issue persists.

    We really look forward to helping you.

    Thank you! Just out of interest, what was the problem?

    Prabhat
    Rank Math agency

    Hello,

    Thanks for your reply and we’re glad that the issue is now sorted.

    The most common reasons for issues like this are:
    -> Plugin-Theme conflicts
    -> PHP versions & memory limit issues

    If the setup was not installed properly, then Re-installing the plugin also solves the issue.

    Hope this helps and if you have any further queries, please feel free to create a new forum topic, and it will be our pleasure to assist you.

    Thanks.

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

You must be logged in to reply to this ticket.