V
V
Vladimir2014-09-17 23:31:33
PHP
Vladimir, 2014-09-17 23:31:33

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

3 answer(s)
O
Optimus, 2016-09-12
Pyan @marrk2

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

R
Rsa97, 2016-09-12
@Rsa97

Add the m modifier (PCRE_MULTILINE)

D
Drupby, 2014-09-18
@seoyuzer

https://www.drupal.org/node/2197041

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question