• Resolved Gaia Clary

    (@gaia-clary)


    in /awesome-support/class-awesome-support.php line 871 you use wp_autop()
    However this function could be disabled. This leads to a fatal error. I fixed that by changing the broken line as follows:

    if (function_exists ("wp_autop"))
        echo '<div style="display: none;"><div id="wpas-modalterms">' . wp_autop( wp_kses_post( $terms ) ) . '</div></div>';
    else
        echo '<div style="display: none;"><div id="wpas-modalterms">' . wp_kses_post( $terms ) . '</div></div>';

    Please consider to fix that as well (in a better way of course ?? )

    https://www.ads-software.com/plugins/awesome-support/

Viewing 1 replies (of 1 total)
  • Plugin Author julien731

    (@julien731)

    This has already been fixed in development. We were calling the wrong function, it’s wpautop() with no underscore ??

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Fatal error: Call to undefined function wp_autop()’ is closed to new replies.