Error on website once RANK MATH has been installed

#34996
  • Resolved Olya Obreikova
    Rank Math free

    Hello there!

    I have been looking around for a good plugin to use for SEO and I decided to use RANK MATH based on a lot of research.

    I installed it a few days ago and I noticed that as soon as I did errors started to popup on my admin dashboard.

    The first one that I saw is this one:

    Notice: Constant FS_METHOD already defined in /data/vhosts/********/web/wp-config.php on line 95

    I am using Flatsome theme and once I entered editing some of the widgets on my homepage I noticed that there I have a lot of errors, for example I will post the errors that I see when I edit a simple text field on my website:

    Notice: Constant FS_METHOD already defined in /data/vhosts/********/web/wp-config.php on line 95
    
    Notice: Trying to get property 'ID' of non-object in /data/vhosts/********/web/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-term-variables.php on line 122
    
    Notice: Trying to get property 'ID' of non-object in /data/vhosts/********/web/wp-content/plugins/seo-by-rank-math/includes/replace-variables/class-term-variables.php on line 135
    
    Notice: Trying to get property 'post_type' of non-object in /data/vhosts/********/web/wp-content/plugins/seo-by-rank-math/includes/admin/metabox/class-post-screen.php on line 219
    
    Notice: Trying to get property 'ID' of non-object in /data/vhosts/********/web/wp-content/plugins/seo-by-rank-math/includes/admin/metabox/class-post-screen.php on line 47
    
    Notice: Trying to get property 'ID' of non-object in /data/vhosts/********/web/wp-content/plugins/seo-by-rank-math/includes/admin/metabox/class-post-screen.php on line 47
    
    Notice: Trying to get property 'post_type' of non-object in /data/vhosts/********/web/wp-content/plugins/seo-by-rank-math/includes/admin/metabox/class-post-screen.php on line 157
    
    Notice: Trying to get property 'post_type' of non-object in /data/vhosts/********/web/wp-content/plugins/seo-by-rank-math/includes/admin/metabox/class-post-screen.php on line 158
    
    Notice: Trying to get property 'ID' of non-object in /data/vhosts/********/web/wp-content/plugins/seo-by-rank-math/includes/admin/metabox/class-post-screen.php on line 47

    Can you please help me on this issue? I don’t understand what I did wrong.

    When I installed it – I had YOAST Seo as an plugin (I think it was installed out of the box with WordPress) and I am thinking whether it is possible for both of these plugins to clash and create errors. Since it is a SEO plugin I am quite concerned whether these errors are bad for the website ranking..

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

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

    It is likely that this is related to a conflict with one of your installed plugins and some custom directives in your wp-config.php file.

    Could you please perform the steps outlined below to check for conflicts:
    https://rankmath.com/kb/check-plugin-conflicts/

    It would also help if you could share more info on the custom constants that you have defined on your wp-conflig.php so that we can advise further.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hey there, I am sorry for the late response. I installed the plugin and did the checks.

    The problem is linked with Rank Math since I did as follows:

    1. Activated Troubleshooting mode
    2. Activated the theme – no errors popped up
    3. Disabled the theme – no errors popped up
    4. Activated Rank Math – the above mentioned errors popped up

    In your previous comment you asked about information about the custom constraints that I have made in the wp-config.php – I have made none. I just installed WordPress + WooCommerce and haven’t played with the config file at all.

    Should DEBUGGING mode be disabled in order for me to use Rank Math?

    I would be really thankful if we can find a solution to these issues.

    Hello,

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP + FTP logins in the designated Sensitive Data section.
    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.

    Hey there, I will upload the information tomorrow. Can you please provide me with the IP from which you will enter our FTP server so that we can allow it from our side? The reason for this is that we are use private hosting and we don’t usually allow external entries.

    All the best!

    Todd
    Rank Math free

    Hi Olya,

    I am sorry but we do not have a static IP we can share with you.

    Most of us have dynamic IPs and the IP might change by the time someone from our team tries to access your website.

    However, I have shared this with the dev. team and you will receive a response soon about why the issue might be popping up.

    Thank you for your patience.

    No problem then. I will post them in a second then… Please tell me if you managed to fix the problem. 🙂

    Hello,

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

    Thank you.

    Hey there, can you please tell me when will it possible for you to check the settings? I need a date and time so that we can open the FTP access?

    Todd
    Rank Math free

    Hi Olya,

    Please drop an email with the FTP access any day between 8am IST to 11pm IST
    s******@r***********

    We are looking forward to helping you sort this once and for all.

    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 9 replies - 1 through 9 (of 9 total)

The ticket ‘Error on website once RANK MATH has been installed’ is closed to new replies.