- Posts: 38
- Thank you received: 2
Fatal error: Cannot use object of type objectInfo
14 years 5 days ago #13
by Sandra
Fatal error: Cannot use object of type objectInfo was created by Sandra
Hi All I got ACA v2.3 installed and I've got following modules installed:
Category:
Htmlarea 1.7 Wysywyg Editor for category description 4
Htmlarea 1.7 Javascript for categories 2
Jpsy image uploader 3
Products:
Htmlarea 1.7 Wysywyg Editor for category description 4
Htmlarea 1.7 Javascript for categories 2
Jpsy image uploader 3
In Category everthing working fine, but in products ever time I try add a new product I get the following error:
Fatal error: Cannot use object of type objectInfo as array in C:\Server\htdocs\osCommerce\admin\includes\modules\products\jpsy.php on line 66
When I disable Jpsy image uploader 3 for products all working fine what is wrong??
Category:
Htmlarea 1.7 Wysywyg Editor for category description 4
Htmlarea 1.7 Javascript for categories 2
Jpsy image uploader 3
Products:
Htmlarea 1.7 Wysywyg Editor for category description 4
Htmlarea 1.7 Javascript for categories 2
Jpsy image uploader 3
In Category everthing working fine, but in products ever time I try add a new product I get the following error:
Fatal error: Cannot use object of type objectInfo as array in C:\Server\htdocs\osCommerce\admin\includes\modules\products\jpsy.php on line 66
When I disable Jpsy image uploader 3 for products all working fine what is wrong??
Please Log in or Create an account to join the conversation.
- Support Team
- Offline
- Moderator
Less
More
- Posts: 106
- Thank you received: 10
14 years 5 days ago #14
by Support Team
Replied by Support Team on topic Re: Fatal error: Cannot use object of type objectInfo
In the products/jpsy.php, replace the function repost_values() by this one:
Code:
function repost_values () {
// Repost all values that are not arrays
if ($this->is_image_handler) {
foreach ($this->pInfo as $key=>$val) {
if (!is_array($val)) echo tep_draw_hidden_field($this->code .'['.$key.']', stripslashes($val))."\n";
} // end for each pInfo
}
} // end method
Please Log in or Create an account to join the conversation.