By Neel on Tuesday, 12 December 2017
Posted in General
Replies 8
Likes 0
Views 632
Votes 0
I have 5 Joomla User Type Apps set-up in my Payplan component. Out of these, when I open the main Joomla User Type App instance, the one which has a lot of users linked to it, it throws the below error:


Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 31277716 bytes) in /SITE/libraries/vendor/joomla/string/src/phputf8/mbstring/core.php on line 114


I have PHP `memory_limit` set to `128M` which should be more than enough. Can you tell me how this issue can be resolved? The App seems to work and users are getting added to the respective user group. But I am unable to open the App Instance and the above error shows when I go to: Components -> Payplan -> Apps -> App Instances -> Main Joomla User Type

I am using:

Joomla 3.8.1
Payplan Version : 3.6 | Build :3
Joomla User Type Version : 3.4.0
Hey Neel,

There seems to be a flaw with the way PayPlans is rendering the logs for the app and the reason that you are hitting this memory limit is primarily because PayPlan was rendering the logs for every single action this app has performed since 2 years ago.

I personally think this is a flawed approach because ideally all of these should be viewed from the "Logs" section, (Removed)

Temporarily, what I have done is commented out the rendering of the logs in /administrator/components/com_payplans/templates/default/app/default_edit.php so that the logs doesn't get listed when you are editing an app.

Do you really view the logs while you are editing the app?
·
Tuesday, 12 December 2017 22:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Neel,

I believe this could be due to the way PayPlans are rendering the users. Is it possible for you to provide us with the back end and FTP access to your site to check on this issue? You may store your site access at http://stackideas.com/dashboard/site so you don't have to provide these information all the time
·
Tuesday, 12 December 2017 21:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark,

I have added the Site Details you had requested. Also, please check out the Notes section on which App Instance to check.

Please note that this is a production site so kindly handle with care, especially if you are enabling Error Reporting.

Thanks,
Neel.
·
Tuesday, 12 December 2017 21:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you Mark. I don't really need the logs when editing the App Instance. Logs can always be viewed by other methods and I feel editing the App should only be related to edits of app settings, etc. Thank you for disabling the App logs. That works for now. Kindly do include these changes in the future Payplan update.

PS: Can you delete the screenshot in the last post please?

Thanks again for your prompt assistance. Cheers.
·
Tuesday, 12 December 2017 23:47
·
0 Likes
·
0 Votes
·
0 Comments
·
No problem Neel. Yep, we'll make changes in the next release of PayPlans
·
Tuesday, 12 December 2017 23:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Legend. Thank you Mark. Have a good night.
·
Tuesday, 12 December 2017 23:54
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome, have a great day ahead!
·
Wednesday, 13 December 2017 00:01
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post