PHP 5.4 compatibility

  • Posts: 5
  • Thank you received: 0
11 years 3 months ago #116621

[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.

Please Log in or Create an account to join the conversation.

  • Posts: 26150
  • Thank you received: 4026
  • MODERATOR
11 years 3 months ago #116630

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

Thanks for the report !


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 0
11 years 3 months ago #116632

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....

Please Log in or Create an account to join the conversation.

  • Posts: 26150
  • Thank you received: 4026
  • MODERATOR
11 years 3 months ago #116638

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 & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 516
  • Thank you received: 8
  • Hikashop Business
11 years 2 months ago #120614

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

Please Log in or Create an account to join the conversation.

  • Posts: 82725
  • Thank you received: 13338
  • MODERATOR
11 years 2 months ago #120668

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 or Create an account to join the conversation.

Time to create page: 0.074 seconds
Powered by Kunena Forum