Jump to content
gusman126

Prestashop 1.6.18 - Really compatible with PHP 7.1?

Recommended Posts

Hello I have seen that they have updated the version of 1.6.18 and in the changelog they say that it is compatible with php 7.1

https://www.prestashop.com/en/system/files/ps_releases/changelog_1.6.1.18.txt

- Bug fix:
   
     - # 8644: Fix for PHP 7.x
    

- Front Office:
   - Improvement:
     - # 8564: Hide the password in the confirmation email
   - Bug fix:
    

- Core:
   - Bug fix:
   
     - # 8695: Fix PHP 7.1 compatibility
I have run tests and I have given error 500, I am doing a server change and now I can not do the tests.

Someone has tried ?

Does it really work with PHP 7.1?

Share this post


Link to post
Share on other sites
2 hours ago, gusman126 said:

Hello I have seen that they have updated the version of 1.6.18 and in the changelog they say that it is compatible with php 7.1

https://www.prestashop.com/en/system/files/ps_releases/changelog_1.6.1.18.txt

- Bug fix:
   
     - # 8644: Fix for PHP 7.x
    

- Front Office:
   - Improvement:
     - # 8564: Hide the password in the confirmation email
   - Bug fix:
    

- Core:
   - Bug fix:
   
     - # 8695: Fix PHP 7.1 compatibility
I have run tests and I have given error 500, I am doing a server change and now I can not do the tests.

Someone has tried ?

Does it really work with PHP 7.1?

 

But which error 500 have you got? Enable debug and check it.

 

Share this post


Link to post
Share on other sites

Because of problems with the server I had not tried until today

Error :

Fatal error: Cannot unset $this in /XXXXXXXXXXXXXXXX/modules/gsnippetsreviews/lib/hook/hook-display_class.php on line 62

Disable module :

All ok.

 

YES PRESTASHOP 1.6.18 IS COMPATIBLE WITH 7.1

 

try with 7.2 and ok, buy show errors

Warning: count(): Parameter must be an array or an object that implements Countable in /xxxxxxxxxxxxxxxxxxx/modules/blockcart/blockcart.php on line 158

Deprecated
: The each() function is deprecated. This message will be suppressed on further calls in
/xxxxxxxxxxxxxxx/tools/smarty/sysplugins/smarty_internal_compilebase.php
on line
75

Edited by gusman126 (see edit history)

Share this post


Link to post
Share on other sites

PHP 7.2 is really relatively new, I wouldn't use it yet, and I wouldn't expect it to work with Prestashop 1.6 or 1.7 at this time.

PHP 7.1 should work properly, but as you already found it, you have custom modules installed that may NOT work properly.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More