• Hello,

    I’m curious if this plugin (Vimeography) has been tested to be compatible with PHP 8+? I understand that I will need to update the PHP on my websites and test it out on the actual websites to be sure, but hearing from the plugin developers whether this plugin has been tested to be compatible with PHP 8 or not will help give me a sense of how much testing and bug fixing there is likely to be before I start the process.

    I appreciate any information you can give!

Viewing 1 replies (of 1 total)
  • The plugin is not compatible with PHP 8. Line 222 in “vimeography/lib/deprecated/core.php” uses a deprecated version of the implode() function. However, it seems to work without issue once you swap the $array and $separator params. So, instead of this block, which starts at line 220:

    // Add parameters which are common to all requests
        $params = array_merge( array(
        'fields' => implode( $fields, ',' ),
        'filter' => 'embeddable',
        'filter_embeddable' => 'true',
    ), $params );

    You’ll use:

    // Add parameters which are common to all requests
        $params = array_merge( array(
        'fields' => implode( ',', $fields ),
        'filter' => 'embeddable',
        'filter_embeddable' => 'true',
    ), $params );
    • This reply was modified 1 year, 6 months ago by Ben Davidson.
    • This reply was modified 1 year, 6 months ago by Ben Davidson.
Viewing 1 replies (of 1 total)
  • The topic ‘PHP 8+ Compatibility’ is closed to new replies.