Parse error: syntax error, unexpected 'new' (T_NEW) in /home/printsho/www/www/php/wordpressgfg/wp-content/plugins/referrer-detector/rd.class.php on line 567

Fatal error: Uncaught Error: Call to undefined function is_user_logged_in() in /home/printsho/www/www/php/wordpressgfg/wp-includes/class-wp-query.php:2347 Stack trace: #0 /home/printsho/www/www/php/wordpressgfg/wp-includes/class-wp-query.php(3225): WP_Query->get_posts() #1 /home/printsho/www/www/php/wordpressgfg/wp-includes/class-wp-query.php(3331): WP_Query->query(Array) #2 /home/printsho/www/www/php/wordpressgfg/wp-content/plugins/feedwordpress/syndicatedlink.class.php(375): WP_Query->__construct(Array) #3 /home/printsho/www/www/php/wordpressgfg/wp-includes/class-wp-hook.php(286): SyndicatedLink->process_retirements(Array) #4 /home/printsho/www/www/php/wordpressgfg/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(Array, Array) #5 /home/printsho/www/www/php/wordpressgfg/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #6 /home/printsho/www/www/php/wordpressgfg/wp-content/plugins/feedwordpress/feedwordpress.php(1393): do_action('feedwordpress_u...', Array) #7 /home/printsho/www/www/php/wordpressgfg/wp-cont in /home/printsho/www/www/php/wordpressgfg/wp-includes/class-wp-query.php on line 2347