dom-parser conflict error
-
Hi
i used another plugin that also using “simple_html_dom” & “dom-parser”
and i got error –
AH01071: Got error ‘PHP message: PHP Fatal error: Cannot declare class simple_html_dom_node, because the name is already in use in…if think instead of
include_once(‘lib/dom-parser.php’);
in flying-scripts/html-rewrite.phpyou should do something like
if ( ! class_exists(‘simple_html_dom_node’) && ! class_exists(‘simple_html_dom’) && !function_exists(‘file_get_html’) ) include_once(‘lib/dom-parser.php’);Shay
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘dom-parser conflict error’ is closed to new replies.