bbioonThemes
  • Home
  • Blog

Category: Bug Fixing

Bug Fixing, Development

How a bad custom WP_Query can wreck your site

A WooCommerce shop was timing out because a pre_get_posts hook ran a tax query on every request site-wide. Scoping it to the main shop query with is_main_query, is_admin, and is_shop cut page loads from 20 seconds to under 2.

Read Article
Bug Fixing, Development

WordPress unit testing is a safety net for complex code

I got a call from a client running a decent-sized WooCommerce store. They needed a “quick change” to a custom coupon function. Seemed simple enough….

Read Article
Bug Fixing, Development

What is Software Complexity and Why Should You Care?

I got a call from a new client. Their WooCommerce store was bleeding money because one of their main payment gateways would randomly fail at…

Read Article
Bug Fixing, Development

A better way to build complicated WordPress queries

I got a call from a client with a big WooCommerce store. Their “You Might Also Like” section on product pages was a disaster. It…

Read Article
Bug Fixing, Development

Stop writing messy WP_Query arrays. Do this instead.

Got a call from a client running a huge WooCommerce store. They wanted a “related products” feature that was… ambitious. It needed to show products…

Read Article
Bug Fixing, Development

Stop hooking your WordPress classes in the constructor

I got a call from a client in a panic. Their custom inventory sync plugin was failing silently on the live site. No errors, no…

Read Article
Bug Fixing, Development

Stop scattering WP_Query: use a repository pattern instead

I got a call from a client with a major headache. They run a big events portal, built on a custom plugin we inherited. Over…

Read Article
Bug Fixing, Development

Stop chasing bugs with a better WordPress event management system

Had a client come to us with a site that was a total mess. It had years of custom code from different developers, and things…

Read Article
Bug Fixing, Development

How debugging skills make you a better developer

A WooCommerce coupon worked for regular customers but failed for wholesale ones. Deactivating plugins got me nowhere; stepping through the code with Xdebug found a role-check bug in about 15 minutes.

Read Article
Bug Fixing, Development

When a PHP loop is the wrong tool for the job

A WooCommerce sales widget kept timing out because it stacked nested foreach loops. Swapping them for array_filter, array_map, and array_reduce made the code fast and readable.

Read Article

Posts navigation

Previous 1 … 14 15 16 … 18 Next

bbioonThemes

Senior WordPress Engineer
Toptal & Codeable Expert

Connect

  • GitHub
  • Twitter
  • LinkedIn
  • Codeable

Explore

  • Expertise
  • Work
  • Insights
  • Blog

Resources

  • bbioonThemes
  • Contact
  • Privacy Policy
© 2026 bbioonThemes. All rights reserved.
Privacy