Every tjme I try to activate the MP3 plaver (installed from the button or by searching for the Sonaar mp3 player from wp/plugins) it causes an instant fatal error . The log file shows
The issue looks related to a third party plugin called Groups. Do you still use this plugin ?
Here is the main error you get:
Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /Users/mjutras/Local Sites/srmp3/app/public/wp-includes/capabilities.php on line 693
Interesting. I use Groups to be able to assign different coupons and automatic discounts to customers. I'd need to find an alternative to that, since that would also involve deactivating the Woocommerce Group Coupon plugin.
Every tjme I try to activate the MP3 plaver (installed from the button or by searching for the Sonaar mp3 player from wp/plugins) it causes an instant fatal error . The log file shows
[Sat May 21 10:17:10.815946 2022] [proxy_fcgi:error] [pid 79192:tid 140003141199616] [client 86.154.144.194:0] AH01071: Got error 'PHP message: PHP Warning: Undefined property: stdClass::$plugin in /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-list-util.php on line 167PHP message: PHP Warning: Undefined property: stdClass::$plugin in /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-list-util.php on line 167', referer: https://chimesmusic.online/wp-admin/plugin-install.php?s=%20MP3%20Audio%20Player%20by%20Sonaar&tab=search&type=term
[Sat May 21 10:17:33.987521 2022] [proxy_fcgi:error] [pid 79192:tid 140003183163136] [client 86.154.144.194:0] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/capabilities.php:693 Stack trace: #0 /var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/groups/lib/access/class-groups-post-access.php(230): current_user_can() #1 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-hook.php(307): Groups_Post_Access::posts_where() #2 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/plugin.php(233): WP_Hook->apply_filters() #3 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(2625): apply_filters_ref_array() #4 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(3542): WP_Query->get_posts() #5 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(3653): WP_Query->query() #6 /var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/mp3-music-player-by-sonaar/admin/class-sonaar-music-admin.php(3658): WP_Query->__constru...', referer: https://chimesmusic.online/wp-admin/plugin-install.php?s=%20MP3%20Audio%20Player%20by%20Sonaar&tab=search&type=term
[Sat May 21 10:17:43.185967 2022] [proxy_fcgi:error] [pid 79192:tid 140002101028608] [client 86.154.144.194:0] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/capabilities.php:693 Stack trace: #0 /var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/groups/lib/access/class-groups-post-access.php(230): current_user_can() #1 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-hook.php(307): Groups_Post_Access::posts_where() #2 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/plugin.php(233): WP_Hook->apply_filters() #3 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(2625): apply_filters_ref_array() #4 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(3542): WP_Query->get_posts() #5 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(3653): WP_Query->query() #6 /var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/mp3-music-player-by-sonaar/admin/class-sonaar-music-admin.php(3658): WP_Query->__constru...', referer: https://chimesmusic.online/wp-admin/plugins.php?plugin_status=all&paged=1&s
[Sat May 21 10:17:58.730089 2022] [proxy_fcgi:error] [pid 79191:tid 140002176530176] [client 40.77.167.69:0] AH01071: Got error 'PHP message: PHP Warning: require_once(/var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/mp3-music-player-by-sonaar/admin/class-sonaar-music-review.php): Failed to open stream: No such file or directory in /var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/mp3-music-player-by-sonaar/includes/class-sonaar-music.php on line 103PHP message: PHP Fatal error: Uncaught Error: Failed opening required '/var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/mp3-music-player-by-sonaar/admin/class-sonaar-music-review.php' (include_path='.:/opt/plesk/php/8.0/share/pear') in /var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/mp3-music-player-by-sonaar/includes/class-sonaar-music.php:103 Stack trace: #0 /var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/mp3-music-player-by-sonaar/includes/class-sonaar-music.php(75): Sonaar_Music->load_dependencies() #1 /var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/mp3-music-player-by-sonaar/sonaar-music.php(122): Sonaar_Music->__construct() #2 /var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/mp3-music-player-by-sonaar/sonaar-music.php(126): run_sonaar_music() #3 /var/www/vhosts/chimesmusic.online/httpdocs/wp-settings.php(418): include_once('...') #4 /var/www/vhosts/chimesmusic.online/httpdocs/wp-config.php(78): require_once('...') #5 /var/www/...'
[Sat May 21 10:23:35.706589 2022] [proxy_fcgi:error] [pid 79192:tid 140003006981888] [client 86.154.144.194:0] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/capabilities.php:693 Stack trace: #0 /var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/groups/lib/access/class-groups-post-access.php(230): current_user_can() #1 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-hook.php(307): Groups_Post_Access::posts_where() #2 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/plugin.php(233): WP_Hook->apply_filters() #3 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(2625): apply_filters_ref_array() #4 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(3542): WP_Query->get_posts() #5 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(3653): WP_Query->query() #6 /var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/mp3-music-player-by-sonaar/admin/class-sonaar-music-admin.php(3658): WP_Query->__constru...', referer: https://chimesmusic.online/wp-admin/update.php?action=install-plugin&plugin=mp3-music-player-by-sonaar&_wpnonce=da824b3269
[Sat May 21 10:23:38.699143 2022] [proxy_fcgi:error] [pid 79192:tid 140003183163136] [client 185.191.171.43:0] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/capabilities.php:693 Stack trace: #0 /var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/groups/lib/access/class-groups-post-access.php(230): current_user_can() #1 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-hook.php(307): Groups_Post_Access::posts_where() #2 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/plugin.php(233): WP_Hook->apply_filters() #3 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(2625): apply_filters_ref_array() #4 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(3542): WP_Query->get_posts() #5 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(3653): WP_Query->query() #6 /var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/mp3-music-player-by-sonaar/admin/class-sonaar-music-admin.php(3658): WP_Query->__constru...'
[Sat May 21 10:23:47.306667 2022] [proxy_fcgi:error] [pid 79192:tid 140003132806912] [client 185.191.171.38:0] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/capabilities.php:693 Stack trace: #0 /var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/groups/lib/access/class-groups-post-access.php(230): current_user_can() #1 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-hook.php(307): Groups_Post_Access::posts_where() #2 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/plugin.php(233): WP_Hook->apply_filters() #3 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(2625): apply_filters_ref_array() #4 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(3542): WP_Query->get_posts() #5 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(3653): WP_Query->query() #6 /var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/mp3-music-player-by-sonaar/admin/class-sonaar-music-admin.php(3658): WP_Query->__constru...'
[Sat May 21 10:23:57.331892 2022] [proxy_fcgi:error] [pid 79192:tid 140002059065088] [client 185.191.171.7:0] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/capabilities.php:693 Stack trace: #0 /var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/groups/lib/access/class-groups-post-access.php(230): current_user_can() #1 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-hook.php(307): Groups_Post_Access::posts_where() #2 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/plugin.php(233): WP_Hook->apply_filters() #3 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(2625): apply_filters_ref_array() #4 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(3542): WP_Query->get_posts() #5 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(3653): WP_Query->query() #6 /var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/mp3-music-player-by-sonaar/admin/class-sonaar-music-admin.php(3658): WP_Query->__constru...'
[Sat May 21 10:24:09.130570 2022] [proxy_fcgi:error] [pid 79192:tid 140003141199616] [client 66.249.66.217:0] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/capabilities.php:693 Stack trace: #0 /var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/groups/lib/access/class-groups-post-access.php(230): current_user_can() #1 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-hook.php(307): Groups_Post_Access::posts_where() #2 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/plugin.php(233): WP_Hook->apply_filters() #3 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(2625): apply_filters_ref_array() #4 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(3542): WP_Query->get_posts() #5 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(3653): WP_Query->query() #6 /var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/mp3-music-player-by-sonaar/admin/class-sonaar-music-admin.php(3658): WP_Query->__constru...'
[Sat May 21 10:24:11.001670 2022] [proxy_fcgi:error] [pid 79192:tid 140003015374592] [client 185.191.171.7:0] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/capabilities.php:693 Stack trace: #0 /var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/groups/lib/access/class-groups-post-access.php(230): current_user_can() #1 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-hook.php(307): Groups_Post_Access::posts_where() #2 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/plugin.php(233): WP_Hook->apply_filters() #3 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(2625): apply_filters_ref_array() #4 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(3542): WP_Query->get_posts() #5 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(3653): WP_Query->query() #6 /var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/mp3-music-player-by-sonaar/admin/class-sonaar-music-admin.php(3658): WP_Query->__constru...'
[Sat May 21 10:24:13.023675 2022] [proxy_fcgi:error] [pid 79192:tid 140003032160000] [client 217.146.95.83:0] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/capabilities.php:693 Stack trace: #0 /var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/groups/lib/access/class-groups-post-access.php(230): current_user_can() #1 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-hook.php(307): Groups_Post_Access::posts_where() #2 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/plugin.php(233): WP_Hook->apply_filters() #3 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(2625): apply_filters_ref_array() #4 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(3542): WP_Query->get_posts() #5 /var/www/vhosts/chimesmusic.online/httpdocs/wp-includes/class-wp-query.php(3653): WP_Query->query() #6 /var/www/vhosts/chimesmusic.online/httpdocs/wp-content/plugins/mp3-music-player-by-sonaar/admin/class-sonaar-music-admin.php(3658): WP_Query->__constru...'
I've only just bought this plugin so am a;lready beginning to regret it.
Hi,
Sorry for the issue you have.
Could you please provide me access to your wp-admin and I will gladly check the issue you have.
Thanks,
Max from the Sonaar.io Crew
Hi,
Sorry for the issue you have.
Could you please provide me access to your FTP so I can fix the error
Thanks,
Max from the Sonaar.io Crew
Hi,
The issue looks related to a third party plugin called Groups. Do you still use this plugin ?
Here is the main error you get:
Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /Users/mjutras/Local Sites/srmp3/app/public/wp-includes/capabilities.php on line 693
If you deactivate the plugin groups, it works.
Unfortunately, it wont work with this plugin
Thanks,
Max from the Sonaar.io Crew
Interesting. I use Groups to be able to assign different coupons and automatic discounts to customers. I'd need to find an alternative to that, since that would also involve deactivating the Woocommerce Group Coupon plugin.
Still, it's a challenge :-)
Thank you for your help.