Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I get this warning on the forum home page when the Advanced Forum module is enabled.
Warning: Illegal string offset 'vocabulary' in advanced_forum_forum_load() (line 168 of /home/xxxxxx/public_html/sites/all/modules/advanced_forum/includes/core-overrides.inc).
and line 168:
if ($allowed_value['vocabulary'] == $vocabulary->machine_name) {
I've searched for a solution for this going on a week and a half now. I'm somewhat of a drupal rookie but if anyone has any ideas or can point me in a direction I would appreciate it.
Thanks
Comments
Comment #2
MichelleIf the forum is otherwise working, try making this change for now:
That will get rid of the notice. I need to see if I can reproduce this locally. It's possible something has changed in the structure that is making this code not work anymore but I can't tell just from reading the code. Will leave this active and have a look when I have a bit of free time.
Comment #3
dmh CreditAttribution: dmh commentedHi Michelle,
Yes everything else seems to be working fine.
and that got rid of the warning message.
Thank you very much