PHP7 compatibility errors
-
Just testing my stack in prep for php 7 and found some errors. Apologies if these were already targeted for change.
FILE: /wp-content/plugins/cmb2/includes/CMB2_Types.php ------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------- 133 | ERROR | 'string' is a reserved keyword introduced in PHP version 7.0 and cannot be invoked as a function (T_STRING) ------------------------------------------------------------------------------------------------- FILE: //wp-content/plugins/cmb2/includes/CMB2_Field.php ------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------- 1054 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword 'string' (since version 7.0) -------------------------------------------------------------------------------------------------
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP7 compatibility errors’ is closed to new replies.