PHP Fatal error: Call to undefined function wp_autop()
-
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 ?? )
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP Fatal error: Call to undefined function wp_autop()’ is closed to new replies.