Active AppMySite plugin error

Unable to update AMS_SAFE_MODE in wp-config. Unable to locate placement anchor.

Any suggestion?

2 Likes

I have this problem too… some update?

1 Like

Hi @dicky,

Thank you for bringing this to our attention. Our product team is actively working on resolving this issue as soon as possible. We apologize for the inconvenience caused. Thank you for your patience in the interim.

У меня тоже такая проблема. Решение не нашлось ?

Hi @fkuliu26,

Have you tried reaching out to any of the support channels for assistance?

Hello,

I also have the error today on WP engine env.
“Unable to update AMS_SAFE_MODE in wp-config. Unable to locate placement anchor.” ==> Can you solve this issue ?

Regards,

Hi @oncelade,

The activation of Safe Mode in WordPress depends on various WordPress settings, including the used theme, conflicting plugins, blocked WPAccess files, etc.

Please contact our support team immediately using this link.

Hey guys - I had the same issue, but when checking in my wp-config file, the anchor line: /* That’s all, stop editing! Happy blogging. */ wasn’t in the file. My hosting provider removes that line… anyway, add that line to the bottom of your wp-config and the plugin should be able to activate. Would also recommend to the plugin developer to use a different method for placing the needed line and not rely on having that default anchor line.

with altervista have the same problem but with ftp is impossible to go to root and find this file

Hi @dicky

To address this, you have two options:

Grant Write Permission:
Ensure that your wp-config file has the required write permission. If you are unsure how to do this, your hosting provider should be able to assist you.

Manual Addition:
Alternatively, you can manually add the following code snippet to your wp-config.php file before the line “That’s all, stop editing! Happy publishing.”:

define(‘AMS_LICENSE_KEY’, ‘XXXXX-XXXXX-XXXXX-XXXXX-XXXXX’);
define(‘AMS_LICENSE_STATUS’, ‘Unverified’);
define(‘AMS_SAFE_MODE’, ‘off’);

Remember to replace the "X"s in ‘AMS_LICENSE_KEY’ with your actual license key, which you can find in your account.

If you encounter any challenges or have further questions, feel free to raise a ticket via the link - https://app.appmysite.com/email-support/