NattyWP - Community Forum
Welcome, Guest. Please login or register.
NattyWP Community « Configuration and Development « Business theme « Fatal Errors right off the bat, then warnings
Pages: [1]   Go Down
  Print  
Author Topic: Fatal Errors right off the bat, then warnings  (Read 1855 times)
dave
Newbie
*
Karma: 0
Posts: 1
View Profile

Hey All,

I bought Business, but when I installed it and viewed my site, php threw this error:

    * Catchable fatal error: Object of class WP_Error could not be converted to string in /var/www/vhosts/powersimple.tv/httpdocs/company/wp-content/themes/Business/header.php on line 39

looking into the code, the error is being thrown by:

echo get_category_link($t_blog_page);

Which tells me that get_category_link is returning and Error object.

I'm a long time PHP programmer, but do not want to spend my time debugging software that I paid for.  What could be causing this?


----


As an aside, I commented out the echo statement (disabling certain links), and got another PHP message, this time a Warning:

Warning: join() [function.join]: Invalid arguments passed in /var/www/vhosts/powersimple.tv/httpdocs/company/wp-content/themes/Business/functions/admin-framework.php on line 30



Please advise as to why the theme is failing before my 24 hour return period ends.

Thanks,
David
Logged
Dmitry A
NattyWP Team

Sr. Member
*****
Karma: 101
Posts: 243
View Profile

Hello, please go to Business theme options and set proper Blog Category
2) set the exclude page, exclude categories to - Do not exclude
Update your options
« Last Edit: October 14, 2009, 02:54:05 PM by Dmitry A » Logged

Pages: [1]   Go Up
  Print  
 
Jump to: