Fatal error restore_current_blog does not exists
-
We use wordpress automatic plugin for posting to our wordpress. Your social poster throws a fatal error (when posting) because of using this function restore_current_blog without checking if exists. this function lays in this file ms-blogs.php and it is not always loaded
social-networks-auto-poster-facebook-twitter-g/NextScripts_SNAP.php on line 248
here is the fix
//SNAP fix
`if(! function_exists(‘restore_current_blog’)){
require_once ABSPATH.’/’. WPINC .’/ms-blogs.php’;
}
`https://www.ads-software.com/plugins/social-networks-auto-poster-facebook-twitter-g/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Fatal error restore_current_blog does not exists’ is closed to new replies.