Title: PHP DEBUG error
Last modified: March 9, 2024

---

# PHP DEBUG error

 *  [sahandii](https://wordpress.org/support/users/sahandii/)
 * (@sahandii)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-debug-error-3/)
 * Hi, I was looking for potential debug errors with PHP, and one of them I got,
   was this.
 * **Notice** for mere information. (denne meddelelse blev tilføjet i version 4.6.0).
   in **/var/www/[REDACTED]/www/wp-includes/functions.php** on line **6031**
 * When I disable the plug-in, it’s gone. I’ve updated my WooCommerce+this plugin
   to the latest. PHP Version: 7.4.
 * Thank you for your help.
    -  This topic was modified 2 years, 3 months ago by [sahandii](https://wordpress.org/support/users/sahandii/).

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

 *  [louisekrokedil](https://wordpress.org/support/users/louisekrokedil/)
 * (@louisekrokedil)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-debug-error-3/#post-17490048)
 * Hi,
   If you are using WooCommerce Blocks on the Checkout/Cart pages, have you 
   made sure to change the Nets plugin setting **Checkout Flow** in WooCommerce 
   to **Redirect**? Nets Easy only has support for WooCommerce Blocks when using
   the Redirect flow.
 *  Thread Starter [sahandii](https://wordpress.org/support/users/sahandii/)
 * (@sahandii)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-debug-error-3/#post-17491056)
 * Hi, thank you for your help and reply.
 * I changed the Checkout Flow to ‘Redirect’ and sadly, i still get the error. The
   pages which is setup for checkout/cart, is just a simple page with the woo shortcodes
   made available. [woocommerce_cart] etc.
    -  This reply was modified 2 years, 3 months ago by [sahandii](https://wordpress.org/support/users/sahandii/).
 *  [Viktor Bijlenga](https://wordpress.org/support/users/viktorbijlenga/)
 * (@viktorbijlenga)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-debug-error-3/#post-17491090)
 * We get the same problem on a website. I’m guessing that the warning is related
   to the function register_block_method in dibs-easy-for-woocommerce.php line 309:
   
   [https://plugins.trac.wordpress.org/browser/dibs-easy-for-woocommerce/tags/2.8.1/dibs-easy-for-woocommerce.php#L309](https://plugins.trac.wordpress.org/browser/dibs-easy-for-woocommerce/tags/2.8.1/dibs-easy-for-woocommerce.php#L309)
 * I’m not sure what the issue is, but if I comment out the function, the notice
   doesn’t appear.
    -  This reply was modified 2 years, 3 months ago by [Viktor Bijlenga](https://wordpress.org/support/users/viktorbijlenga/).
 *  Thread Starter [sahandii](https://wordpress.org/support/users/sahandii/)
 * (@sahandii)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-debug-error-3/#post-17491108)
 * Hi,
   Does not work for me if I disable the function. I get this error –
 * **Warning**: call_user_func_array() expects parameter 1 to be a valid callback,
   class ‘DIBS_Easy’ does not have a method ‘register_block_method’ in **/var/www/[
   REDACTED]/www/wp-includes/class-wp-hook.php** on line **324**
 * Thank you for your help.
    -  This reply was modified 2 years, 3 months ago by [sahandii](https://wordpress.org/support/users/sahandii/).
    -  This reply was modified 2 years, 3 months ago by [sahandii](https://wordpress.org/support/users/sahandii/).
 *  [louisekrokedil](https://wordpress.org/support/users/louisekrokedil/)
 * (@louisekrokedil)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-debug-error-3/#post-17492893)
 * Hi,
   We have now released a new version 2.8.2 of the Nets Easy for WooCommerce
   plugin which removed a unnecessary loop when registering blocks payment methods
   that generated this PHP notice.

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

The topic ‘PHP DEBUG error’ is closed to new replies.

 * ![](https://ps.w.org/dibs-easy-for-woocommerce/assets/icon-256x256.png?rev=3535089)
 * [Nexi Checkout](https://wordpress.org/plugins/dibs-easy-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dibs-easy-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dibs-easy-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/dibs-easy-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dibs-easy-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dibs-easy-for-woocommerce/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [louisekrokedil](https://wordpress.org/support/users/louisekrokedil/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/php-debug-error-3/#post-17492893)
 * Status: not resolved