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

gmclelland created an issue. See original summary.

gmclelland’s picture

Strange, the error goes away if I disable the Shortcode Basic Tags module. After that I can successfully index my content.

gmclelland’s picture

Status: Active » Closed (duplicate)