Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can either change those continue; lines to break; as suggested by the error output, or update Revolution Slider to the latest version.
    This warning shows up when using PHP 7.3+.

    If unable to upgrade, you can get rid of the error by modifying the file throwing the error so it aligns with the parent class which it is extending.

    In the plugin folder, modify admin/includes/classes/class-axiom-plugin-updater.php and search for ‘function download_package’ (line 264 in my version). You need to modify the function signature and the call to the parent class, so the function should look like:

    public function download_package( $package, $check_signatures = false ) {
        // we will override package file with our own package
        $package = $this->get_downloaded_package_url();
    
        if( is_wp_error( $package ) )
           return $package;
    
        return parent::download_package( $package, $check_signatures = false );
    }

    If unable to upgrade, you can get rid of the error by modifying the file throwing the error so it aligns with the parent class which it is extending.

    In the plugin folder, modify admin/includes/classes/class-axiom-plugin-updater.php and search for ‘function download_package’ (line 264 in my version). You need to modify the function signature and the call to the parent class, so the function should look like:

    public function download_package( $package, $check_signatures = false ) {
        // we will override package file with our own package
        $package = $this->get_downloaded_package_url();
    
        if( is_wp_error( $package ) )
           return $package;
    
        return parent::download_package( $package, $check_signatures = false );
    }
    • This reply was modified 6 years, 10 months ago by jasoncarle.
Viewing 3 replies - 1 through 3 (of 3 total)