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

Install error "Method subMinutes does not exist." #53

Closed
mlieshout opened this issue Jan 17, 2021 · 9 comments
Closed

Install error "Method subMinutes does not exist." #53

mlieshout opened this issue Jan 17, 2021 · 9 comments
Assignees
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@mlieshout
Copy link

Hi,

I'm trying to install the plugin from the October CMS Marketplace and get this error:

"Method subMinutes does not exist." on line 96 of .../vendor/laravel/framework/src/Illuminate/Support/Traits/Macroable.php

  • OctoberCMS Build: 471
  • PHP Version: 7.4.12
@rluders rluders added the bug Something isn't working label Jan 17, 2021
@rluders
Copy link
Owner

rluders commented Jan 17, 2021

Hello, @mlieshout.

Thank you for reporting the issue. Sorry about it. Let me run some tests, and validate the issue.

@rluders rluders self-assigned this Jan 17, 2021
@rluders
Copy link
Owner

rluders commented Jan 22, 2021

It seems that when I updated the plugin dependencies it overwrites some related dependencies, which is causing some conflicts with the ones that belong to OctoberCMS.

I'm planning to patch this issue this weekend. I let you know about it ASAP. Sorry about it.

It only reinforces what I was thinking a few weeks ago, that I need to spend some time adding some automated tests to the plugin.

@rluders rluders pinned this issue Jan 22, 2021
@mlieshout
Copy link
Author

Hi Ricardo,

Thanks for the update on this issue!
I don't need it asap so please take your time to do what you have to do.

@rluders
Copy link
Owner

rluders commented Jan 22, 2021

@mlieshout I just did a small fix. Can you try it and let me know? Thank you.

@rluders rluders added the 🤞 testing It was fixed and is now being validaded/tested. label Jan 22, 2021
@mlieshout
Copy link
Author

mlieshout commented Jan 22, 2021 via email

@rluders
Copy link
Owner

rluders commented Jan 22, 2021

Ok. Thank you.

I don't know what is happening, I did the fix, it was working, then tried to install it again, and it seems that it is still broken.

I'll spend more time during the weekend. Doesn't seems to be something that simple to fix.

@rluders
Copy link
Owner

rluders commented Jan 23, 2021

Just release the patch. It is working on 470, that is/or should be the same as the 471 release note

If you still having issues with 471, I do recommend you check the try to get "back" to 470 by reinstalling the OctoberCMS. I'm installing it using the composer (guide here) and it is working like a charm.

Also, I do recommend you reinstall the JWTAuth Plugin, just to make sure that everything is clean and shiny. 🌞

Please, let me know if you have any other issues.

@rluders rluders unpinned this issue Jan 23, 2021
@rluders
Copy link
Owner

rluders commented Jan 25, 2021

I reported it to the OctoberCMS team, it seems to be an issue related to Marketplace itself. I'll keep following its progress.

@rluders rluders removed confirmed 🤞 testing It was fixed and is now being validaded/tested. labels Jan 30, 2021
@rluders
Copy link
Owner

rluders commented Jan 30, 2021

All right. This is pretty similar to the issue that is also happening with my CORS plugin. So, you can find some better explanation here, but long story, short.

OctoberCMS has now 2 possible Laravel versions: 5.5 and 6. That is causing issues. I do recommend you to check your OctoberCMS Laravel version, instructions can be found here.

If you are not using the Laravel 6 version, you can update it, and the last version of both plugins should work. But I'll double test it during this weekend, and if necessary I'll release a reviewed release.

If you prefer to keep using the L5.5 version, would be better if you could get an older plugin version, from the release page. I think that v1.2.3 should work fine.

I'll not support both Laravel versions, and unfortunately, by the OctoberCMS marketplace, you cannot choose the version that you want to install, as well it doesn't install the version compatible with your Laravel version. Sorry about it.

And that is it. I'll mark this issue as wontfix and keep it open till the final OctoberCMS release to L6 which should happen soon.

@rluders rluders added the wontfix This will not be worked on label Jan 30, 2021
@rluders rluders closed this as completed Aug 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants