missing the required permission_callback argument
-
Hello,
I have a problem integrating the BankArt gateway on Google Cloud VM (Bitnami stack) running on Debian 9, with:
Wordpress version 5.8.2,
Woocommerce version 5.9.0,
PHP version 7.4.21I get errors (when debug is true) like:
1. Notice: register_rest_route е неточен.
The REST API route definition for tebank_payment_gateway/v1/order/(?P\d+) is missing the required permission_callback argument.2. For REST API routes that are intended to be public, use __return_true as the permission callback.
За пове?е информации погледнете Открива?е грешки во WordPress. (Оваа порака беше додадена во верзи?ата 5.5.0.) in /opt/bitnami/wordpress/wp-includes/functions.php on line 5663
SOMETIMES I GET THIS TOO, SOMETIMES NOT. NOT WITH THE CURRENT SETTINGS.
Notice: Constant NLB_PAYMENT_URL already defined in /bitnami/wordpress/wp-content/plugins/nlb-payment-gateway-for-woocommerce/classes/class-woocomemrce-nlb-payment-bankart.php on line 41APACHE ERROR LOG:
[Tue Nov 23 17:33:09.703755 2021] [mpm_event:notice] [pid 2124:tid 140478679391104]
AH00489: Apache/2.4.48 (Unix) OpenSSL/1.1.1d configured — resuming normal operations[Tue Nov 23 17:33:56.129447 2021]
[proxy_fcgi:error]
[pid 2226:tid 140477743478528]
[client 92.55.107.147:33474]
AH01071: Got error ‘PHP message: PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; e24PaymentPipe has a deprecated constructor in /bitnami/wordpress/wp-content/plugins/nlb-payment-gateway-for-woocommerce/tebank-files/e24PaymentPipe.php on line 31PHP message: PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SecureResource has a deprecated constructor in /bitnami/wordpress/wp-content/plugins/nlb-payment-gateway-for-woocommerce/tebank-files/SecureResource.php on line 18’, referer: https://server-ip/checkout/`I noticed on the other thread that someone tried to change versions and succeeded to set it up. Can someone tell me the best working stack for this plugin??
- The topic ‘missing the required permission_callback argument’ is closed to new replies.