Category: WordPress tips

WC Filter Products by Attribute internal server error allowed memory bytes exhausted

WooCommerce Filter Products by Attribute widget was causing the shop page to produce an Internal Server Error 500 and preventing the page from displaying. While logged in and WP_DEBUG enabled the page loaded partially but failed when it was time to render the widget. Looking at WooCommerce -> Status -> Logs -> fatal-errors-*.log the error…

mysqli_real_connect() – Access denied for user ‘root’@’localhost’

After migrating a development environment to a new server a problem connecting WordPress to the MySQL database appeared. Using the MySQL root user with no password for a WordPress installation used to be fine: How ever since MySQL 5.7 using the root user with no password seems to be a dealbreaker, resulting in the following…

Displaying posts from all categories on an archive page

In WordPress the “Blog” page is what displays all the posts from different categories. You can only have 1 blog page and it can either be on the front page or some other specified page. It can be configured from WordPress admin dashboard -> Appearance -> Reading -> Your homepage displays -> Posts page. With…