Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I have got the following error:
'clone' is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function (T_CLONE) found on line number 997 of file "views\includes\admin.inc" and on line number 1956 on "views\includes\view.inc" when php5.6 upgrade test is run against phpCodeSniffer.
Please help me with the patch or fix.
Your help is appreciated.
Regards,
Hanumantagouda
Comments
Comment #1
Liam MorlandThis can probably be easily resolved the same was as #2533112: 'clone' is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function.
Comment #2
DamienMcKenna