Hi, I am getting an error message on all of my artist pages and the page is not formatting properly.
Here is the error that is on the page:
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /var/www/wptbox/wp-content/themes/sonaar/includes/sonaar-music/includes/widgets.php:1357 Stack trace: #0 /var/www/wptbox/wp-content/themes/sonaar/includes/sonaar-music/includes/widgets.php(767): Iron_Widget_Radio->get_playlist() #1 /var/www/wptbox/wp-includes/widgets.php(1257): Iron_Widget_Radio->widget() #2 /var/www/wptbox/wp-content/themes/sonaar/single-artist.php(49): the_widget() #3 /var/www/wptbox/wp-includes/template-loader.php(106): include('...') #4 /var/www/wptbox/wp-blog-header.php(19): require_once('...') #5 /var/www/wptbox/index.php(17): require('...') #6 {main} thrown in /var/www/wptbox/wp-content/themes/sonaar/includes/sonaar-music/includes/widgets.php on line 1357
Please let me know if you need any additional information.
It was because a conflict with Advanced Custom Field plugin. I deactivated it on your site because ACF Pro is built-in with our theme so you don't need it at a standalone plugin.
Hi, I am getting an error message on all of my artist pages and the page is not formatting properly.
Here is the error that is on the page:
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /var/www/wptbox/wp-content/themes/sonaar/includes/sonaar-music/includes/widgets.php:1357 Stack trace: #0 /var/www/wptbox/wp-content/themes/sonaar/includes/sonaar-music/includes/widgets.php(767): Iron_Widget_Radio->get_playlist() #1 /var/www/wptbox/wp-includes/widgets.php(1257): Iron_Widget_Radio->widget() #2 /var/www/wptbox/wp-content/themes/sonaar/single-artist.php(49): the_widget() #3 /var/www/wptbox/wp-includes/template-loader.php(106): include('...') #4 /var/www/wptbox/wp-blog-header.php(19): require_once('...') #5 /var/www/wptbox/index.php(17): require('...') #6 {main} thrown in /var/www/wptbox/wp-content/themes/sonaar/includes/sonaar-music/includes/widgets.php on line 1357
Please let me know if you need any additional information.
Thanks,
Evan
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,
please check now.
It was because a conflict with Advanced Custom Field plugin. I deactivated it on your site because ACF Pro is built-in with our theme so you don't need it at a standalone plugin.
Thanks,
Max from the Sonaar.io Crew
It looks good now. Thank you very much.
I enabled the ACF plugin because the documentation on the Sonaar website said it needed to be activated to install the Rebirth template. https://sonaar.io/docs/how-to-use-and-import-rebirth-elementor-kit/
Thanks again!
Evan
Yes. since you are using a sonaar theme, you don't need to install the acf plugin
Thanks,
Max from the Sonaar.io Crew
Ah ok. I just wanted to make sure the documentation was correct.
Evan