Hi
It looks to me like the 404.php template file is missing from the theme you are using, Agent 2.0 Look in the zipped theme folder you purchased – see if you have a 404.php file. If so, upload it into the agent_20 folder on your server.
Just that may resolve the issue.
So I must be the most computer illiterate person using word press cause although there are lots of comments regarding this I just couldn’t figure out where I had to go to replace the words and stop the error messages. So after spending hours and hours looking everywhere, I finally figured it out. So the below instructions are for those who are having trouble
If you have the agent template & the error message you are getting is sort of like this:
Warning: file(/home/content/j/f/i/jfiorieco/html/wp-content/home/content/j/f/i/jfiorieco/html/wp-content/themes/agent_20/404.php) [function.file]: failed to open stream: No such file or directory in /home/content/j/f/i/jfiorieco/html/wp-content/themes/agent_20/tools/post_templates.php on line 23
Warning: implode() [function.implode]: Bad arguments. in /home/content/j/f/i/jfiorieco/html/wp-content/themes/agent_20/tools/post_templates.php on line 23
Then this is how to fix it.
On your dashboard, click under Appearance on the left hand side, a drop down menu will apear.
From that menu click Editor. Then on the right hand side of the sceen, there will be a list of templates.
Click on post_templates.php
Put your cursor on the top line of computer language.
move cursor downwards counting lines. When you reach line 23:
replace
$template_data = implode( ”, file( WP_CONTENT_DIR.$template ));
with
$template_data = implode( ”, file( $template ));
Then click Update File Button
When you log into the dashboard the next time, it will be fixed.
I still can’t believe I figured how to fix this.
Good Luck!!! 🙂
Hey Christine – thanks so much for posting this solution. It saved me tons of time when a client’s Agent_30 theme started spitting out warnings after an upgrade to WP3.1.3
Cheers,
Dean Reeds