How to fix the error when logging in to the WP admin panel after updating the theme?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
25 views
Good day, please help with the problem.

Put update the theme through the admin panel.
Then began to appear an error when you try to log in admin panel of WP..
Nothing else had been touched, the theme is paid, until then it worked fine.
The error text:
Widget class US_Widget_Socials is not found at /var/www/u0317617/data/www/redpack.ru/wp-content/themes/Impreza/framework/widgets/us_socials.php

5aec39b3c4d66527485925.png
by | 25 views

3 Answers

0 like 0 dislike
As an option to rename the folder with the theme Impreza (for example _Impreza) and try to go to the admin area again.
by
0 like 0 dislike
I in such cases write directly to the developers of the theme ))
Perhaps a bug in the update
by
0 like 0 dislike
Thank you all. Don't have time to write the developers, as everything works)
by
110,608 questions
257,187 answers
0 comments
40,796 users