Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../public_h.../wp-conte.../plugins/wpforms-.../includes/admin
File: class-install-skin.php
<?php
[0] Fix | Delete
[1] Fix | Delete
use WPForms\Helpers\PluginSilentUpgraderSkin;
[2] Fix | Delete
[3] Fix | Delete
/**
[4] Fix | Delete
* Skin for on-the-fly addon installations.
[5] Fix | Delete
*
[6] Fix | Delete
* @since 1.0.0
[7] Fix | Delete
* @since 1.5.6.1 Extend PluginSilentUpgraderSkin and clean up the class.
[8] Fix | Delete
*/
[9] Fix | Delete
class WPForms_Install_Skin extends PluginSilentUpgraderSkin {
[10] Fix | Delete
[11] Fix | Delete
/**
[12] Fix | Delete
* Instead of outputting HTML for errors, json_encode the errors and send them
[13] Fix | Delete
* back to the Ajax script for processing.
[14] Fix | Delete
*
[15] Fix | Delete
* @since 1.0.0
[16] Fix | Delete
*
[17] Fix | Delete
* @param array $errors Array of errors with the install process.
[18] Fix | Delete
*/
[19] Fix | Delete
public function error( $errors ) {
[20] Fix | Delete
[21] Fix | Delete
if ( ! empty( $errors ) ) {
[22] Fix | Delete
wp_send_json_error( $errors );
[23] Fix | Delete
}
[24] Fix | Delete
}
[25] Fix | Delete
}
[26] Fix | Delete
[27] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function