Warning: Illegal string offset 'callable' in rdf_rdfa_attributes() (line 181 of core/modules/rdf/rdf.module).
Warning: call_user_func() expects parameter 1 to be a valid callback, function 'd' not found or invalid function name in rdf_rdfa_attributes() (line 183 of core/modules/rdf/rdf.module).
REFERRER http://d8:8082/forum/1
MESSAGE Warning: Illegal string offset 'callable' in rdf_rdfa_attributes() (line 181 of /Users/acausing/Desktop/chocchip/drupal8/core/modules/rdf/rdf.module).
content 09/16/2013 - 23:21 forum: added This is a new topic. dev view <-- after adding topic
php 09/16/2013 - 23:21 Warning: Illegal string offset 'callable' in rdf_rdfa… dev <--- warning exist
Steps before this warning appeared:
1. Forum, Syslog
2. Post on forum (General) -> warning start to exist
3. Disabled Forum, and Syslog -> Still persist.
4. Uninstall Forum, and Syslog -> Still persist.
5. Under Content List when Forum topic is deleted the warning/error didn't exist anymore.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2090139-2.patch | 662 bytes | sidharthap |
Comments
Comment #1
sidharthapIssue is reproduce able.
There is no callable function name defined on rdf.mapping.node.forum.yml file. More info is here https://drupal.org/node/2020001.
Comment #2
sidharthapPatch for correction of rdf.mapping.node.forum.yml.
Comment #3
andypostAwesome!
Comment #4
webchickSince this is just basically a typo and we're unlikely to introduce it again:
Committed and pushed to 8.x. Thanks!
However, it'd be great to write a Forum module test that could cause this error if the patch was backed out. Setting back to active for that.
Comment #4.0
webchickadded last step and warning is gone.
Comment #19
quietone CreditAttribution: quietone at PreviousNext commentedThis issue was committed to 8.x and re-opened to add a test. Since it was committed, let's close this and open a followup.
This is the followup #3270260: Test the callbacks in rdf.mapping.node.forum.yml.
And restoring the version when this was committed and setting to fixed.