This topic has 5 replies, 2 voices, and was last updated 6 years by Radu.

  • Author
  • #188453
     goustas
    Participant

    Hi,

     

    Which is the most recent compatible php version of the sweetdate?

    I’d like to update it to the most recent version that is compatible?

    Regards,

    George Oustas

    #188550
     Radu
    Moderator

    Hi,

    I know on php7 run’s ok

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #188620
     goustas
    Participant

    Hi,

    I run a php7 compatibility checker and i get the below warnings and errors:

    FILE: /VRESTAIRI.COM/wp-content/themes/sweetdate/framework/widgets/mailchimp/MCAPI.class.php
    ————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————-
    3100 | WARNING | INI directive ‘magic_quotes_runtime’ is deprecated since PHP 5.3 and removed since PHP 5.4.
    ————————————————————————————————————

    FILE: /VRESTAIRI.COM/wp-content/themes/sweetdate/framework/options/validation/preg_replace/validation_preg_replace.php
    ——————————————————————————-
    FOUND 1 ERROR AFFECTING 1 LINE
    ——————————————————————————-
    26 | ERROR | preg_replace() – /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0
    ————————————————————————————————————–

    Do you think the above will cause any problems on the sweetdate functionality or anywhere else?
    Should i switch to php7 or not?
    Regards,

    #188646
     Radu
    Moderator

    Hi,

    Those are warnings and cannot affect the theme fucntionality , but the latest one, please repalce this file : wp-content/themes/sweetdate/framework/options/validation/preg_replace/validation_preg_replace.php

    content with this one : https://pastebin.com/raw/KKt1Vj0H

    Let me know if you get this error : “26 | ERROR | preg_replace() – /e modifier is deprecated since PHP 5.5 and removed since PHP 7.0″If no it’s safe, let me know.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solution
    #188753
     goustas
    Participant

    Hi,

    I made the change you suggested me.
    It worked.
    I’ll switch it to php7 and i’ll let you know if there is any problems.
    Thanks for the support.

    Regards,
    George

    #188789
     Radu
    Moderator

    Hi

    Let me know

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?