• Resolved alexliii

    (@alexliii)


    2024/05/23 13:23:16 [error] 45032#45032: *515 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "role" in /var/www/mysite.com/htdocs/wp-content/plugins/dokan-lite/includes/Registration.php on line 58PHP message: PHP Warning:  Undefined array key "role" in /var/www/mysite.com/htdocs/wp-content/plugins/dokan-lite/includes/Registration.php on line 58" while reading response header from upstream, client: 64.23.42.138, server: mysite.com, request: "POST /my-account/ HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php81-two-fpm.sock:", host: "mysite.com", referrer: "https://mysite.com/my-account/"

    Hello,

    Is Dokan compatible with PHP8.1 or Nginx Fastcgi cache?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    Hi @alexliii,

    Just to clarify, I would like to know if you are getting this warning message only when using the registration form of the Dokan Lite plugin.

    Thanks!

    Thread Starter alexliii

    (@alexliii)

    Hello,

    Just did a try.

    and we are using the following code snipptes to disable Vendor register:

    remove_action( ‘woocommerce_register_form’, ‘dokan_seller_reg_form_fields’ );

    In this case, Regiester is clickable even if there is no input in the Email address form:

    https://prnt.sc/ycDhki3yCydZ

    Then, it will show the error log

    2024/05/23 13:23:16 [error] 45032#45032: *515 FastCGI sent in stderr: “PHP message: PHP Warning: Undefined array key “role” in /var/www/mysite.com/htdocs/wp-content/plugins/dokan-lite/includes/Registration.php on line 58PHP message: PHP Warning: Undefined array key “role” in /var/www/mysite.com/htdocs/wp-content/plugins/dokan-lite/includes/Registration.php on line 58″ while reading response header from upstream, client: 64.23.42.138, server: mysite.com, request: “POST /my-account/ HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php/php81-two-fpm.sock:”, host: “mysite.com”, referrer: “https://mysite.com/my-account/”

    Highly feature request upon Native setting to disable vendor register, as we are using manually verifying.

    Thanks

    Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    Hi @alexliii,

    Our developer had a look at the issue. They have introduced a PR as shown in this link. Once the PR is merged, I believe you will no longer face the issue.

    Thanks!

    Plugin Support Tanvir Hasan

    (@tanvirh)

    Hi @alexliii

    As we haven’t heard back from you for a while, we’ll consider this topic resolved. If you encounter any further issues, please don’t hesitate to open a new topic.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.