Unable to access my payment gateway. Error message related to script and enqueue
-
Hello here is the error message that appears when we action our payment gateway.We have already disabled all plugins for testing.This message appears when we activate the new version of our payment gateway.
Here is the error message that appears
Notice: Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the ppro handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /htdocs/wp-includes/functions.php on line 5865Notice: Function is_feed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /htdocs/wp-includes/functions.php on line 5865
We tried to look in our PHP file. It seems that there are some codes to fill in.Could you help us? Could you give us a lead?Thank you in advance.
Here is what appears in our PHP file
?/** * Filters whether to load the authentication check. * * Returning a falsey value from the filter will effectively short-circuit * loading the authentication check. * * @since 3.6.0 * * @param bool ? ? ?$show ? Whether to load the authentication check. * @param WP_Screen $screen The current screen object. */ if ( apply_filters( ‘wp_auth_check_load’, $show, $screen ) ) { wp_enqueue_style( ‘wp-auth-check’ ); wp_enqueue_script( ‘wp-auth-check’ ); add_action( ‘admin_print_footer_scripts’, ‘wp_auth_check_html’, 5 ); add_action( ‘wp_print_footer_scripts’, ‘wp_auth_check_html’, 5 ); }}/**?* Outputs the HTML that shows the wp-login dialog when the user is no longer logged in.?*?* @since 3.6.0
Thanks for your help!
- The topic ‘Unable to access my payment gateway. Error message related to script and enqueue’ is closed to new replies.