I'm currently getting this Error:
Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\wordpress\wp-includes\theme.php on line 629
and I don't have an Idea how to fix it.
If you are using WordPress make sure the_content is inside the loop. That was my issues.
<?php
while ( have_posts() ) : the_post();
the_content();
endwhile; // End of the loop.
?>
Duplicate of phpmyadmin - count(): Parameter must be an array or an object that implements Countable
Accepted answer from that page is given below.
Edit file /usr/share/phpmyadmin/libraries/sql.lib.php:
sudo nano /usr/share/phpmyadmin/libraries/sql.lib.php
Replace: count($analyzed_sql_results['select_expr'] == 1)
With: (count($analyzed_sql_results['select_expr']) == 1)
Restart the server
sudo service apache2 restart
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With