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

#   Error when creation of category

##

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

Less More

- Posts: 27
- Thank you received: 2
-
-
-

4 years 5 months ago [\#342080](#342080) by [alexnovo](/forum/user/66168-alexnovo "View alexnovo's Profile")  *[Error when creation of category](/forum/32-content-creation/904496-error-when-creation-of-category#342080 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 4.1.4 -- PHP version -- : 8.0.18 -- Browser(s) name and version -- : Chrome 99.0.4844.51 (Officiële build) (64-bits) -- Error-message(debug-mod must be tuned on) -- : 0 Attempt to assign property &quot;old&quot; on null Call stack # Function Location 1 () JROOT/administrator/components/com&#95;hikashop/classes/category.php:184 2 hikashopCategoryClass-&gt;save() JROOT/administrator/components/com&#95;hikashop/classes/category.php:155 3 hikashopCategoryClass-&gt;saveForm() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2081 4 hikashopController-&gt;store() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2021 5 hikashopController-&gt;apply() JROOT/libraries/src/MVC/Controller/BaseController.php:735 6 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2238 7 hikashopController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/hikashop.php:73 8 require&#95;once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69 9 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 10 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389 11 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143 12 Joomla&#92;CMS&#92;Application&#92;AdministratorApplication-&gt;dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186 13 Joomla&#92;CMS&#92;Application&#92;AdministratorApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:278 14 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/administrator/includes/app.php:63 15 require&#95;once() JROOT/administrator/index.php:32  I haven't found this problem on the support yet, but might have overlooked it.  When trying to create a new category i get a error message.  0 Attempt to assign property &quot;old&quot; on null")* was created by *[alexnovo](/forum/user/66168-alexnovo "View alexnovo's Profile")*

-- HikaShop version -- : 4.6.0
-- Joomla version -- : 4.1.4
-- PHP version -- : 8.0.18
-- Browser(s) name and version -- : Chrome 99.0.4844.51 (Officiële build) (64-bits)
-- Error-message(debug-mod must be tuned on) -- : 0 Attempt to assign property "old" on null
Call stack
\# Function Location
1 () JROOT/administrator/components/com_hikashop/classes/category.php:184
2 hikashopCategoryClass-&gt;save() JROOT/administrator/components/com_hikashop/classes/category.php:155
3 hikashopCategoryClass-&gt;saveForm() JROOT/administrator/components/com_hikashop/helpers/helper.php:2081
4 hikashopController-&gt;store() JROOT/administrator/components/com_hikashop/helpers/helper.php:2021
5 hikashopController-&gt;apply() JROOT/libraries/src/MVC/Controller/BaseController.php:735
6 Joomla\CMS\MVC\Controller\BaseController-&gt;execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:2238
7 hikashopController-&gt;execute() JROOT/administrator/components/com_hikashop/hikashop.php:73
8 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
9 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
11 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
12 Joomla\CMS\Application\AdministratorApplication-&gt;dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
13 Joomla\CMS\Application\AdministratorApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
14 Joomla\CMS\Application\CMSApplication-&gt;execute() JROOT/administrator/includes/app.php:63
15 require_once() JROOT/administrator/index.php:32

I haven't found this problem on the support yet, but might have overlooked it.

When trying to create a new category i get a error message.

0 Attempt to assign property "old" on null

---

Best regards,

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

Less More

- Posts: 86587
- Thank you received: 14325
-
-

4 years 5 months ago [\#342083](#342083) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error when creation of category](/forum/32-content-creation/904496-error-when-creation-of-category#342083 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 4.1.4 -- PHP version -- : 8.0.18 -- Browser(s) name and version -- : Chrome 99.0.4844.51 (Officiële build) (64-bits) -- Error-message(debug-mod must be tuned on) -- : 0 Attempt to assign property &quot;old&quot; on null Call stack # Function Location 1 () JROOT/administrator/components/com&#95;hikashop/classes/category.php:184 2 hikashopCategoryClass-&gt;save() JROOT/administrator/components/com&#95;hikashop/classes/category.php:155 3 hikashopCategoryClass-&gt;saveForm() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2081 4 hikashopController-&gt;store() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2021 5 hikashopController-&gt;apply() JROOT/libraries/src/MVC/Controller/BaseController.php:735 6 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2238 7 hikashopController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/hikashop.php:73 8 require&#95;once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69 9 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 10 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389 11 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143 12 Joomla&#92;CMS&#92;Application&#92;AdministratorApplication-&gt;dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186 13 Joomla&#92;CMS&#92;Application&#92;AdministratorApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:278 14 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/administrator/includes/app.php:63 15 require&#95;once() JROOT/administrator/index.php:32  I haven't found this problem on the support yet, but might have overlooked it.  When trying to create a new category i get a error message.  0 Attempt to assign property &quot;old&quot; on null")*

Hi,

Thank you for your feedback. That comes from a wrong copy/paste among the modifications we made for HikaShop 4.6.0 which results in the fatal error on PHP8.

I've made a patch for it on our end. Download again the install package of the 4.6.0 on our website and install it on yours and it will add the patch for it.

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

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

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

Less More

- Posts: 27
- Thank you received: 2
-
-
-

4 years 5 months ago [\#342087](#342087) by [alexnovo](/forum/user/66168-alexnovo "View alexnovo's Profile")  Replied by *[alexnovo](/forum/user/66168-alexnovo "View alexnovo's Profile")* on topic *[Error when creation of category](/forum/32-content-creation/904496-error-when-creation-of-category#342087 "-- HikaShop version -- : 4.6.0 -- Joomla version -- : 4.1.4 -- PHP version -- : 8.0.18 -- Browser(s) name and version -- : Chrome 99.0.4844.51 (Officiële build) (64-bits) -- Error-message(debug-mod must be tuned on) -- : 0 Attempt to assign property &quot;old&quot; on null Call stack # Function Location 1 () JROOT/administrator/components/com&#95;hikashop/classes/category.php:184 2 hikashopCategoryClass-&gt;save() JROOT/administrator/components/com&#95;hikashop/classes/category.php:155 3 hikashopCategoryClass-&gt;saveForm() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2081 4 hikashopController-&gt;store() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2021 5 hikashopController-&gt;apply() JROOT/libraries/src/MVC/Controller/BaseController.php:735 6 Joomla&#92;CMS&#92;MVC&#92;Controller&#92;BaseController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/helpers/helper.php:2238 7 hikashopController-&gt;execute() JROOT/administrator/components/com&#95;hikashop/hikashop.php:73 8 require&#95;once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69 9 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher::Joomla&#92;CMS&#92;Dispatcher&#92;{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71 10 Joomla&#92;CMS&#92;Dispatcher&#92;LegacyComponentDispatcher-&gt;dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389 11 Joomla&#92;CMS&#92;Component&#92;ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143 12 Joomla&#92;CMS&#92;Application&#92;AdministratorApplication-&gt;dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186 13 Joomla&#92;CMS&#92;Application&#92;AdministratorApplication-&gt;doExecute() JROOT/libraries/src/Application/CMSApplication.php:278 14 Joomla&#92;CMS&#92;Application&#92;CMSApplication-&gt;execute() JROOT/administrator/includes/app.php:63 15 require&#95;once() JROOT/administrator/index.php:32  I haven't found this problem on the support yet, but might have overlooked it.  When trying to create a new category i get a error message.  0 Attempt to assign property &quot;old&quot; on null")*

Yes, this did the trick. Thank you for the quick solution.

---

Best regards,

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

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

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