🇱🇰Sri Lanka @umesl

Account created on 6 March 2012, almost 13 years ago
#

Recent comments

🇱🇰Sri Lanka umesl

Thank you very much for providing the Drupal 9.4^ and Drupal 10 compatible patch. I have successfully applied all the patches for the module.

However, I am still encountering an issue with the following error message: 'Error: Class "CanadaPost\Rating" not found in C:\wamp64\www\dru9.test\modules\contrib\commerce_canadapost\src\Plugin\Commerce\ShippingMethod\CanadaPost.php on line 159'.

To resolve this, I manually downloaded the Canada Post API from the GitHub repository 'thejacer87/php-canadapost-api' and placed it in both the 'Vendor' and 'library' folders. (This API cannot be downloaded using Composer due to an error message related to PHP version compatibility.)

I have attempted the following folder structure in both the 'vendor' and 'libraries' folders:

  • php-canadapost-api
  • canadapost-api
  • canadapost
  • thejacer87/php-canadapost-api
  • thejacer87/canadapost-api
  • thejacer87/canadapost

Please let me know if this folder structure is correct, or if there are any specific instructions regarding the placement of these files.

Despite these efforts, the issue persists. Could you please provide further assistance or guidance on how to resolve this error? Thank you

Production build 0.71.5 2024