• Resolved oh_franck

    (@oh_franck)


    Hi,
    every new data request immediately gets the status “Expired” and the Requests to Process is always zero, I never get the “Manage” link. Cron job is never created.

    I went to my web host logs and it’s full of errors :
    FastCGI: server "/home/clients/dbcf1a2fe4da2347c2a201114f0d2a83/.config/apache/www.mydomain.com/.fpm/php5.external" stderr: PHP message: PHP Warning: mysqli_query(): Error reading result set's header in /home/clients/dbcf1a2fe4da2347c2a201114f0d2a83/html/mydomain/wp-includes/wp-db.php on line 1924, referer: https://www.mydomain.com/wp-cron.php?doing_wp_cron=1526289133.8302850723266601562500
    and
    FastCGI: server "/home/clients/dbcf1a2fe4da2347c2a201114f0d2a83/.config/apache/www.mydomain.com/.fpm/php5.external" stderr: PHP message: PHP Warning: mysqli_query(): MySQL server has gone away in /home/clients/dbcf1a2fe4da2347c2a201114f0d2a83/html/mydomain/wp-includes/wp-db.php on line 1924, referer: https://www.mydomain.com/wp-cron.php?doing_wp_cron=1526289133.8302850723266601562500

    So one error is “Error reading result set’s header” and another one is “MySQL server has gone away”.

    I also had a fatal error:
    FastCGI: server "/home/clients/dbcf1a2fe4da2347c2a201114f0d2a83/.config/apache/www.mydomain.com/.fpm/php5.external" stderr: PHP message: PHP Fatal error: Uncaught Error: Call to undefined function WPGDPRC\\Includes\\get_blog_option() in /home/clients/dbcf1a2fe4da2347c2a201114f0d2a83/html/mydomain/wp-content/plugins/wp-gdpr-compliance/Includes/Helper.php:399, referer: https://www.mydomain.com/data-request/

    I guess that could be the reason why no email is sent as well.
    Any idea?

    • This topic was modified 8 years, 1 month ago by oh_franck.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter oh_franck

    (@oh_franck)

    One part of a solution?
    One of the errors I get in the logs is from helper.php line 399: undefined function WPGDPRC\\Includes\\get_blog_option()

    It would appear that the function “get_blog_option” is for multisite. For single site, “get_option” should be used.
    Maybe something like this:

    if(is_multisite()){
      $path = get_blog_option($blog_id,'siteurl');
    }else{
      $path = get_option('siteurl');
    }

    When I replace get_blog_option with get_option I don’t get the fatal error anymore. But it still doesn’t solve any of the problem described above.

    • This reply was modified 8 years, 1 month ago by oh_franck.
    Thread Starter oh_franck

    (@oh_franck)

    One part of a solution?
    One of the errors I get in the logs is from helper.php line 399: undefined function WPGDPRC\\Includes\\get_blog_option()

    It would appear that the function “get_blog_option” is for multisite. For single site, “get_option” should be used.
    Maybe something like this:

    if(is_multisite()){
      $path = get_blog_option($blog_id,'siteurl');
    }else{
      $path = get_option('siteurl');
    }

    When I replace get_blog_option with get_option I don’t get the fatal error anymore. But it still doesn’t solve any of the problem described above.

    The request should take 24 hours before expiring. In either case please update to v1.3.3

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

The topic ‘Requests immediately expires’ is closed to new replies.