Can’t assign to overloaded object wp-includes/category.php

This error can come up when you upgrade your WordPress to the latest version when I was working on a localhost and creating a database directory by using an excellent Directory theme from Templatic and the author’s page was not displaying properly and gave this error.

“Fatal error: Cannot assign by reference to overloaded object” “wp-includes/category.php on line 342”

Cannot assign by reference to overloaded object wp-includes/category.php

You don’t need to look at the category.php file, instead of editing it follow these steps and problem must be solved. Just simply go to Design Setting under Theme setting and change the option for “Breadcrumbs Navigation” from Yes to No and my problem is solved.

Breadcrumbs-Navigation

But in case if you have any other theme do the following steps:

If Installed the breadcrumbs Plugin, Most likely you have to installed the breadcrumbs plugin, which need to be updated.

1) Try to install this plug-in standard WordPress -> it will give you an error that the update is not possible and show the way where the subject breadcrumbs. ( wp-content/themes / )

2) Remove the plugin.

3) Reinstall it and activate it

Instead of using free breadcrumbs Plugin, you can use following premium plugins:

Smart Breadcrumbs – WordPress Plugin

Want to add custom breadcrumbs to your website? Here’s the easiest way!
Just a few clicks & you have customizable breadcrumbs at your service.
Different models to choose from & the possibility to choose the font, font color, font size, hover state & more.

More Info & Download

Hope, this will resolve your errors. Let me know in the comments section if this fixed the issue.

Disclosure: Some of the links in this article are affiliate links and we may earn a small commission if you make a purchase, which helps us to keep delivering quality content to you. Here is our disclosure policy.

Noor Mustafa Raza
Noor Mustafa Raza
I am a WordPress Developer and Designer, author @WPArena. I am providing Free WordPress consultation and can help you to install WordPress in a secure way to small businesses and bloggers.

LEAVE A REPLY

Please enter your comment!
Please enter your name here
Captcha verification failed!
CAPTCHA user score failed. Please contact us!

spot_img

Related Articles

How to Fix WordPress Plugin Request Time Out Error

The "Request Time Out" error can be a real headache for WordPress users. It pops up when your server takes...
Read More
  Due to its great accessibility and the numerous functionalities it offers, WordPress is now probably the most popular, powerful and...
One of the main reasons why web developers widely use WordPress is because it is easy to use and reliable....