Drupal Answers is a question and answer site for Drupal developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When trying to delete taxonomy terms using the backend I get a 500 error. I am able to update the terms, but not delete any. I was able to recreate this behaviour locally which was fixed with a core update to 7.51 however this has not fixed the issue on the live site.

Error:

PHP Fatal error: Cannot use object of type stdClass as array in /var/www/vhost/httpdocs/modules/taxonomy/taxonomy.admin.inc on line 830, referer: http://example.org/taxonomy/term/397/edit?destination=admin/structure/taxonomy/event_categories

Any solution for this?

share|improve this question
    
What do you mean by "using the backend"? If you mean from code, can you update the question to add teh code as well? – AjitS Nov 10 at 8:08
    
Could you please update code you have tried, then only we can help you on this. – Ak_mana Nov 10 at 8:29
    
The drupal backend. Structure > Taxonomy > Term Edit > Delete > Yes As a temporary workaround i installed 'taxonomy_manager' module – user74847 Nov 10 at 8:44
    
Did you install any other taxonomy related module? – Jimmy Ko Nov 10 at 10:21
    
I suspect it is a translation module that is causing the problem. – user74847 yesterday

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.