• Resolved ibrahimoo

    (@ibrahimoo)


    Hi @maartenbelmans,

    The plugin works fine on a server running PHP 7.2 but it gives the below error on another server running PHP 7.3.

    Fatal error: Uncaught TypeError: Argument 1 passed to SW_WAPF\Includes\Classes\Conditions::is_field_group_valid() must be an instance of SW_WAPF\Includes\Models\FieldGroup, bool given, called in [PATH]/includes/classes/class-field-groups.php on line 434 and defined in [PATH]/includes/classes/class-conditions.php:407

    Is it something related to PHP options/plugins that need to be installed/configured?

    Many thanks in advance.
    Ibrahim

    • This topic was modified 4 years, 7 months ago by ibrahimoo.
    • This topic was modified 4 years, 7 months ago by ibrahimoo.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Maarten

    (@maartenbelmans)

    Hi @ibrahimoo

    How did you migrate from one server to another? Did you use a “find-replace” plugin? I have a feeling that it messed up our data structure, as such your product fields are no longer valid in your database.

    Thread Starter ibrahimoo

    (@ibrahimoo)

    Hi @maartenbelmans,

    Thank you for your prompt response.

    Actually I changed the urls directly from the database through SQL query (wp_posts and wp_postsmeta tables). Everything works fine except WAPF!

    Unfortunately, I can’t import/export WAPF from one server to another.
    Hope you can advise how this can be fixed.
    Many thanks

    • This reply was modified 4 years, 7 months ago by ibrahimoo.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal Error After Migration’ is closed to new replies.