
Solution -
Login to Wordpress website hosting cPanel
/home/username/public_html/wp-config.php
You will find the below code in the wp-config.php file
These lines had been added to wp-config file:
/** Absolute path to the WordPress directory. */
if ( !defined(‘ABSPATH’) )
define(‘ABSPATH’, dirname(__FILE__) . ‘/’);
/** Sets up WordPress vars and included files. */
require_once(ABSPATH . ‘wp-settings.php’);
//Disable File Edits
define(‘DISALLOW_FILE_EDIT’, True);
Below you will find one line.
define(‘DISALLOW_FILE_EDIT’, True);
It will be True change to false.
define(‘DISALLOW_FILE_EDIT’, false);
Advertisement