• 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!

Viewing 3 replies - 1 through 3 (of 3 total)
  • If the problem only occurs when the payment plugin is enabled, then I would recommend you contact their support. Unfortunately you didn’t mention the name of the plugin, so I can’t tell you where to find it.

    And yes, the mentioned message comes from the WordPress core – but is caused by incorrect calls to the core functions of this payment plugin. Never change anything in any core file.

    Thread Starter ltimaee480

    (@ltimaee480)

    Thanks you very much for your answers.

    Our plugins payment name Paiement pro https://www.paiementpro.net/

    Then please contact their support. Since it is obviously a commercial product, questions about it here in the forum are not allowed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Unable to access my payment gateway. Error message related to script and enqueue’ is closed to new replies.