Fatal error: Cannot use object of type objectInfo

More
11 years 7 months ago #13 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??

Please Log in to join the conversation.

More
11 years 7 months ago #14 by Support Team
In the products/jpsy.php, replace the function repost_values() by this one:
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 to join the conversation.

Time to create page: 0.207 seconds
Events Joomla
MarvikShop
Finnaly it's here:
 
No bridges, no look a likes!
This is the ultimate integration
between Oscommerce and Joomla!
Documentation
Site Showcase
Follow us