getmypid()
-
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)
Viewing 1 replies (of 1 total)
- The topic ‘getmypid()’ is closed to new replies.