Title: Error Operator -IN
Last modified: June 1, 2021

---

# Error Operator -IN

 *  Resolved [josevilar](https://wordpress.org/support/users/josevilar/)
 * (@josevilar)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/error-operator-in/)
 * Plugin version 2.2.6 the operator -IN gives me the following error:
    ————————————————————————————
   PHP Fatal error: Uncaught Error: Call to undefined function wp_cassify\maybe_serialize()
   in /var/www//public_html/wp-content/plugins/wp-cassify/classes/wp_cassify_rule_solver.
   php:103 Stack trace: #0 /var//public_html/wp-content/plugins/wp-cassify/classes/
   wp_cassify_rule_solver.php(484): wp_cassify\wp_cassify_rule_solver->match_cas_variable(‘
   CAS{employeeTyp…’, ‘/CAS{([^}]+)}/i…’) #1 /var//public_html/wp-content/plugins/
   wp-cassify/test.php(44): wp_cassify\wp_cassify_rule_solver->solve(‘(CAS{employeeTy…’)#
   2 {main} thrown in /var/www//public_html/wp-content/plugins/wp-cassify/classes/
   wp_cassify_rule_solver.php on line 103 ———————————————————————————– Error in 
   multi-evaluated fields. I don’t get the error
    -  This topic was modified 4 years, 12 months ago by [josevilar](https://wordpress.org/support/users/josevilar/).

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

 *  Plugin Author [Alain-Aymerick FRANCOIS](https://wordpress.org/support/users/aaf017/)
 * (@aaf017)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/error-operator-in/#post-14513286)
 * Hi,
 * I’m sorry.
 * I will patch the plugin in few days because i’m busy now. I will patch in new
   release on Friday.
 * But i have a quick solution for you :
 * Replace maybe_serialize function in wp_cassify_rule_solver.php by “serialize”
   like this (line 103):
 * wp_cassify_rule_operand = maybe_serialize( $this->cas_user_datas[ $matches_cas_variable_groups[
   1]
 * Best regards.`
 *  Thread Starter [josevilar](https://wordpress.org/support/users/josevilar/)
 * (@josevilar)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/error-operator-in/#post-14531116)
 * Hi,
 * Thank you for your help
 * I think the operator -IN does not understand the serialized data. If the data
   is serialized it does not work.
 * Best regards
 *  Plugin Author [Alain-Aymerick FRANCOIS](https://wordpress.org/support/users/aaf017/)
 * (@aaf017)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/error-operator-in/#post-14533518)
 * Hi,
 * Thanks for your feedback. Please upgrade to last release 2.2.7. Unless I’m mistaken,
   the bug should be solved.
 * Best regards.
 *  Thread Starter [josevilar](https://wordpress.org/support/users/josevilar/)
 * (@josevilar)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/error-operator-in/#post-14562947)
 * It works perfectly!
    Thank you!!

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

The topic ‘Error Operator -IN’ is closed to new replies.

 * ![](https://ps.w.org/wp-cassify/assets/icon-256x256.png?rev=3112582)
 * [WP Cassify](https://wordpress.org/plugins/wp-cassify/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cassify/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cassify/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cassify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cassify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cassify/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [josevilar](https://wordpress.org/support/users/josevilar/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/error-operator-in/#post-14562947)
 * Status: resolved