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

#   Frontend adding payment with points error

##

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

Less More

- Posts: 1195
- Thank you received: 13
-
-

7 years 2 months ago [\#310099](#310099) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  *[Frontend adding payment with points error](/forum/22-market-bug-report/898137-frontend-adding-payment-with-points-error#310099 "-- HikaShop version -- : 4.2.1 -- HikaMarket version -- : 3.0.2 -- Joomla version -- : 3.9.11 -- PHP version -- : 7.0.2  Hi! I believe I found a bug while I was adding as a vendor my payment methods. Adding HikaShop User Points payment plugin, I got Call to a member function display() on null. Please try it as vendor")* was created by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")*

-- HikaShop version -- : 4.2.1
-- HikaMarket version -- : 3.0.2
-- Joomla version -- : 3.9.11
-- PHP version -- : 7.0.2

Hi!
I believe I found a bug while I was adding as a vendor my payment methods. Adding HikaShop User Points payment plugin, I got
Call to a member function display() on null.
Please try it as vendor

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

7 years 2 months ago [\#310100](#310100) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Frontend adding payment with points error](/forum/22-market-bug-report/898137-frontend-adding-payment-with-points-error#310100 "-- HikaShop version -- : 4.2.1 -- HikaMarket version -- : 3.0.2 -- Joomla version -- : 3.9.11 -- PHP version -- : 7.0.2  Hi! I believe I found a bug while I was adding as a vendor my payment methods. Adding HikaShop User Points payment plugin, I got Call to a member function display() on null. Please try it as vendor")*

Hello,

Please activate the Joomla debug mode in order to have the callstack (which will indicate in which file the error is).

Regards,

---

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

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

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

Less More

- Posts: 1195
- Thank you received: 13
-
-

7 years 2 months ago [\#310120](#310120) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  Replied by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")* on topic *[Frontend adding payment with points error](/forum/22-market-bug-report/898137-frontend-adding-payment-with-points-error#310120 "-- HikaShop version -- : 4.2.1 -- HikaMarket version -- : 3.0.2 -- Joomla version -- : 3.9.11 -- PHP version -- : 7.0.2  Hi! I believe I found a bug while I was adding as a vendor my payment methods. Adding HikaShop User Points payment plugin, I got Call to a member function display() on null. Please try it as vendor")*

0
Call to a member function display() on null

Αρχική Σελίδα
Call stack
\# Function Location
1 () JROOT/plugins/hikashoppayment/userpoints/userpoints_configuration.php:39
2 require() JROOT/components/com_hikamarket/views/pluginmarket/view.html.php:566
3 pluginmarketViewpluginmarket-&gt;loadPluginTemplate() JROOT/components/com_hikamarket/views/pluginmarket/view.html.php:377
4 pluginmarketViewpluginmarket-&gt;form() JROOT/components/com_hikamarket/views/pluginmarket/view.html.php:21
5 pluginmarketViewpluginmarket-&gt;display() JROOT/libraries/src/MVC/Controller/BaseController.php:672
6 Joomla\CMS\MVC\Controller\BaseController-&gt;display() JROOT/administrator/components/com_hikamarket/helpers/helper.php:1626
7 hikamarketController-&gt;display() JROOT/components/com_hikamarket/controllers/plugin.php:145
8 pluginMarketController-&gt;edit() JROOT/libraries/src/MVC/Controller/BaseController.php:710
9 Joomla\CMS\MVC\Controller\BaseController-&gt;execute() JROOT/administrator/components/com_hikamarket/helpers/helper.php:1692
10 hikamarketController-&gt;execute() JROOT/components/com_hikamarket/hikamarket.php:76
11 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
12 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
13 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194
14 Joomla\CMS\Application\SiteApplication-&gt;dispatch() JROOT/libraries/src/Application/SiteApplication.php:233
15 Joomla\CMS\Application\SiteApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:196
16 Joomla\CMS\Application\CMSApplication-&gt;execute() JROOT/index.php:49

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg5ODEzNy1mcm9udGVuZC1hZGRpbmctcGF5bWVudC13aXRoLXBvaW50cy1lcnJvcj90bXBsPW1hcmtkb3du) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86575
- Thank you received: 14318
-
-

7 years 2 months ago [\#310126](#310126) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Frontend adding payment with points error](/forum/22-market-bug-report/898137-frontend-adding-payment-with-points-error#310126 "-- HikaShop version -- : 4.2.1 -- HikaMarket version -- : 3.0.2 -- Joomla version -- : 3.9.11 -- PHP version -- : 7.0.2  Hi! I believe I found a bug while I was adding as a vendor my payment methods. Adding HikaShop User Points payment plugin, I got Call to a member function display() on null. Please try it as vendor")*

Hi,

Add the code: Code:

$this-&gt;categoryType = hikashop_get('type.categorysub'); $this-&gt;categoryType-&gt;type = 'tax'; $this-&gt;categoryType-&gt;field = 'category_id';

before the line 39 of the file /plugins/hikashoppayment/userpoints/userpoints_configuration.php and it should fix the problem.
We'll add another patch on our end to fix the problem in a cleaner way.

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

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

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