Answer the question
In order to leave comments, you need to log in
How to remove the error that appears after resetting the cache?
Hello everyone) The site has a module (flag) installed in order to mark important nodes for output to the block, out of place with this an annoying error appeared after resetting the cache. I myself am not strong in php. and I can not understand why it appears, tell me what could be the problem? At the bottom, I inserted an error that a system message gives, Drupal version 7.
Notice: Undefined index: token type in the flag_token_info () function (line 88 in the /sites/all/modules/flag/flag.tokens.inc file).
Answer the question
In order to leave comments, you need to log in
preg_match_all parse all of ^\[foo\][\s\S]*?\[\/foo\]$
them will be in the array, then remove all elements of the array except the last two
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question