Hi there,
New to WordPress and tried to install the Get Theme plug-in. It didn't work and I now have loads of error messages at the top of my home page - sometimes the page doesn't load at all.
Help!
Dan
Hi there,
New to WordPress and tried to install the Get Theme plug-in. It didn't work and I now have loads of error messages at the top of my home page - sometimes the page doesn't load at all.
Help!
Dan
Can you please post the URL of your blog so we can see the errors, or at least post the errors you are getting so someone can provide some help.
Thanks - my URL is http://www.dan-roberts.net
These are the error messages:
Warning: include_once(/home1/danrober/public_html/wp-content/plugins/dum-dum/) [function.include-once]: failed to open stream: Success in /home1/danrober/public_html/wp-settings.php on line 473
Warning: include_once() [function.include]: Failed opening '/home1/danrober/public_html/wp-content/plugins/dum-dum/' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home1/danrober/public_html/wp-settings.php on line 473
Try deleting the folder "dum-dum" from the wp-content/plugins folder and go to the Plugins page in your administrator. WordPress will automatically disable that plugin because it isn't there. That should fix the problem and remove the warnings from your page. As far as I know, this plugin does not work with WordPress 2.7, so don't install it until it does.
You should also understand you aren't getting "errors" but "warnings". This means your PHP installation is set to display warnings and you could actually disable that, but best to fix the problem rather then just hide the problem.
Thanks, I have tried that but I still have the warnings on the page. How do I disable the warning display?
Easy way is to open up your themes "functions.php" file and add the following line near the top after the <?php:
error_reporting(0);
This will turn off all errors. I would suggest perhaps if you want to be able to debug on fatal errors.
error_reporting(E_ERROR | E_PARSE);
If there is no functions.php file in your theme, create one and make sure to use the opening <?php and closing ?> php tags around the code above. More information on PHP error reporting is at http://us3.php.net/error_reporting
You can also change these settings in your .htaccess file, but I wouldn't go there since WordPress can sometimes overwrite that and you could lose it - I've seen it happen.
Fixed - thanks so much for your help.
This topic has been closed to new replies.