• Resolved orbuld

    (@orbuld)


    public function add($message, $override_silent = false)
            {
                if (!$this->_silent || true === $override_silent) {
                    if (is_array($message)) {
                        $message = print_r($message, true);
                    }
    
                    $this->_logger->add($this->get_domain(), getmypid() . ' - ' . $message);
                }
            }

    Is it possible to change getmypid() to something else? Some hosts (Kinsta for example) have disabled this function for security reasons.

    The result is that when an order is placed, it won’t go through resulting in a Fatal error.

Viewing 1 replies (of 1 total)
  • Plugin Author carlericsson

    (@carlericsson)

    Hey!

    Thanks for reaching out to us. That is a fair point, it is something we need to fix. For now there is no way of fixing this (except for of course enabling getmypid() ). But it is something we will take a look at and fix in the near future!

    /Carl

Viewing 1 replies (of 1 total)
  • The topic ‘getmypid()’ is closed to new replies.