By Balam Ak Ab on Thursday, 04 July 2019
Posted in General
Replies 14
Likes 0
Views 620
Votes 0
HI

When I Update to payplans I get the following error "call to a member function Get Counter() on null", this is very weird, because the subscriptions aply sometimes and sometimes not. I dont know why. Have a good day.
Hey Balam,

I've checked your site and payplans is updated to latest version 4.0.9.
I didn't hit any error related to get counter on backend subscription page.

Can you tell me steps to replicate this issue , so i can check it further.
Update us with response.

Thank you for understanding !
·
Thursday, 04 July 2019 11:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi
Thanks, yes of course, I go to Payplans-Order-Subscriptions I go to "NEW" button I choose a plan to give the new subscription in my case "Staff" then Choose User, status "active" the I click "save and close" and voila I get this error. You can create a new user or a use "usertest" user if you want to test. Thanks
·
Thursday, 04 July 2019 14:01
·
0 Likes
·
0 Votes
·
0 Comments
·
If I assign plan by user all works fine, Before I use orders, but I can use now "users" sorry for your time.
·
Thursday, 04 July 2019 14:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Balam,

If I assign plan by user all works fine, Before I use orders, but I can use now "users" sorry for your time.

Yes, this way also can.

I've tried the same steps you shared on my local and didn't hit this issue. It seems issue is coming at your site only.
Can you please update me few things
1. Are you using PayPlans 3.x version earlier and then upgrade to 4.x.
2. during upgrade did you hit any issue ?

Update us with response.
·
Thursday, 04 July 2019 14:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi
No, I dont install 3.x before I istall to 4.x, but maybe I wrong, because this site makes me do many test site to works, so maybe I get one old test site with payplans 3.x before. I 80% sure I only install 4.x but this same error "call to a member function Get Counter() on null" I got it before in payplans with another extension norrcompetition payplans cuase this error, you can check in my tickets this, This for me was a real headache back then.
·
Thursday, 04 July 2019 14:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Balam,

thank you for sharing the details. I just want to make sure about the things that's why asked.
Ok, i'll check it further and update you.

Thank you for understanding !
·
Thursday, 04 July 2019 14:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Another thing, I dont know why but the plans expired, I dont make anything and the plans expireds why this happend?
·
Thursday, 04 July 2019 14:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Balam,

I am able to replicate the issue regarding plan expiration. The staff plan is life time but expiration date is setting for current date that's why it's expired.

I've logged this into our issue tracker and will update you once it get fixed and tested.

Thank you for understanding !
·
Thursday, 04 July 2019 15:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Soooo for the moment I need to give some few years for this works? for the moment Thanks so much.
·
Thursday, 04 July 2019 15:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi
Another thing, You can in the next update make and app or something to block some pages or urls for users than dont have any plan or for some plans? If you can do this this it would awesome. Thanks so much.
·
Thursday, 04 July 2019 15:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Balam,

Soooo for the moment I need to give some few years for this works? for the moment Thanks so much.

Yes, can till this issue get resolved.

Another thing, You can in the next update make and app or something to block some pages or urls for users than dont have any plan or for some plans? If you can do this this it would awesome. Thanks so much.

If you have created menu link for those pages then you can restrict using PayPlans Menu Access app.
https://stackideas.com/docs/payplans/administrators/apps/menu-access

Let me know if you have any query.
·
Thursday, 04 July 2019 16:28
·
0 Likes
·
0 Votes
·
0 Comments
·
If you have created menu link for those pages then you can restrict using PayPlans Menu Access app.
https://stackideas.com/docs/payplans/administrators/apps/menu-access


No Only have the urls and dont think to make a menu-access for this urls are very much. But thanks for the suggestion, If you can do something about I told before I apreciate. Thanks again and have a good day.
·
Thursday, 04 July 2019 16:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Balam,

No Only have the urls and dont think to make a menu-access for this urls are very much. But thanks for the suggestion, If you can do something about I told before I apreciate. Thanks again and have a good day.


Thanks for the suggestion.

It would best if you could submit your feature request regarding this simply by creating a new ticket on the forums, and set it to "Feature Request" so everyone else on the site could vote for it as well. The team will usually prioritize features that are in popular demand during the development process of the next major release.

Thank You !
·
Thursday, 04 July 2019 16:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Balam,

Regarding life time plan expiration issue, for now to resolve this issue, find attached file and replace with below mentioned path.
root\administrator\components\com_payplans\includes\subscription\subscription.php

After replacing file , please take a look again on this issue and let me know if still issue persist.

Thank you for understanding !
·
Friday, 05 July 2019 01:21
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post