• jcrea

    (@jcrea)


    Fatal error: Uncaught TypeError: ftp_fput(): Argument #1 ($ftp) must be of type resource, null given in /www/vhosts/marionchurchbv/html/wp-admin/includes/class-wp-filesystem-ftpext.php:212 Stack trace: #0 /www/vhosts/marionchurchbv/html/wp-admin/includes/class-wp-filesystem-ftpext.php(212): ftp_fput() #1 /www/vhosts/marionchurchbv/html/wp-content/plugins/master-slider/admin/includes/msp-admin-functions.php(98): WP_Filesystem_FTPext->put_contents() #2 /www/vhosts/marionchurchbv/html/wp-content/plugins/master-slider/admin/class-master-slider-admin.php(126): msp_save_custom_styles() #3 /www/vhosts/marionchurchbv/html/wp-content/plugins/master-slider/admin/class-master-slider-admin.php(112): Master_Slider_Admin->after_plugin_update() #4 /www/vhosts/marionchurchbv/html/wp-includes/class-wp-hook.php(324): Master_Slider_Admin->admin_init() #5 /www/vhosts/marionchurchbv/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #6 /www/vhosts/marionchurchbv/html/wp-includes/plugin.php(517): WP_Hook->do_action() #7 /www/vhosts/marionchurchbv/html/wp-admin/admin.php(175): do_action() #8 /www/vhosts/marionchurchbv/html/wp-admin/post.php(12): require_once(‘…’) #9 {main} thrown in /www/vhosts/marionchurchbv/html/wp-admin/includes/class-wp-filesystem-ftpext.php on line 212

    I commented out the msp_save_custom_styles line below and the admin area now loads.
    This needs addressed.

    Thanks.

      /**
    * Regenerate and cache custom css codes for all slider after plugin update
    *
    * @return bool TRUE on success, FALSE otherwise
    */
    public function after_plugin_update (){

    if( get_option( 'masterslider_lite_plugin_version', '0' ) == MSWP_AVERTA_VERSION )
    return false;

    # msp_save_custom_styles();
    // msp_flush_all_sliders_cache(); 2.0.0
    update_option( 'masterslider_lite_plugin_version', MSWP_AVERTA_VERSION );
    do_action( 'masterslider_after_plugin_updated' );

    return true;
    }
    • This topic was modified 3 months ago by jcrea.
    • This topic was modified 3 months ago by jcrea.
  • You must be logged in to reply to this topic.