• I have been looking around but can’t find another one had similar error.

    After upgrading my wordpress/plugins… (hard to remember). my website got this error message:

    Catchable fatal error: Object of class WP_Error could not be converted to string in /home/content/41/7375441/html/atherethere/wp-includes/default-constants.php on line 101

    and the line 101 is

    function wp_plugin_directory_constants() {
    if ( !defined(‘WP_CONTENT_URL’) )
    define( ‘WP_CONTENT_URL’, get_option(‘siteurl’) . ‘/wp-content’); // full url – WP_CONTENT_DIR is defined further up

    PLEASE HELP ?? FEELING LOST
    I TRIED DEACTIVATED THE PLUGINS FROM FTP … AND ALSO RE-UPLOADING THE WORDPRESS FILES OTHER THAN THE WP-CONTENT FOLDER..
    BUT NOTHING HELPED.

Viewing 1 replies (of 1 total)
  • just go to phpmyadmin open table name wp_options , then check for site url entry , if you got below data

    “O:8:”WP_Error”:2:{s:6:”errors”;a:1:{s:30:”wpdb_get_table_charset_failure”;a:1:{i:0;s:0:””;}}s:10:”error_data”;a:0:{}}”

    change with your site url

    i have same issue i solved by above way.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Please help: Catchable fatal error… default-constants.php’ is closed to new replies.