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

#   Error quoteName(), when create a HikaMarket Vendor

##

- **[garstud](/forum/user/2505-garstud "View garstud's Profile")**
- [![garstud's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar2505.jpg)](/forum/user/2505-garstud "View garstud's Profile") Topic Author
- [ Offline](/forum/user/2505-garstud)

Less More

- Posts: 35
- Thank you received: 4
-
-
-
-

14 years 1 week ago -  14 years 1 week ago [\#76132](#76132) by [garstud](/forum/user/2505-garstud "View garstud's Profile")  *[Error quoteName(), when create a HikaMarket Vendor](/forum/22-market-bug-report/75729-error-quotename-when-create-a-hikamarket-vendor#76132 "Hello,  Thanks for this great component.  my test environment : - Joomla 2.5.6 - PHP 5.3.15 - HikaShop 2.0.0 - HikaMarket 1.0.0 (Beta)  In Backend, when saving a new vendor in HikaMarket, i get this error :  At these lines (892-893), if i replace the 2 call of $this-&gt;database with $this-&gt;db, it seems to work.")* was created by *[garstud](/forum/user/2505-garstud "View garstud's Profile")*

Hello,

Thanks for this great component.

my test environment :
- Joomla 2.5.6
- PHP 5.3.15
- HikaShop 2.0.0
- HikaMarket 1.0.0 (Beta)

In Backend, when saving a new vendor in HikaMarket, i get this error :

> Strict Standards: Declaration of hikamarketVendorClass::delete() should be compatible with that of hikamarketClass::delete() in/srv/www/htdocs/joomla\_2.5.6/administrator/components/com\_hikamarket/classes/vendor.php on line 421
>
> Notice: Undefined property: hikamarketVendorClass::$database in /srv/www/htdocs/joomla\_2.5.6/administrator/components/com\_hikamarket/helpers/helper.php on line 892
>
> Fatal error: Call to a member function quoteName() on a non-object in /srv/www/htdocs/joomla\_2.5.6/administrator/components/com\_hikamarket/helpers/helper.php on line 892

At these lines (892-893), if i replace the 2 call of $this-&gt;database with $this-&gt;db, it seems to work.

Last edit: 14 years 1 week ago by [garstud](/forum/user/2505-garstud "View garstud's Profile").

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

14 years 1 week ago [\#76151](#76151) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Error quoteName(), when create a HikaMarket Vendor](/forum/22-market-bug-report/75729-error-quotename-when-create-a-hikamarket-vendor#76151 "Hello,  Thanks for this great component.  my test environment : - Joomla 2.5.6 - PHP 5.3.15 - HikaShop 2.0.0 - HikaMarket 1.0.0 (Beta)  In Backend, when saving a new vendor in HikaMarket, i get this error :  At these lines (892-893), if i replace the 2 call of $this-&gt;database with $this-&gt;db, it seems to work.")*

Hi,

The helper $database bug is already fixed. It was a copy/paste from HikaShop helper.
The delete() declaration in vendorClass does not have the reference, I just fix it and it would be in the next beta package.

Thanks for the report !

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [garstud](/forum/user/2505-garstud "View garstud's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzc1NzI5LWVycm9yLXF1b3RlbmFtZS13aGVuLWNyZWF0ZS1hLWhpa2FtYXJrZXQtdmVuZG9yP3RtcGw9bWFya2Rvd24=) 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?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

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

Time to create page: 0.049 seconds

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