• Resolved AshtonSanders

    (@ashtonsanders)


    Oh boy. This plugin is currently breaking my woocommerce. I’m getting this error:

    Fatal error: Declaration of WCPay\Container::has($id) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool in /home/1087828.cloudwaysapps.com/ebetbsuveu/public_html/wp-content/plugins/woocommerce-payments/src/Container.php on line 96

    That’s this function:

    /**
     * Checks if a class is available.
     *
     * @param string $id The ID of the class to check.
     * @return bool
     */
    public function has( $id ) {
        return $this->container->has( $id );
    }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error WCPay\Container::has($id)’ is closed to new replies.