The system found a new WordPress site but could not make it manageable


Feb 13, 2020
cPanel Access Level
Website Owner
I migrated a website to a new cpanel hosting manually (thru SFTP). When I go to WordPress Manager and try "Discover Sites" I got this error:

"The system found a new WordPress site, “/home/$mywebsite/public_html/wp-config.php”, but could not make it manageable because of the following error: (XID fbvbth) The system failed to parse the JSON stream data “Usage: php [options] [-f] [--] [args...] php [options] -r [--] [args...] php [options] [-B ] -R [-E ] [--] [args...] php [options] [-B ] -F [-E ] [--] [args...] php [options] -S : [-t docroot] php [options] -- [args...] php [options] -a -a Run interactively -c | Look for php.ini file in this directory -n No php.ini file will be used -d foo[=bar] Define INI entry foo with value 'bar' -e Generate extended information for debugger/profiler -f Parse and execute . -h This help -i PHP information -l Syntax check only (lint) -m Show compiled in modules -r Run PHP without using script tags -B Run PHP before processing input lines -R Run PHP for every input line -F Pars” for the caller “Cpanel::WordPress::YamlBuilder::build” because of an error: malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "Usage: php [options]...") at /usr/local/cpanel/Cpanel/ line 123."

Here's my wp-config file:

 * The base configuration for WordPress
 * The wp-config.php creation script uses this file during the
 * installation. You don't have to use the web site, you can
 * copy this file to "wp-config.php" and fill in the values.
 * This file contains the following configurations:
 * * MySQL settings
 * * Secret keys
 * * Database table prefix
 * @link
 * @package WordPress

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', '$$$' );

/** MySQL database username */
define( 'DB_USER', '$$$' );

/** MySQL database password */
define( 'DB_PASSWORD', '$$$' );

/** MySQL hostname */
define( 'DB_HOST', 'localhost' );

/** Database Charset to use in creating database tables. */
define( 'DB_CHARSET', 'utf8mb4' );

/** The Database Collate type. Don't change this if in doubt. */
define( 'DB_COLLATE', '' );

 * Authentication Unique Keys and Salts.
 * Change these to different unique phrases!
 * You can generate these using the {@link secret-key service}
 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
 * @since 2.6.0
define( 'AUTH_KEY',         'M9:g}HEYy$/O.xDJ1iRece{2tnOPI7gr~XZQ_l|SqBte!u }t$!T~e}*ZTcOF> t' );
define( 'SECURE_AUTH_KEY',  'O<Y;gqQF8,^J#bH->[{mttksUXMROiz5O}G,zTs[d5.0=L3aMRmWwWg%$uuQ!X6|' );
define( 'LOGGED_IN_KEY',    'R&$.9I^q:$v?^6;X-}Wzl,qrl|[email protected]/Jy [email protected]/ntjTraQaTu)KTU~D4R!:[email protected]' );
define( 'NONCE_KEY',        'vkL1s;p9fn&uatE}<_PC9<N[[email protected]:V&.3,0oD#-IS|5yH3/d)W`$$.AO.Q95:' );
define( 'AUTH_SALT',        '@59;WOHfHBUpplJx3L$5k_pj`cDXqjb^[;!b U/L06Wb*E2d!E^olJu:,bL1m(:&' );
define( 'SECURE_AUTH_SALT', '|sY +FTN1rWIFeD1,Z<ukR!8t[HVU{N:b(pQOSxx|0H4l)~GObBcqn}u<3NPB;-h' );
define( 'LOGGED_IN_SALT',   '>>Wv4qp:#j&CY P)kz)0|oKxOk0>An5(>Jf`0YDJ!>+p:[email protected]=1Z:[email protected]' );
define( 'NONCE_SALT',       'q_q_u)2RHXg}vOpB8ya*J&5#CIaF$ngJjg+>VUfLkwUEPiB8Um,tEMm.yN`Sb}=]' );


 * WordPress Database Table prefix.
 * You can have multiple installations in one database if you give each
 * a unique prefix. Only numbers, letters, and underscores please!
$table_prefix = 'wp_';

 * For developers: WordPress debugging mode.
 * Change this to true to enable the display of notices during development.
 * It is strongly recommended that plugin and theme developers use WP_DEBUG
 * in their development environments.
 * For information on other constants that can be used for debugging,
 * visit the Codex.
 * @link
define( 'WP_DEBUG', false );

define('WP_CACHE', true);



/* That's all, stop editing! Happy publishing. */

/** 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' );
Any idea?

Plugin: WordPress Manager - 3.0.5-1
cPanel: 76.0.22