• Resolved Anonymous User 14808221

    (@anonymized-14808221)


    Hello

    When you use Relevannsi and a Front End Submission Tool like CRED, you will receive a Fatal Error.

    To replicate, you need to use as example Views and types, index a Custom Field with Relevanssi and use an Edit Form to submit a related post.

    The Error is visible on submission.

    It’s due to the fact that in indexing.php you added a Patch for ACF, that does not include wp-admin/includes/plugin.php.
    (line 733)

    If you add this below to your code, just above if (! is_plugin_active('advanced-custom-fields/acf.php')) return ; you will fix the issue:
    include_once( ABSPATH . 'wp-admin/includes/plugin.php' );

    This is also explained in the Codex:
    https://codex.ww.wp.xz.cn/Function_Reference/is_plugin_active

    Please let us know if we are wrong, but As Far I saw, this fixes the problem.

    We are to reach here:
    https://wp-types.com/forums/forum/support-2/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mikko Saari

    (@msaari)

    This is a known bug and will be fixed in the next version.

    Thread Starter Anonymous User 14808221

    (@anonymized-14808221)

    This is great news, thank you.

    We will update our Clients as well and point them to this thread here.

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

The topic ‘Fatal Error when using Front End Submission Forms’ is closed to new replies.