Support » Plugin: Instant Articles for WP » PHP 7 incompatibility

  • FILE: /home/wp/disk/wordpress/wp-content/plugins/fb-instant-articles/vendor/apache/log4php/src/main/php/configurators/LoggerConfigurationAdapterXML.php
    -------------------------------------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    -------------------------------------------------------------------------------------------------------------------------------------------------------
     1 | WARNING | File has mixed line endings; this may cause incorrect results
    -------------------------------------------------------------------------------------------------------------------------------------------------------
    
    FILE: /home/wp/disk/wordpress/wp-content/plugins/fb-instant-articles/vendor/apache/log4php/src/examples/php/appender_socket_server.php
    --------------------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    --------------------------------------------------------------------------------------------------------------------------------------
     57 | ERROR | Function split() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_split instead
    --------------------------------------------------------------------------------------------------------------------------------------
Viewing 2 replies - 1 through 2 (of 2 total)
  • I discovered the same errors when running WP Engine’s PHP Compatibility Checker plugin. Any updates coming? WPE is asking us to move to a new enterprise cluster and PHP7. Would be nice to not have to remove this plugin in order to do so.

    Got the same error. Both of those errors are in example files in the included library log4php. They’re not used by the plugin. I upgraded and it’s running fine. You can tell WPEngine to disregard those errors.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP 7 incompatibility’ is closed to new replies.