[Skip to main content](#vessel-content)

#   Catchable fatal error #2

##

- **[mmi](/forum/user/175-mmi "View mmi's Profile")**
- [![mmi's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/175-mmi "View mmi's Profile") Topic Author
- [ Offline](/forum/user/175-mmi)

Less More

- Posts: 3
- Thank you received: 0
-
-

16 years 3 days ago -  16 years 3 days ago [\#562](#562) by [mmi](/forum/user/175-mmi "View mmi's Profile")  *[Catchable fatal error #2](/forum/3-bug-report/562-catchable-fatal-error-2#562 "Hi,  First of all - many greetings for you guys for the awesome component. Thank you also for giving us a chance to use that component as a free version.  I installed component with no problem at all. I added product category, product, tax category and one VAT rate, published local currency PLN, added joomla menu item with connection to the shop, entered shop and had an attempt to make transaction. Till that moment I did not noticed any malfunctions.  Being logged in, I added single product to the cart, pressed checkout and added additional data for the transaction: address, and so on. I made one mistake: I input text string like &quot;qwerty&quot; in the telephone field.  I got the following error in the front:  and the following one in the back int the customers section, in the form which displayed the user who made fatal transaction:  The &quot;fatal&quot; user got improper address (a default one with French location, not the location I choose from the form).  Additionally system created new empty user record in customers section and made some errors in hikka tables (improper length of tables).  I tried to remove that error so I corrected the tables with sql tools, removed address, and other records bound with the fatal transaction. After I removed the addresss - the error displayed in the back did not show up anymore. But error in the front still persists.  According to the thread   www.hikashop.com/en/support/forum/3-bug-...ble-fatal-error.html  you were ready to inspect the system. My system is the test one. I install here components for inspection before installing them on a live site. How can I pass you the user and password details?  Regards, mmi")* was created by *[mmi](/forum/user/175-mmi "View mmi's Profile")*

Hi,

First of all - many greetings for you guys for the awesome component. Thank you also for giving us a chance to use that component as a free version.

I installed component with no problem at all. I added product category, product, tax category and one VAT rate, published local currency PLN, added joomla menu item with connection to the shop, entered shop and had an attempt to make transaction. Till that moment I did not noticed any malfunctions.

Being logged in, I added single product to the cart, pressed checkout and added additional data for the transaction: address, and so on. I made one mistake: I input text string like "qwerty" in the telephone field.

I got the following error in the front:

> Catchable fatal error: Object of class stdClass could not be converted to string in /home/senda/ftp/mtest1/libraries/joomla/html/parameter.php on line 105

and the following one in the back int the customers section, in the form which displayed the user who made fatal transaction:

> Warning: Invalid argument supplied for foreach() in/home/senda/ftp/mtest1/administrator/components/com\_hikashop/views/user/tmpl/form.phpon line 89

The "fatal" user got improper address (a default one with French location, not the location I choose from the form).

Additionally system created new empty user record in customers section and made some errors in hikka tables (improper length of tables).

I tried to remove that error so I corrected the tables with sql tools, removed address, and other records bound with the fatal transaction. After I removed the addresss - the error displayed in the back did not show up anymore. But error in the front still persists.

According to the thread [ www.hikashop.com/en/support/forum/3-bug-...ble-fatal-error.html](http://www.hikashop.com/en/support/forum/3-bug-report/392-catchable-fatal-error.html) you were ready to inspect the system. My system is the test one. I install here components for inspection before installing them on a live site. How can I pass you the user and password details?

Regards,
mmi

Last edit: 16 years 3 days ago by [mmi](/forum/user/175-mmi "View mmi's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC81NjItY2F0Y2hhYmxlLWZhdGFsLWVycm9yLTI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14269
-
-

16 years 3 days ago [\#564](#564) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Catchable fatal error #2](/forum/3-bug-report/562-catchable-fatal-error-2#564 "Hi,  First of all - many greetings for you guys for the awesome component. Thank you also for giving us a chance to use that component as a free version.  I installed component with no problem at all. I added product category, product, tax category and one VAT rate, published local currency PLN, added joomla menu item with connection to the shop, entered shop and had an attempt to make transaction. Till that moment I did not noticed any malfunctions.  Being logged in, I added single product to the cart, pressed checkout and added additional data for the transaction: address, and so on. I made one mistake: I input text string like &quot;qwerty&quot; in the telephone field.  I got the following error in the front:  and the following one in the back int the customers section, in the form which displayed the user who made fatal transaction:  The &quot;fatal&quot; user got improper address (a default one with French location, not the location I choose from the form).  Additionally system created new empty user record in customers section and made some errors in hikka tables (improper length of tables).  I tried to remove that error so I corrected the tables with sql tools, removed address, and other records bound with the fatal transaction. After I removed the addresss - the error displayed in the back did not show up anymore. But error in the front still persists.  According to the thread   www.hikashop.com/en/support/forum/3-bug-...ble-fatal-error.html  you were ready to inspect the system. My system is the test one. I install here components for inspection before installing them on a live site. How can I pass you the user and password details?  Regards, mmi")*

Hi mmi,

Indeed the person on the other thread didn't answer us so we couldn't fix the problem. If you're willing to help us fix it, you can send us by email an FTP access to your website and the URL of the website at nicolas@hikashop.com

Concerning the warning on the back end, it's just a small warning. Nothing is really broken, it's just that we need to add an extra check there. I already did the modification on our end and it will be included into next release.

Thank you for your precise report on those issues.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC81NjItY2F0Y2hhYmxlLWZhdGFsLWVycm9yLTI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mmi](/forum/user/175-mmi "View mmi's Profile")**
- [![mmi's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/175-mmi "View mmi's Profile") Topic Author
- [ Offline](/forum/user/175-mmi)

Less More

- Posts: 3
- Thank you received: 0
-
-

16 years 3 days ago [\#566](#566) by [mmi](/forum/user/175-mmi "View mmi's Profile")  Replied by *[mmi](/forum/user/175-mmi "View mmi's Profile")* on topic *[Re: Catchable fatal error #2](/forum/3-bug-report/562-catchable-fatal-error-2#566 "Hi,  First of all - many greetings for you guys for the awesome component. Thank you also for giving us a chance to use that component as a free version.  I installed component with no problem at all. I added product category, product, tax category and one VAT rate, published local currency PLN, added joomla menu item with connection to the shop, entered shop and had an attempt to make transaction. Till that moment I did not noticed any malfunctions.  Being logged in, I added single product to the cart, pressed checkout and added additional data for the transaction: address, and so on. I made one mistake: I input text string like &quot;qwerty&quot; in the telephone field.  I got the following error in the front:  and the following one in the back int the customers section, in the form which displayed the user who made fatal transaction:  The &quot;fatal&quot; user got improper address (a default one with French location, not the location I choose from the form).  Additionally system created new empty user record in customers section and made some errors in hikka tables (improper length of tables).  I tried to remove that error so I corrected the tables with sql tools, removed address, and other records bound with the fatal transaction. After I removed the addresss - the error displayed in the back did not show up anymore. But error in the front still persists.  According to the thread   www.hikashop.com/en/support/forum/3-bug-...ble-fatal-error.html  you were ready to inspect the system. My system is the test one. I install here components for inspection before installing them on a live site. How can I pass you the user and password details?  Regards, mmi")*

Done:)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC81NjItY2F0Y2hhYmxlLWZhdGFsLWVycm9yLTI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Dans](/forum/user/178-dans "View Dans's Profile")**
- [![Dans's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/178-dans "View Dans's Profile")
- [ Offline](/forum/user/178-dans)

Less More

- Posts: 1
- Thank you received: 0
-
-

16 years 3 days ago [\#567](#567) by [Dans](/forum/user/178-dans "View Dans's Profile")  Replied by *[Dans](/forum/user/178-dans "View Dans's Profile")* on topic *[Re: Catchable fatal error #2](/forum/3-bug-report/562-catchable-fatal-error-2#567 "Hi,  First of all - many greetings for you guys for the awesome component. Thank you also for giving us a chance to use that component as a free version.  I installed component with no problem at all. I added product category, product, tax category and one VAT rate, published local currency PLN, added joomla menu item with connection to the shop, entered shop and had an attempt to make transaction. Till that moment I did not noticed any malfunctions.  Being logged in, I added single product to the cart, pressed checkout and added additional data for the transaction: address, and so on. I made one mistake: I input text string like &quot;qwerty&quot; in the telephone field.  I got the following error in the front:  and the following one in the back int the customers section, in the form which displayed the user who made fatal transaction:  The &quot;fatal&quot; user got improper address (a default one with French location, not the location I choose from the form).  Additionally system created new empty user record in customers section and made some errors in hikka tables (improper length of tables).  I tried to remove that error so I corrected the tables with sql tools, removed address, and other records bound with the fatal transaction. After I removed the addresss - the error displayed in the back did not show up anymore. But error in the front still persists.  According to the thread   www.hikashop.com/en/support/forum/3-bug-...ble-fatal-error.html  you were ready to inspect the system. My system is the test one. I install here components for inspection before installing them on a live site. How can I pass you the user and password details?  Regards, mmi")*

I am also getting the message:

"Warning: Invalid argument supplied for foreach() in **************/components/com_hikashop/views/product/tmpl/listing_list.php on line 26"

If you need another site to review please let me know.

Dan

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC81NjItY2F0Y2hhYmxlLWZhdGFsLWVycm9yLTI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14269
-
-

16 years 3 days ago [\#568](#568) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Catchable fatal error #2](/forum/3-bug-report/562-catchable-fatal-error-2#568 "Hi,  First of all - many greetings for you guys for the awesome component. Thank you also for giving us a chance to use that component as a free version.  I installed component with no problem at all. I added product category, product, tax category and one VAT rate, published local currency PLN, added joomla menu item with connection to the shop, entered shop and had an attempt to make transaction. Till that moment I did not noticed any malfunctions.  Being logged in, I added single product to the cart, pressed checkout and added additional data for the transaction: address, and so on. I made one mistake: I input text string like &quot;qwerty&quot; in the telephone field.  I got the following error in the front:  and the following one in the back int the customers section, in the form which displayed the user who made fatal transaction:  The &quot;fatal&quot; user got improper address (a default one with French location, not the location I choose from the form).  Additionally system created new empty user record in customers section and made some errors in hikka tables (improper length of tables).  I tried to remove that error so I corrected the tables with sql tools, removed address, and other records bound with the fatal transaction. After I removed the addresss - the error displayed in the back did not show up anymore. But error in the front still persists.  According to the thread   www.hikashop.com/en/support/forum/3-bug-...ble-fatal-error.html  you were ready to inspect the system. My system is the test one. I install here components for inspection before installing them on a live site. How can I pass you the user and password details?  Regards, mmi")*

For the warning onthe listing of products, you can just add if(!empty($this-&gt;rows)){ .... } around the foreach code block so that the warning disapear.
This warning will only happen if no products are found when displaying products as list type.

For the user edit on the back end it's almost the same. You can just add the code if(!empty($this-&gt;fields)){ ..... } around the foreach code block and the warning disapear.

Thanks to the access provided by mmi, we found that the fatal error on the front end seems to be caused by an incompatibility with the advanced modules manager extension on your website. We added some code in our module which should fix the problem. Let us know if you still have a problem on that on your end.

All those changes have been added on our end and will be published into next release of hikashop.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC81NjItY2F0Y2hhYmxlLWZhdGFsLWVycm9yLTI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mmi](/forum/user/175-mmi "View mmi's Profile")**
- [![mmi's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/175-mmi "View mmi's Profile") Topic Author
- [ Offline](/forum/user/175-mmi)

Less More

- Posts: 3
- Thank you received: 0
-
-

16 years 3 days ago [\#570](#570) by [mmi](/forum/user/175-mmi "View mmi's Profile")  Replied by *[mmi](/forum/user/175-mmi "View mmi's Profile")* on topic *[Re: Catchable fatal error #2](/forum/3-bug-report/562-catchable-fatal-error-2#570 "Hi,  First of all - many greetings for you guys for the awesome component. Thank you also for giving us a chance to use that component as a free version.  I installed component with no problem at all. I added product category, product, tax category and one VAT rate, published local currency PLN, added joomla menu item with connection to the shop, entered shop and had an attempt to make transaction. Till that moment I did not noticed any malfunctions.  Being logged in, I added single product to the cart, pressed checkout and added additional data for the transaction: address, and so on. I made one mistake: I input text string like &quot;qwerty&quot; in the telephone field.  I got the following error in the front:  and the following one in the back int the customers section, in the form which displayed the user who made fatal transaction:  The &quot;fatal&quot; user got improper address (a default one with French location, not the location I choose from the form).  Additionally system created new empty user record in customers section and made some errors in hikka tables (improper length of tables).  I tried to remove that error so I corrected the tables with sql tools, removed address, and other records bound with the fatal transaction. After I removed the addresss - the error displayed in the back did not show up anymore. But error in the front still persists.  According to the thread   www.hikashop.com/en/support/forum/3-bug-...ble-fatal-error.html  you were ready to inspect the system. My system is the test one. I install here components for inspection before installing them on a live site. How can I pass you the user and password details?  Regards, mmi")*

Hi,

thank you very much. I'm flattered with your help:)...

Right now the error:

> Catchable fatal error: Object of class stdClass could not be converted to string in /home/senda/ftp/mtest1/libraries/joomla/html/parameter.php on line 105

appears in Hikashop Cart Module.

Replication:
enter shop site
enter product
press add to cart

You may see the error message in the column next to the component.

Regards,

mmi

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC81NjItY2F0Y2hhYmxlLWZhdGFsLWVycm9yLTI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14269
-
-

16 years 3 days ago [\#575](#575) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Catchable fatal error #2](/forum/3-bug-report/562-catchable-fatal-error-2#575 "Hi,  First of all - many greetings for you guys for the awesome component. Thank you also for giving us a chance to use that component as a free version.  I installed component with no problem at all. I added product category, product, tax category and one VAT rate, published local currency PLN, added joomla menu item with connection to the shop, entered shop and had an attempt to make transaction. Till that moment I did not noticed any malfunctions.  Being logged in, I added single product to the cart, pressed checkout and added additional data for the transaction: address, and so on. I made one mistake: I input text string like &quot;qwerty&quot; in the telephone field.  I got the following error in the front:  and the following one in the back int the customers section, in the form which displayed the user who made fatal transaction:  The &quot;fatal&quot; user got improper address (a default one with French location, not the location I choose from the form).  Additionally system created new empty user record in customers section and made some errors in hikka tables (improper length of tables).  I tried to remove that error so I corrected the tables with sql tools, removed address, and other records bound with the fatal transaction. After I removed the addresss - the error displayed in the back did not show up anymore. But error in the front still persists.  According to the thread   www.hikashop.com/en/support/forum/3-bug-...ble-fatal-error.html  you were ready to inspect the system. My system is the test one. I install here components for inspection before installing them on a live site. How can I pass you the user and password details?  Regards, mmi")*

Hi,

Indeed, the parameters of the module are also called there. Great, I was also able to fix this one in the same way ![:)](/media/kunena/emoticons/8.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC81NjItY2F0Y2hhYmxlLWZhdGFsLWVycm9yLTI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.219 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
