Edit File by line
/home/zeestwma/richards.../wp-conte.../plugins/elemento.../data/v2/base/exceptio...
File: wp-error-exception.php
<?php
[0] Fix | Delete
namespace Elementor\Data\V2\Base\Exceptions;
[1] Fix | Delete
[2] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[3] Fix | Delete
exit; // Exit if accessed directly.
[4] Fix | Delete
}
[5] Fix | Delete
[6] Fix | Delete
class WP_Error_Exception extends Data_Exception {
[7] Fix | Delete
public function __construct( \WP_Error $wp_error ) {
[8] Fix | Delete
parent::__construct( $wp_error->get_error_message(), $wp_error->get_error_code(), [
[9] Fix | Delete
'status' => $wp_error->get_error_code(),
[10] Fix | Delete
] );
[11] Fix | Delete
}
[12] Fix | Delete
}
[13] Fix | Delete
[14] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function