Support » Plugin: CodesWholesale.com for WooCommerce » Fatal error: Interface ‘CodesWholesaleFramework\..\Utils\OrderValidationInterfac

  • Fatal error: Interface ‘CodesWholesaleFramework\Orders\Utils\OrderValidationInterface’ not found in /wp-content/plugins/codeswholesale-for-woocommerce/includes/validate/wp-validate-purchase.php on line 6

    The issue happens when another composer based plugins are installed to be used and include path and context might contain multiple vendor folders, so the following statement codeswholesale.php:178

    include_once('vendor/autoload.php');

    doesn’t include the right autoload.php.

    Solution: the plugin’s autoload.php should be included by specifying the absolute instead of relative path.

  • The topic ‘Fatal error: Interface ‘CodesWholesaleFramework\..\Utils\OrderValidationInterfac’ is closed to new replies.