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

#   php 6 error

##

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

Less More

- Posts: 164
- Thank you received: 0
-
-

14 years 2 months ago [\#61575](#61575) by [Rollerskate](/forum/user/2700-rollerskate "View Rollerskate's Profile")  *[php 6 error](/forum/3-bug-report/61575-php-6-error#61575 "I am attempting to upgrade to php 6. Once I did via the htaccess file, I got these errors for Hikashop:  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 189  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 278  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 503  Is Hika Shop ready for php 6, or did I do something wrong?")* was created by *[Rollerskate](/forum/user/2700-rollerskate "View Rollerskate's Profile")*

I am attempting to upgrade to php 6. Once I did via the htaccess file, I got these errors for Hikashop:

Warning: Creating default object from empty value in /components/com_hikashop/views/product/view.html.php on line 189

Warning: Creating default object from empty value in /components/com_hikashop/views/product/view.html.php on line 278

Warning: Creating default object from empty value in /components/com_hikashop/views/product/view.html.php on line 503

Is Hika Shop ready for php 6, or did I do something wrong?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MTU3NS1waHAtNi1lcnJvcj90bXBsPW1hcmtkb3du) 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: 86541
- Thank you received: 14304
-
-

14 years 2 months ago [\#61582](#61582) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: php 6 error](/forum/3-bug-report/61575-php-6-error#61582 "I am attempting to upgrade to php 6. Once I did via the htaccess file, I got these errors for Hikashop:  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 189  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 278  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 503  Is Hika Shop ready for php 6, or did I do something wrong?")*

Hi,

The latest version of PHP is 5.4.6 : [ php.net/](http://php.net/)

So no, HikaShop is not compatible with PHP6 which doesn't exist yet.

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

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

Less More

- Posts: 164
- Thank you received: 0
-
-

14 years 2 months ago [\#61583](#61583) by [Rollerskate](/forum/user/2700-rollerskate "View Rollerskate's Profile")  Replied by *[Rollerskate](/forum/user/2700-rollerskate "View Rollerskate's Profile")* on topic *[Re: php 6 error](/forum/3-bug-report/61575-php-6-error#61583 "I am attempting to upgrade to php 6. Once I did via the htaccess file, I got these errors for Hikashop:  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 189  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 278  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 503  Is Hika Shop ready for php 6, or did I do something wrong?")*

Ok, sorry. I'll be more specific. An a extension I'm using requires php 5.3, but the 1and1 controls say to alter text in the htaccess file to "php 6", which, I assume, is their way of giving us access to using php 5.3 and any newer version until php 6.

Here's the instructions:
[ faq.1and1.com/scripting\_languages\_supported/htaccess/7.html](http://faq.1and1.com/scripting_languages_supported/htaccess/7.html)

See, the code they say to use is:
"AddHandler x-mapp-php6 .php" , which they say, will give us joomla users the ability to use php 5.3

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MTU3NS1waHAtNi1lcnJvcj90bXBsPW1hcmtkb3du) 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: 86541
- Thank you received: 14304
-
-

14 years 2 months ago [\#61584](#61584) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: php 6 error](/forum/3-bug-report/61575-php-6-error#61584 "I am attempting to upgrade to php 6. Once I did via the htaccess file, I got these errors for Hikashop:  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 189  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 278  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 503  Is Hika Shop ready for php 6, or did I do something wrong?")*

This is PHP 5.4 as the documentation says.
HikaShop has not yet been tested by us on PHP 5.4. We'll work on that after HikaShop 1.6.0
Joomla has still some similar issues on 5.4. For example:
[ forum.joomla.org/viewtopic.php?f=622&amp;t=726130](http://forum.joomla.org/viewtopic.php?f=622&t=726130)
So I would recommend to stick to 5.2 or 5.3 for now.

If you want to remove these warning messages (they are not really bugs, just that the way we're doing it dates from previous versions of PHP and it is not recommended anymore to do like that), you can try to change the option "error reporting" to "production" in the configuration page of Joomla.

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

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

Less More

- Posts: 164
- Thank you received: 0
-
-

14 years 2 months ago [\#61588](#61588) by [Rollerskate](/forum/user/2700-rollerskate "View Rollerskate's Profile")  Replied by *[Rollerskate](/forum/user/2700-rollerskate "View Rollerskate's Profile")* on topic *[Re: php 6 error](/forum/3-bug-report/61575-php-6-error#61588 "I am attempting to upgrade to php 6. Once I did via the htaccess file, I got these errors for Hikashop:  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 189  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 278  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 503  Is Hika Shop ready for php 6, or did I do something wrong?")*

Hm... Interesting. Perhaps there is a way for me to just use php 5.3 but not jump up to php 5.4. Though, not sure what code that would be for 1and1. I sent them an email, I'll put their answer in here for all to see if I find anything good.

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

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

Less More

- Posts: 164
- Thank you received: 0
-
-

14 years 2 months ago [\#64803](#64803) by [Rollerskate](/forum/user/2700-rollerskate "View Rollerskate's Profile")  Replied by *[Rollerskate](/forum/user/2700-rollerskate "View Rollerskate's Profile")* on topic *[Re: php 6 error](/forum/3-bug-report/61575-php-6-error#64803 "I am attempting to upgrade to php 6. Once I did via the htaccess file, I got these errors for Hikashop:  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 189  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 278  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 503  Is Hika Shop ready for php 6, or did I do something wrong?")*

Still haven't figured this out yet. You mentioned that there was a way to "change the option "error reporting" to "production" in the configuration page of Joomla", but I couldn't find it.

Can you help me find where to change the error reporting?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MTU3NS1waHAtNi1lcnJvcj90bXBsPW1hcmtkb3du) 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: 86541
- Thank you received: 14304
-
-

14 years 2 months ago [\#64805](#64805) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: php 6 error](/forum/3-bug-report/61575-php-6-error#64805 "I am attempting to upgrade to php 6. Once I did via the htaccess file, I got these errors for Hikashop:  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 189  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 278  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 503  Is Hika Shop ready for php 6, or did I do something wrong?")*

Here it is:
[ www.ostraining.com/cdn/images/stories/tu...4d1f41b42a2a9fd0.png](http://www.ostraining.com/cdn/images/stories/tutuploadstutuploadsstep3_feebd9587c882b774d1f41b42a2a9fd0.png)

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

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

Less More

- Posts: 164
- Thank you received: 0
-
-

14 years 2 months ago [\#64806](#64806) by [Rollerskate](/forum/user/2700-rollerskate "View Rollerskate's Profile")  Replied by *[Rollerskate](/forum/user/2700-rollerskate "View Rollerskate's Profile")* on topic *[Re: php 6 error](/forum/3-bug-report/61575-php-6-error#64806 "I am attempting to upgrade to php 6. Once I did via the htaccess file, I got these errors for Hikashop:  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 189  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 278  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 503  Is Hika Shop ready for php 6, or did I do something wrong?")*

Ah, nevermind, I found it on the "server" page under Configuration. I changed error reporting to "none" and that worked. Though, that kind of makes me a little nervous.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MTU3NS1waHAtNi1lcnJvcj90bXBsPW1hcmtkb3du) 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: 86541
- Thank you received: 14304
-
-

14 years 2 months ago [\#64807](#64807) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: php 6 error](/forum/3-bug-report/61575-php-6-error#64807 "I am attempting to upgrade to php 6. Once I did via the htaccess file, I got these errors for Hikashop:  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 189  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 278  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 503  Is Hika Shop ready for php 6, or did I do something wrong?")*

That option should be set to "production".
You don't want to display notices/warnings/errors to everyone as it could lead to a potential hacker to gain information on your system.
Setting that option to display the messages is useful when you are debugging a problem on your website.

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

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

Less More

- Posts: 164
- Thank you received: 0
-
-

14 years 2 months ago [\#64809](#64809) by [Rollerskate](/forum/user/2700-rollerskate "View Rollerskate's Profile")  Replied by *[Rollerskate](/forum/user/2700-rollerskate "View Rollerskate's Profile")* on topic *[Re: php 6 error](/forum/3-bug-report/61575-php-6-error#64809 "I am attempting to upgrade to php 6. Once I did via the htaccess file, I got these errors for Hikashop:  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 189  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 278  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 503  Is Hika Shop ready for php 6, or did I do something wrong?")*

I have it set to "none" right now.

I don't see "production" as an option.

All see is this:
-System Default
-None
-Simple
-Maximum
-Development

I thought Development might have been what you were talking about, but this put a whole bunch of crazy stuff above my site.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MTU3NS1waHAtNi1lcnJvcj90bXBsPW1hcmtkb3du) 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: 86541
- Thank you received: 14304
-
-

14 years 2 months ago [\#64813](#64813) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: php 6 error](/forum/3-bug-report/61575-php-6-error#64813 "I am attempting to upgrade to php 6. Once I did via the htaccess file, I got these errors for Hikashop:  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 189  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 278  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 503  Is Hika Shop ready for php 6, or did I do something wrong?")*

None is fine.

They had it named "production" before. Or maybe "production" is the french version of "none". Anyway, it doesn't matter.

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

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

Less More

- Posts: 164
- Thank you received: 0
-
-

14 years 2 months ago [\#64823](#64823) by [Rollerskate](/forum/user/2700-rollerskate "View Rollerskate's Profile")  Replied by *[Rollerskate](/forum/user/2700-rollerskate "View Rollerskate's Profile")* on topic *[Re: php 6 error](/forum/3-bug-report/61575-php-6-error#64823 "I am attempting to upgrade to php 6. Once I did via the htaccess file, I got these errors for Hikashop:  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 189  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 278  Warning: Creating default object from empty value in /components/com&#95;hikashop/views/product/view.html.php on line 503  Is Hika Shop ready for php 6, or did I do something wrong?")*

Ok, thanks. I just hope having it set to "none" doesn't prevent me from seeing future problems. But if something isn't working right, I suppose I could just turn it back on and find out what's wrong.

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

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