Jump to content
Sign in to follow this  
vikal

Catchable fatal error: Object of class upload could not be converted to string in C:\xampp\htdocs\ebook\includes\functions\general.php on line 1112

Recommended Posts

hi

 

morning

 

the above error is based on add-on module

 

CAP 1.4.3.zip

 

this is the error produce while clicking to the ICON_PREVIEW on the file account_manage.php

 

and error on this function

 

 

 

function tep_not_null($value) {

if (is_array($value)) {

if (sizeof($value) > 0) {

return true;

} else {

return false;

}

} else {

if (($value != '') && (strtolower($value) != 'null') && (@strlen(@trim($value)) > 0)) {

return true;

} else {

return false;

}

}

}

 

 

would you mind solve this problem

 

 

waiting for your reply

 

 

with best regards

 

vikal

Share this post


Link to post
Share on other sites

Hi - I'm getting a similar error with the upload class (that is used in CAP):

 

Catchable fatal error: Object of class upload could not be converted to string in ...includes/functions/database.php on line 95

 

I'm guessing that it is a php5.2 thing, but other than that, I'm clueless. So, if you vikal, I'll jump in too!

 

thank you in advance.

 

Tony

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×