• Resolved ionadmin

    (@ionadmin)


    I get an error message when trying to update my PHP version:

    FILE: /home/daisypet/staging/4/wp-content/plugins/advanced-gutenberg/incl/advanced-gutenberg-main.php
    ————————————————————————————————————————-
    224 | ERROR | ‘clone’ is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function (T_CLONE)
    ————————————————————————————————————————-

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi,

    This error can be ignored, this function works for both php 5 and 7 versions.
    Indeed the clone function should be changed to a clone keyword to be strictly compatible to php 7 version.
    Just for information, what tool do you use to get this error?

    In any cases this part of the code is removed in the next release.
    You should not have this error anymore.

    Best regards

Viewing 1 replies (of 1 total)
  • The topic ‘cannot upgrade PHP version’ is closed to new replies.