[Plugin: Archivist – Custom Archive Templates] Error when activating
-
The error is:
Parse error: syntax error, unexpected T_FUNCTION in /home/public_html/wp-content/plugins/archivist-custom-archive-templates/archivist.php on line 313
Issue seems to be with declaring functions inside the
preg_replace_callback()function. Quickly moving the function out and passing the callback function name as a sting (e.g. ‘TAGS_callback’) seemed to work but there are lots of calls topreg_replace_callback()within themain render_element()function.I’ll try for a more elegant solution later.
http://ww.wp.xz.cn/extend/plugins/archivist-custom-archive-templates/
The topic ‘[Plugin: Archivist – Custom Archive Templates] Error when activating’ is closed to new replies.