• Resolved JuanM

    (@jmagtags)


    Hello,
    I get this error with WP_debug enabled on PHP 8.1.23:
    Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in #######\plugins\template-events-calendar\includes\ect-tinycolor\Color.php on line 459

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support shubham0095

    (@shubham0095)

    Hi @jmagtags

    Thanks for detecting the issue.
    To fix this issue please follow this steps.
    Go to plugin folder -> includes -> ect-tinycolor -> Color.php

    please add the following code above line no. 459 code
    if ($color === null) {
    return false;
    }

    We will fix this issue in our future updates.

    Thread Starter JuanM

    (@jmagtags)

    Ok. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Deprecated function’ is closed to new replies.