I’m having this error on my site:
???
Fatal error: Cannot redeclare require_wp_db() (previously declared in /home/tanguito/festivaltangoqueer.com.ar/wp-includes/load.php:325) in /home/tanguito/festivaltangoqueer.com.ar/wp-includes/functions.php on line 2773
I’ve already applied the solution suggested by user esmi on this topic and got it working. But then i got the error again.
Could anyone give me a hint on what can be wrong?
I need help with this asap since it is a client’s website.
Thanks in advance.
]]>Fatal error: Cannot redeclare require_wp_db() (previously declared in /home/stephensmith/libre.ereaderjournal.com/wp-includes/load.php:323) in /home/stephensmith/libre.ereaderjournal.com/wp-includes/functions.php on line 3090
I searched the forum and found this post, which may be related: https://www.ads-software.com/support/topic/wp-31-pg4wp-cannot-redeclare-class-wpdb?replies=1
However, I do not understand the answer. What does it mean to re-implement the WP 3.1 require_wp_db() function?
Does this mean there’s a specific file that I need to download and rewrite (like in Notepad)? And does this indeed apply to the error I am getting?
Thanks for any help.
]]>Warning: Cannot modify header information – headers already sent by (output started at /home/content/t/o/m/tomwood2/html/wp-content/themes/journalist/functions.php:44) in /home/content/t/o/m/tomwood2/html/wp-includes/pluggable.php on line 868
My site is at minigiggles.com
Appreciate some help.
]]>“Warning: require_wp_db(/home/content/l/e/a/leapa/html/lanzilligroup/naturalhealers/wp-includes/wp-db.php): failed to open stream: No such file or directory in /home/content/l/e/a/leapa/html/lanzilligroup/naturalhealers/wp-includes/functions.php on line 2772”
This is the code I have on line 2772 in the functions.php file that the error message above is referencing. It’s standard I believe.
function require_wp_db() {
global $wpdb;
if ( file_exists( WP_CONTENT_DIR . ‘/db.php’ ) )
require_once( WP_CONTENT_DIR . ‘/db.php’ );
else
require_once( ABSPATH . WPINC . ‘/wp-db.php’ );
}
I also tried calling my hosting service to “fix my MySQL pointer” as another WordPress blog suggested but it was to no avail. They had no idea what I was talking about and insist everything is working fine on their end.
lastly, I’m not sure if this is relevant but I do have another blog on this domain that is working fine. It’s URL is https://lanzilligroup.com/brendasrecipes
Assistance is MUCH appreciated.
]]>Warning: Unterminated comment starting line 1137 in /home/symbians/public_html/wp-includes/functions.php on line 1137
Fatal error: Call to undefined function require_wp_db() in /home/symbians/public_html/wp-settings.php on line 242
Pls help, everything else working just fine only this feed problem.
]]>