Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP 500 error on orders page in the backoffice Cannot make static method MyParcelNL #213

Closed
mark-app opened this issue Feb 10, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@mark-app
Copy link

mark-app commented Feb 10, 2023

Module version

1.8.1. BE version

PrestaShop version

1.7.8.8

PHP version

7.4.33

What went wrong?

If I want to load the orders page I get the error.

Compile Error: Cannot make static method MyParcelNL\Pdk\Base\Service\WeightService::convertToGrams() non static in class Gett\MyparcelBE\Service\WeightService

After I made the fucntion none static i get the Error:

An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "myparcelbe_label" as such route does not exist.").

Reproduction steps

  1. Navigate to orders after installing the module

Relevant log output

No response

Additional context

No response

@mark-app mark-app added the bug Something isn't working label Feb 10, 2023
@EdieLemoine
Copy link
Member

Hi @mark-app, this issue will be resolved in the next release (1.8.2).

As for the "Unable to generate a URL for the named route" error, that one is usually fixed by clearing the Symfony cache, which you can do with the "Clear Cache" button on the MyParcel settings page.

@mark-app
Copy link
Author

Hi @EdieLemoine,

Thank you. What is the expected release date of 1.8.2?

@EdieLemoine
Copy link
Member

@mark-app it's being tested right now, so hopefully we can release it within the next few days.

@EdieLemoine
Copy link
Member

Actually, it was just approved and we're ready to release it :)

EdieLemoine added a commit that referenced this issue Feb 27, 2023
@myparcel-bot myparcel-bot bot closed this as completed in f28a95f Feb 27, 2023
MyParcelBot pushed a commit that referenced this issue Feb 27, 2023
### [1.8.2](v1.8.1...v1.8.2) (2023-02-27)

### 🐛 Bug Fixes

* fix opening pdf in new window ([#216](#216)) ([f28a95f](f28a95f)), closes [#213](#213)
@MyParcelBot
Copy link

🎉 This issue has been resolved in version 1.8.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

3 participants