Theme compatible with php 7+? - by emeliech

This topic has 2 replies, 2 voices, and was last updated 7 years, 1 months ago ago by Rose Tyler

  • Avatar: emeliech
    emeliech
    Participant
    October 3, 2017 at 14:08

    Hello ,

    Have noticed a lot of issues lately. Might be related to php 7 which we switched to not long ago.

    Ran PHP compatibility checker and found the warnings and errors below. If the Royal theme compatible with php7+? could you comment on the errors and warnings below?

    Thanks!
    Marcus

    FILE: /home/ringso5/public_html/wp-content/themes/royal/option-tree/includes/ot-cleanup-api.php
    ————————————————————————————————-
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    ————————————————————————————————-
    126 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4
    280 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4
    ————————————————————————————————-

    FILE: /home/ringso5/public_html/wp-content/themes/royal/framework/wordpress-importer/wordpress-importer.php
    —————————————————————————————————————————————————————————
    FOUND 1 ERROR AFFECTING 1 LINE
    —————————————————————————————————————————————————————————
    797 | ERROR | Indirect access to variables, properties and methods will be evaluated strictly in left-to-right order since PHP 7.0. Use curly braces to remove ambiguity.
    —————————————————————————————————————————————————————————

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 5, 2017 at 09:08

    Hello,

    Our theme is compatible with PHP 7. From this list, only 2 warning relate to our theme, but these also relate to plugins OptionTree and WordPress Importer, so warnings will be fixed in theme once plugin authors fix it. You may ignore these messages.

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.