The system found a new WordPress site but could not make it manageable
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/JSON.pm line 123."
Here's my wp-config file:
[CODE=php] t' );
define( 'SECURE_AUTH_KEY', 'O[{mttksUXMROiz5O}G,zTs[d5.0=L3aMRmWwWg%$uuQ!X6|' );
define( 'LOGGED_IN_KEY', 'R&$.9I^q:$v?^6;X-}Wzl,qrl|xq@/Jy P@ZE5/ntjTraQaTu)KTU~D4R!:?XU@e' );
define( 'NONCE_KEY', 'vkL1s;p9fn&uatE}<_PC9>Wv4qp:#j&CY P)kz)0|oKxOk0>An5(>Jf`0YDJ!>+p:wB@YJZDuZir=1Z:Ha@2' );
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 https://codex.wordpress.org/Debugging_in_WordPress
*/
define( 'WP_DEBUG', false );
define('WP_CACHE', true);
define('WP_HOME','https://$mywebsite');
define('WP_SITEURL','https://$mywebsite');
/* 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
Any idea? Plugin: WordPress Manager - 3.0.5-1 cPanel: 76.0.22
Please sign in to leave a comment.
Comments
0 comments