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

#   Undefined property: hikaserialPackClass::$database

##

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

Less More

- Posts: 7
- Thank you received: 0
-
-

13 years 10 months ago -  13 years 10 months ago [\#80298](#80298) by [pulse](/forum/user/12182-pulse "View pulse's Profile")  *[Undefined property: hikaserialPackClass::$database](/forum/16-serial-bug-report/76425-undefined-property-hikaserialpackclass-database#80298 "I can't create a pack. or serials. i get an empty page in the back i get:")* was created by *[pulse](/forum/user/12182-pulse "View pulse's Profile")*

I can't create a pack. or serials. i get an empty page in the back i get:
Code:

[Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP Notice: Undefined property: hikaserialPackClass::$database in /var/www/graffixprostudio/administrator/components/com_hikaserial/helpers/helper.php on line 616, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP Stack trace:, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP 1. {main}() /var/www/graffixprostudio/administrator/index.php:0, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP 2. JAdministrator-&gt;dispatch() /var/www/graffixprostudio/administrator/index.php:47, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP 3. JComponentHelper::renderComponent() /var/www/graffixprostudio/administrator/includes/application.php:153, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP 4. require_once() /var/www/graffixprostudio/libraries/joomla/application/component/helper.php:156, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP 5. JController-&gt;execute() /var/www/graffixprostudio/administrator/components/com_hikaserial/hikaserial.php:37, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP 6. hikaserialController-&gt;save() /var/www/graffixprostudio/libraries/joomla/application/component/controller.php:684, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP 7. packController-&gt;store() /var/www/graffixprostudio/administrator/components/com_hikaserial/helpers/helper.php:388, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP 8. hikaserialController-&gt;adminStore() /var/www/graffixprostudio/administrator/components/com_hikaserial/controllers/pack.php:29, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP 9. hikaserialPackClass-&gt;saveForm() /var/www/graffixprostudio/administrator/components/com_hikaserial/helpers/helper.php:406, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP 10. hikaserialPackClass-&gt;save() /var/www/graffixprostudio/administrator/components/com_hikaserial/classes/pack.php:56, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP 11. hikaserialClass-&gt;save() /var/www/graffixprostudio/administrator/components/com_hikaserial/classes/pack.php:31, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP 12. hikaserialClass-&gt;getInsert() /var/www/graffixprostudio/administrator/components/com_hikaserial/helpers/helper.php:589, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP Fatal error: Call to a member function Quote() on a non-object in /var/www/graffixprostudio/administrator/components/com_hikaserial/helpers/helper.php on line 616, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP Stack trace:, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP 1. {main}() /var/www/graffixprostudio/administrator/index.php:0, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP 2. JAdministrator-&gt;dispatch() /var/www/graffixprostudio/administrator/index.php:47, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP 3. JComponentHelper::renderComponent() /var/www/graffixprostudio/administrator/includes/application.php:153, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP 4. require_once() /var/www/graffixprostudio/libraries/joomla/application/component/helper.php:156, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP 5. JController-&gt;execute() /var/www/graffixprostudio/administrator/components/com_hikaserial/hikaserial.php:37, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP 6. hikaserialController-&gt;save() /var/www/graffixprostudio/libraries/joomla/application/component/controller.php:684, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP 7. packController-&gt;store() /var/www/graffixprostudio/administrator/components/com_hikaserial/helpers/helper.php:388, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP 8. hikaserialController-&gt;adminStore() /var/www/graffixprostudio/administrator/components/com_hikaserial/controllers/pack.php:29, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP 9. hikaserialPackClass-&gt;saveForm() /var/www/graffixprostudio/administrator/components/com_hikaserial/helpers/helper.php:406, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP 10. hikaserialPackClass-&gt;save() /var/www/graffixprostudio/administrator/components/com_hikaserial/classes/pack.php:56, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP 11. hikaserialClass-&gt;save() /var/www/graffixprostudio/administrator/components/com_hikaserial/classes/pack.php:31, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack [Tue Dec 04 16:24:06 2012] [error] [client 174.91.126.38] PHP 12. hikaserialClass-&gt;getInsert() /var/www/graffixprostudio/administrator/components/com_hikaserial/helpers/helper.php:589, referer: http://dev.graffixprostudio.com/administrator/index.php?option=com_hikaserial&amp;ctrl=pack

Last edit: 13 years 10 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE2LXNlcmlhbC1idWctcmVwb3J0Lzc2NDI1LXVuZGVmaW5lZC1wcm9wZXJ0eS1oaWthc2VyaWFscGFja2NsYXNzLWRhdGFiYXNlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 10 months ago [\#80316](#80316) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Undefined property: hikaserialPackClass::$database](/forum/16-serial-bug-report/76425-undefined-property-hikaserialpackclass-database#80316 "I can't create a pack. or serials. i get an empty page in the back i get:")*

Hi,

I will create a new HikaSerial package with the fix as soon as possible.
You can edit the file */var/www/graffixprostudio/administrator/components/com\_hikaserial/helpers/helper.php*.
And change the line 616 which is Code:

$values[] = $this-&gt;db-&gt;isQuoted($k) ? $this-&gt;database-&gt;Quote($v) : (int)$v;

By Code:

$values[] = $this-&gt;db-&gt;isQuoted($k) ? $this-&gt;db-&gt;Quote($v) : (int)$v;

Sorry for the disagreement.

Regards,

---

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

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE2LXNlcmlhbC1idWctcmVwb3J0Lzc2NDI1LXVuZGVmaW5lZC1wcm9wZXJ0eS1oaWthc2VyaWFscGFja2NsYXNzLWRhdGFiYXNlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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.055 seconds

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

[](#top)
