Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Ben Davidson

    (@kzooben)

    Sure thing and thank you for the prompt reply! This was the latest, which showed up when I was trying to edit an existing gallery, though I get similar issues with trying to create new ones:

    PHP Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array, null given in /nas/content/live/***/wp-content/plugins/photonic/Admin/Wizard/Flickr.php:458#012Stack trace:#012#0 /nas/content/live/***/wp-content/plugins/photonic/Admin/Wizard/Flickr.php(458): array_merge(NULL, Array)#012#1 /nas/content/live/***/wp-content/plugins/photonic/Admin/Wizard/Wizard.php(262): Photonic_Plugin\Admin\Wizard\Flickr->make_request('album-photo', 'other', Array)#012#2 /nas/content/live/***/wp-content/plugins/photonic/Admin/Wizard/Wizard.php(126): Photonic_Plugin\Admin\Wizard\Wizard->validate(2, 'flickr', Array)#012#3 /nas/content/live/***/wp-content/plugins/photonic/Admin/Admin.php(179): Photonic_Plugin\Admin\Wizard\Wizard->get_screen()#012#4 /nas/content/live/***/wp-includes/class-wp-hook.php(324): Photonic_Plugin\Admin\Admin->wizard_next_screen('')#012#5 /nas/content/live/***/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)#012#6 /nas/content/live/***/wp-includes/plugin.php(517): WP_Hook->do_action(Array)#012#7 /nas/content/live/***/wp-admin/admin-ajax.php(192): do_action('wp_ajax_photoni...')#012#8 {main}#012 thrown in /nas/content/live/***/wp-content/plugins/photonic/Admin/Wizard/Flickr.php on line 458

    Additionally, I’m seeing the following show up sometimes:

    PHP Warning: Undefined array key "success" in /nas/content/live/***/wp-content/plugins/photonic/Admin/Wizard/Flickr.php on line 458

    Thread Starter Ben Davidson

    (@kzooben)

    It does! Thank you. I’ve implemented the change and it’s working properly.

    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 3 years, 8 months ago by Ben Davidson.
    • This reply was modified 3 years, 8 months ago by Ben Davidson.
Viewing 3 replies - 1 through 3 (of 3 total)