Fix for Plugin Stopped Working
-
Recently with the new update the plugin stopped working. When I enabled the debug mode, I found following error:-
basename() expects parameter 1 to be string array given on line 65
I looked carefully and found below on line 65
$slug = htmlspecialchars( basename( $request_array )[0] );
I changed it to below one and it started working fine:-
$slug = htmlspecialchars( basename( $request_array[0] ) );
- The topic ‘Fix for Plugin Stopped Working’ is closed to new replies.