• Resolved ThosEnt

    (@thosent)


    Error appears repeatedly after install, at “settings”:

    Warning: preg_replace(): Compilation failed: invalid range in character class at offset 14 in [website]/wp-content/plugins/mage-reviews/core/mage-cast.php on line 195

    https://ww.wp.xz.cn/plugins/mage-reviews/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi ThosEnt to fix this problem
    in [website]/wp-content/plugins/mage-reviews/core/mage-cast.php
    replace
    $string = preg_replace('/[^A-Za-z0-9_-\s]/', '', $string);

    with
    $string = preg_replace('/^([-\w\s])+$/i', '', $string);

    Plugin Author Maximilian Ruthe

    (@maximilian-ruthe)

    This should be resolved in the new version – please verify if it works for you.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Installed, errors’ is closed to new replies.