SQL

How to manage WordPress orphaned taxonomies

While developing my website I frequently got warnings. The one below means WordPress tried to access the property slug of an object that doesn’t exist (is null) and, as mentioned elsewhere, this usually happens when a menu, a snippet or other piece of code references a category that no longer exist.

Attempt to read property “slug” on null

While developing my website I frequently got warnings. When WordPress tries to access the property slug of an object that doesn’t exist (is null), it throws the following (or similar) warning: This usually happens when a menu, a snippet or other piece of code references a category that no longer exist. This means somewhere in […]