• Resolved maritimme

    (@maritimme)


    Here is the error message that I get: Parse error: syntax error, unexpected identifier “_”, expecting “)” in /home/cincity/cincity.com.ua/www/wp-config.php on line 81

    I tried to increase WP memory limit using the plugin WP File Manager. I added one line in code in wp-config.php. The line that I added was: debug(‘WP_MEMORY_LIMIT’, ‘1024M’);

    Now I get an error message when I try to open my website or my WordPress.org account so I cannot edit the line through the plugin.

    I wanted to edit it from the hosting page in the File Manager but this line is not there.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • I assume you want to use this line to increase the memory limit that WordPress uses. Then you have written the line incorrectly. It would be correct:

    define('WP_MEMORY_LIMIT', '1024M');

    Also pay attention to the single quotation marks. They must be written as in my post here.

    Thread Starter maritimme

    (@maritimme)

    Thanks for your reply! Sorry, I did a mistake in my description, that is exactly what I wrote:

    define('WP_MEMORY_LIMIT', '1024M');

    The question is how I can now fix it or remove the line if I cannot open the WP editor and the line is absent in the File Manager on the hosting website.

    You would have to access the file system of your hosting. I assume you mean this “file manager” that your host provides. Alternatively, you can probably also access it via FTP. It is therefore best to contact your hoster’s support team to clarify this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.