Title: Please help:  Catchable fatal error&#8230; default-constants.php
Last modified: August 30, 2016

---

# Please help: Catchable fatal error… default-constants.php

 *  [babeuske](https://wordpress.org/support/users/babeuske/)
 * (@babeuske)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/please-help-catchable-fatal-error-default-constantsphp/)
 * 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)

 *  [ravimane1991](https://wordpress.org/support/users/ravimane1991/)
 * (@ravimane1991)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/please-help-catchable-fatal-error-default-constantsphp/#post-6383913)
 * 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.

## Tags

 * [Catchable](https://wordpress.org/support/topic-tag/catchable/)
 * [config](https://wordpress.org/support/topic-tag/config/)
 * [fatal+error](https://wordpress.org/support/topic-tag/fatalerror/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 1 reply
 * 2 participants
 * Last reply from: [ravimane1991](https://wordpress.org/support/users/ravimane1991/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/please-help-catchable-fatal-error-default-constantsphp/#post-6383913)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
