Closed (duplicate)
Project:
Shortcode
Version:
7.x-2.26
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Nov 2018 at 17:23 UTC
Updated:
15 Nov 2018 at 23:56 UTC
Jump to comment: Most recent
Hi there,
I noticed when I tried to run cron on my site to index my nodes with the search_api module, it gives me the following error:
Error: [] operator not supported for strings in shortcode_add_class() (line 521 of
/srv/bindings/9fdc4550253c47f1bd20021d848a027d/code/profiles/cmf/modules/contrib/shortcode/shortcode.module).I'm running PHP 7.1.
I'm not sure what is causing this error. Do you have any ideas as to what is causing this?
Comments
Comment #2
gmclelland commentedStrange, the error goes away if I disable the Shortcode Basic Tags module. After that I can successfully index my content.
Comment #3
gmclelland commentedLooks like this may be a duplicate of #2865906: Error: [] operator not supported for strings in shortcode_add_class() (line 521 of ?
Comment #4
gmclelland commented