FIX: class.php l.1080 avoid error when no user logged in
-
Please add this FIX to class.php l.1080 to avoid error when no user logged in
add_action('wp_footer', 'ai_footer_custom_codes'); function ai_footer_custom_codes() { $user_id = get_current_user_id(); //FIX: avoid error when not logged in if (! $user_id){return;}
- The topic ‘FIX: class.php l.1080 avoid error when no user logged in’ is closed to new replies.