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

#   PHP 5.4 compatibility

##

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

Less More

- Posts: 5
- Thank you received: 0
-
-
- [](http://www.steffanharris.co.uk)
-

13 years 3 months ago [\#116621](#116621) by [scisteffan](/forum/user/18922-scisteffan "View scisteffan's Profile")  *[PHP 5.4 compatibility](/forum/2-general-talk-about-hikashop/860523-php-5-4-compatibility#116621 "&#91;HikaShop version&#93; : 2.1.3 &#91;Joomla version&#93; : 3.1.4 &#91;PHP version&#93; : 5.4.15 &#91;Browser(s) name and version&#93; : Mozilla Firefox 22.0 &#91;Error-message(debug-mod must be tuned on)&#93; : ( ! ) Warning: Creating default object from empty value in /Library/WebServer/Documents/virtualmotorpix/administrator/components/com&#95;hikashop/views/field/view.html.php on line 150  May I suggest fixing warning messages on PHP 5.4? This one appears if you assign categories to a custom field. In the code, it needs to have an object initialization, like $obj = new stdClass.")* was created by *[scisteffan](/forum/user/18922-scisteffan "View scisteffan's Profile")*

[HikaShop version] : 2.1.3
[Joomla version] : 3.1.4
[PHP version] : 5.4.15
[Browser(s) name and version] : Mozilla Firefox 22.0
[Error-message(debug-mod must be tuned on)] : ( ! ) Warning: Creating default object from empty value in /Library/WebServer/Documents/virtualmotorpix/administrator/components/com_hikashop/views/field/view.html.php on line 150

May I suggest fixing warning messages on PHP 5.4? This one appears if you assign categories to a custom field. In the code, it needs to have an object initialization, like $obj = new stdClass.

---

[ www.steffanharris.co.uk](http://www.steffanharris.co.uk)

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

13 years 3 months ago [\#116630](#116630) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[PHP 5.4 compatibility](/forum/2-general-talk-about-hikashop/860523-php-5-4-compatibility#116630 "&#91;HikaShop version&#93; : 2.1.3 &#91;Joomla version&#93; : 3.1.4 &#91;PHP version&#93; : 5.4.15 &#91;Browser(s) name and version&#93; : Mozilla Firefox 22.0 &#91;Error-message(debug-mod must be tuned on)&#93; : ( ! ) Warning: Creating default object from empty value in /Library/WebServer/Documents/virtualmotorpix/administrator/components/com&#95;hikashop/views/field/view.html.php on line 150  May I suggest fixing warning messages on PHP 5.4? This one appears if you assign categories to a custom field. In the code, it needs to have an object initialization, like $obj = new stdClass.")*

Hi,

This warning fix is already include in HikaShop 2.2.0 (but we didn't mention it in the change log)
[ www.hikashop.com/support/documentation/5...ashop-changelog.html](http://www.hikashop.com/support/documentation/56-hikashop-changelog.html)

Thanks for the report !

---

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

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-
- [](http://www.steffanharris.co.uk)
-

13 years 3 months ago [\#116632](#116632) by [scisteffan](/forum/user/18922-scisteffan "View scisteffan's Profile")  Replied by *[scisteffan](/forum/user/18922-scisteffan "View scisteffan's Profile")* on topic *[PHP 5.4 compatibility](/forum/2-general-talk-about-hikashop/860523-php-5-4-compatibility#116632 "&#91;HikaShop version&#93; : 2.1.3 &#91;Joomla version&#93; : 3.1.4 &#91;PHP version&#93; : 5.4.15 &#91;Browser(s) name and version&#93; : Mozilla Firefox 22.0 &#91;Error-message(debug-mod must be tuned on)&#93; : ( ! ) Warning: Creating default object from empty value in /Library/WebServer/Documents/virtualmotorpix/administrator/components/com&#95;hikashop/views/field/view.html.php on line 150  May I suggest fixing warning messages on PHP 5.4? This one appears if you assign categories to a custom field. In the code, it needs to have an object initialization, like $obj = new stdClass.")*

Thanks for the quick response. When I go to the member area and click "Download the latest version of Hikashop Starter", the file it wants to download is version 2.1.3....

---

[ www.steffanharris.co.uk](http://www.steffanharris.co.uk)

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

13 years 3 months ago [\#116638](#116638) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[PHP 5.4 compatibility](/forum/2-general-talk-about-hikashop/860523-php-5-4-compatibility#116638 "&#91;HikaShop version&#93; : 2.1.3 &#91;Joomla version&#93; : 3.1.4 &#91;PHP version&#93; : 5.4.15 &#91;Browser(s) name and version&#93; : Mozilla Firefox 22.0 &#91;Error-message(debug-mod must be tuned on)&#93; : ( ! ) Warning: Creating default object from empty value in /Library/WebServer/Documents/virtualmotorpix/administrator/components/com&#95;hikashop/views/field/view.html.php on line 150  May I suggest fixing warning messages on PHP 5.4? This one appears if you assign categories to a custom field. In the code, it needs to have an object initialization, like $obj = new stdClass.")*

Hi,

We migrated our website this afternoon, the HikaShop version was not right during few hours.
The package you downloaded was the 2.2.0 one but with a wrong filename. You can check the XML file in the package if you want to be sure.

I fixed the value of the current HikaShop version in our database. The filename is the right one now.

Regards,

---

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

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

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

Less More

- Posts: 610
- Thank you received: 13
-

13 years 2 months ago [\#120614](#120614) by [mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")  Replied by *[mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")* on topic *[PHP 5.4 compatibility](/forum/2-general-talk-about-hikashop/860523-php-5-4-compatibility#120614 "&#91;HikaShop version&#93; : 2.1.3 &#91;Joomla version&#93; : 3.1.4 &#91;PHP version&#93; : 5.4.15 &#91;Browser(s) name and version&#93; : Mozilla Firefox 22.0 &#91;Error-message(debug-mod must be tuned on)&#93; : ( ! ) Warning: Creating default object from empty value in /Library/WebServer/Documents/virtualmotorpix/administrator/components/com&#95;hikashop/views/field/view.html.php on line 150  May I suggest fixing warning messages on PHP 5.4? This one appears if you assign categories to a custom field. In the code, it needs to have an object initialization, like $obj = new stdClass.")*

What's the fix if I don't want to upgrade just yet?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg2MDUyMy1waHAtNS00LWNvbXBhdGliaWxpdHk/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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14279
-
-

13 years 2 months ago [\#120668](#120668) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PHP 5.4 compatibility](/forum/2-general-talk-about-hikashop/860523-php-5-4-compatibility#120668 "&#91;HikaShop version&#93; : 2.1.3 &#91;Joomla version&#93; : 3.1.4 &#91;PHP version&#93; : 5.4.15 &#91;Browser(s) name and version&#93; : Mozilla Firefox 22.0 &#91;Error-message(debug-mod must be tuned on)&#93; : ( ! ) Warning: Creating default object from empty value in /Library/WebServer/Documents/virtualmotorpix/administrator/components/com&#95;hikashop/views/field/view.html.php on line 150  May I suggest fixing warning messages on PHP 5.4? This one appears if you assign categories to a custom field. In the code, it needs to have an object initialization, like $obj = new stdClass.")*

The simplest is to turn off the "error reporting" option of the joomla configuration (it should be turned off on a production website anyway for security reasons).

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

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

[](#top)
