WHMCS-Bridge and PHP 7.3
-
I posted this to their site with no response so I figured I’d try here.
In running the bridge with PHP 7.3 all I get is
<div class=”main-section “>
<div class=”container”>
<div id=”bridge”></div><!–end bridge–>
</div>
</div>
in the body of the theme. The log file is riddled with the same errors over and over.
mod_fcgid: stderr: PHP Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in xxxxxxxx/wp-content/plugins/whmcs-bridge/includes/simple_html_dom.php on line 722, referer: https://xxxxxxxxx.com/The line of code is:
if (!preg_match(“/^[\w-:]+$/”, $tag)) {mod_fcgid: stderr: PHP Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in xxxxxxxxxxx/wp-content/plugins/whmcs-bridge/includes/simple_html_dom.php on line 387, referer: https://xxxxxxx.com/
The lines of code for this one is:
$pattern = “/([\w-:\*]*)(?:\#([\w-]+)|\.([\w-]+))?(?:\[@?(!?[\w-]+)(?:([!*^$]?=)[\”‘]?(.*?)[\”‘]?)?\])?([\/, ]+)/is”;
preg_match_all($pattern, trim($selector_string).’ ‘, $matches, PREG_SET_ORDER);I’m not a guru enough to resolve this one. Anyone?
- The topic ‘WHMCS-Bridge and PHP 7.3’ is closed to new replies.