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

#   qr scan - fatal errror

##

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

Less More

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

10 years 9 months ago [\#226494](#226494) by [kevboab](/forum/user/38636-kevboab "View kevboab's Profile")  *[qr scan - fatal errror](/forum/14-hikaserial/881556-qr-scan-fatal-errror#226494 "-- HikaShop version -- : 2.6.1 -- HikaSerial version -- : 1.10.1 -- Joomla version -- : 3.4.8 -- Browser(s) name and version -- : qr reader - iphone -- Error-message(debug-mod must be tuned on) -- : I have set up according to tutorial as best as possible. Upon receipt of ticket, when scanning to check if valid I receive a Fatal Error: call to a member function get () on a non-object in home/dir/dir/components/com&#95;hikaserial/views/srial/tmpl/consume.php on line 54.  I have only managed to get one bar code to scan succesfully and the remainder came back as invalid. I have tried nearly every setting under the sun however your serial / eticket tutorial is not exactly the clearest. It leaves a number of areas to guess at, or at least I find it like that.  Anyway, hope you can assist me.  I have set up according to tutorial as best as possible. Upon receipt of ticket, when scanning to check if valid I receive a Fatal Error: call to a member function get () on a non-object in home/dir/dir/components/com&#95;hikaserial/views/srial/tmpl/consume.php on line 54.  I have only managed to get one bar code to scan succesfully and the remainder came back as invalid. I have tried nearly every setting under the sun however your serial / eticket tutorial is not exactly the clearest. It leaves a number of areas to guess at, or at least I find it like that.  Anyway, hope you can assist me.")* was created by *[kevboab](/forum/user/38636-kevboab "View kevboab's Profile")*

-- HikaShop version -- : 2.6.1
-- HikaSerial version -- : 1.10.1
-- Joomla version -- : 3.4.8
-- Browser(s) name and version -- : qr reader - iphone
-- Error-message(debug-mod must be tuned on) -- : I have set up according to tutorial as best as possible. Upon receipt of ticket, when scanning to check if valid I receive a Fatal Error: call to a member function get () on a non-object in
home/dir/dir/components/com_hikaserial/views/srial/tmpl/consume.php on line 54.

I have only managed to get one bar code to scan succesfully and the remainder came back as invalid. I have tried nearly every setting under the sun however your serial / eticket tutorial is not exactly the clearest. It leaves a number of areas to guess at, or at least I find it like that.

Anyway, hope you can assist me.

I have set up according to tutorial as best as possible. Upon receipt of ticket, when scanning to check if valid I receive a Fatal Error: call to a member function get () on a non-object in
home/dir/dir/components/com_hikaserial/views/srial/tmpl/consume.php on line 54.

I have only managed to get one bar code to scan succesfully and the remainder came back as invalid. I have tried nearly every setting under the sun however your serial / eticket tutorial is not exactly the clearest. It leaves a number of areas to guess at, or at least I find it like that.

Anyway, hope you can assist me.

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

10 years 9 months ago -  10 years 9 months ago [\#226517](#226517) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[qr scan - fatal errror](/forum/14-hikaserial/881556-qr-scan-fatal-errror#226517 "-- HikaShop version -- : 2.6.1 -- HikaSerial version -- : 1.10.1 -- Joomla version -- : 3.4.8 -- Browser(s) name and version -- : qr reader - iphone -- Error-message(debug-mod must be tuned on) -- : I have set up according to tutorial as best as possible. Upon receipt of ticket, when scanning to check if valid I receive a Fatal Error: call to a member function get () on a non-object in home/dir/dir/components/com&#95;hikaserial/views/srial/tmpl/consume.php on line 54.  I have only managed to get one bar code to scan succesfully and the remainder came back as invalid. I have tried nearly every setting under the sun however your serial / eticket tutorial is not exactly the clearest. It leaves a number of areas to guess at, or at least I find it like that.  Anyway, hope you can assist me.  I have set up according to tutorial as best as possible. Upon receipt of ticket, when scanning to check if valid I receive a Fatal Error: call to a member function get () on a non-object in home/dir/dir/components/com&#95;hikaserial/views/srial/tmpl/consume.php on line 54.  I have only managed to get one bar code to scan succesfully and the remainder came back as invalid. I have tried nearly every setting under the sun however your serial / eticket tutorial is not exactly the clearest. It leaves a number of areas to guess at, or at least I find it like that.  Anyway, hope you can assist me.")*

Hi,

In the corresponding file, please replace Code:

$return_url = $this-&gt;params-&gt;get('return_url', '');

By Code:

$return_url = ''; if(!empty($this-&gt;params)) $return_url = $this-&gt;params-&gt;get('return_url', '');

It will fix the PHP error.

Regards,

---

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

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

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

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

Less More

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

10 years 9 months ago -  10 years 9 months ago [\#226588](#226588) by [kevboab](/forum/user/38636-kevboab "View kevboab's Profile")  Replied by *[kevboab](/forum/user/38636-kevboab "View kevboab's Profile")* on topic *[qr scan - fatal errror](/forum/14-hikaserial/881556-qr-scan-fatal-errror#226588 "-- HikaShop version -- : 2.6.1 -- HikaSerial version -- : 1.10.1 -- Joomla version -- : 3.4.8 -- Browser(s) name and version -- : qr reader - iphone -- Error-message(debug-mod must be tuned on) -- : I have set up according to tutorial as best as possible. Upon receipt of ticket, when scanning to check if valid I receive a Fatal Error: call to a member function get () on a non-object in home/dir/dir/components/com&#95;hikaserial/views/srial/tmpl/consume.php on line 54.  I have only managed to get one bar code to scan succesfully and the remainder came back as invalid. I have tried nearly every setting under the sun however your serial / eticket tutorial is not exactly the clearest. It leaves a number of areas to guess at, or at least I find it like that.  Anyway, hope you can assist me.  I have set up according to tutorial as best as possible. Upon receipt of ticket, when scanning to check if valid I receive a Fatal Error: call to a member function get () on a non-object in home/dir/dir/components/com&#95;hikaserial/views/srial/tmpl/consume.php on line 54.  I have only managed to get one bar code to scan succesfully and the remainder came back as invalid. I have tried nearly every setting under the sun however your serial / eticket tutorial is not exactly the clearest. It leaves a number of areas to guess at, or at least I find it like that.  Anyway, hope you can assist me.")*

Cheers guys, found the parse error I mentioned earlier as well, now scanning ok however the serials all return as invalid. Tried the two part as well and response again was invalid. Is there a way around this ????

> http://YOUR\_WEBSITE\_URL/index.php?option=com\_hikaserial&amp;ctrl=serial&amp;task=consume&amp;hikaserial\[serial\_data\]={serial.serial\_data}&amp;hikaserial\[format\]=html&amp;tmpl=component
>
> Some smartphone barcode scanner applications call the scanned url in order to check if the url exists. The result is that the serial will be consumed and you won't see the result of it in your smartphone because when you will click on the link to see the page, the serial will be already consumed by the call of the barcode scanner.
>
> That's why we added in HikaSerial 1.8.2 the possibility to have a confirmation page when consuming a serial.
> **http://YOUR\_WEBSITE\_URL/index.php?option=com\_hikaserial&amp;ctrl=serial&amp;task=consume&amp;hikaserial\[data\]={serial.serial\_data}&amp;confirmation=1&amp;hikaserial\[format\]=html
> In this url, the serial data is passed in a different parameter and the parameter "confirmation" is added.**

Last edit: 10 years 9 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: set quote for the quote

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

10 years 9 months ago [\#226592](#226592) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[qr scan - fatal errror](/forum/14-hikaserial/881556-qr-scan-fatal-errror#226592 "-- HikaShop version -- : 2.6.1 -- HikaSerial version -- : 1.10.1 -- Joomla version -- : 3.4.8 -- Browser(s) name and version -- : qr reader - iphone -- Error-message(debug-mod must be tuned on) -- : I have set up according to tutorial as best as possible. Upon receipt of ticket, when scanning to check if valid I receive a Fatal Error: call to a member function get () on a non-object in home/dir/dir/components/com&#95;hikaserial/views/srial/tmpl/consume.php on line 54.  I have only managed to get one bar code to scan succesfully and the remainder came back as invalid. I have tried nearly every setting under the sun however your serial / eticket tutorial is not exactly the clearest. It leaves a number of areas to guess at, or at least I find it like that.  Anyway, hope you can assist me.  I have set up according to tutorial as best as possible. Upon receipt of ticket, when scanning to check if valid I receive a Fatal Error: call to a member function get () on a non-object in home/dir/dir/components/com&#95;hikaserial/views/srial/tmpl/consume.php on line 54.  I have only managed to get one bar code to scan succesfully and the remainder came back as invalid. I have tried nearly every setting under the sun however your serial / eticket tutorial is not exactly the clearest. It leaves a number of areas to guess at, or at least I find it like that.  Anyway, hope you can assist me.")*

Hi,

Good to know that you have applied the patch.
We will update the HikaSerial views in the next release.

So, you can scan a QR code, that code is then "used" but you can't see the result in your smartphone ?
If so, the addition of the parameter "confirmation=1" in the URL will fix that issue.

When you perform your tests ; if you want to test several time the same serial ; you can edit it in the backend and change his "status" into "assigned" (instead of "used").
So the consume process will be allowed again and you would be able to re-scan the QRCode.

Otherwise, the best would be to check your HikaSerial configuration.
You can use the contact email to send us such kind of private information.

Regards,

---

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

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

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

Less More

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

10 years 9 months ago [\#226651](#226651) by [kevboab](/forum/user/38636-kevboab "View kevboab's Profile")  Replied by *[kevboab](/forum/user/38636-kevboab "View kevboab's Profile")* on topic *[qr scan - fatal errror](/forum/14-hikaserial/881556-qr-scan-fatal-errror#226651 "-- HikaShop version -- : 2.6.1 -- HikaSerial version -- : 1.10.1 -- Joomla version -- : 3.4.8 -- Browser(s) name and version -- : qr reader - iphone -- Error-message(debug-mod must be tuned on) -- : I have set up according to tutorial as best as possible. Upon receipt of ticket, when scanning to check if valid I receive a Fatal Error: call to a member function get () on a non-object in home/dir/dir/components/com&#95;hikaserial/views/srial/tmpl/consume.php on line 54.  I have only managed to get one bar code to scan succesfully and the remainder came back as invalid. I have tried nearly every setting under the sun however your serial / eticket tutorial is not exactly the clearest. It leaves a number of areas to guess at, or at least I find it like that.  Anyway, hope you can assist me.  I have set up according to tutorial as best as possible. Upon receipt of ticket, when scanning to check if valid I receive a Fatal Error: call to a member function get () on a non-object in home/dir/dir/components/com&#95;hikaserial/views/srial/tmpl/consume.php on line 54.  I have only managed to get one bar code to scan succesfully and the remainder came back as invalid. I have tried nearly every setting under the sun however your serial / eticket tutorial is not exactly the clearest. It leaves a number of areas to guess at, or at least I find it like that.  Anyway, hope you can assist me.")*

I now have serials being consumed correctly via iphone scanning thanks to your help.

There were incorrect settings which I had applied within the group filter plugin which was causing the serials to return a 'serial invalid' response.

Many thanks for your assistance getting us up and running. ![:cheer:](/media/kunena/emoticons/10.png ":cheer:")

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

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

[](#top)
