Maintainer Issue

Permalink Browser Info Environment
Hi James,

Finally have a client that I can use your add-on with, but ran into an issue. Might have had something to do with creating and deleting a couple of plans before running the maintainer. Now the maintainer sticks in a loop and when trying to run in a browser window using the URL, I get this:

Catchable fatal error: Argument 2 passed to LMemUserGroupHelper::__construct() must be an instance of Group, null given, called in /home/drdebate/public_html/packages/lerteco_membership/jobs/lmembership_maintainer.php on line 37 and defined in /home/drdebate/public_html/packages/lerteco_membership/models/txns.php on line 486


Any ideas what the issue is and how I might resolve it?
Thanks,
Brian

Type: Discussion
Status: In Progress
TooqInc
View Replies:
jshannon replied on at Permalink Reply
jshannon
My thought based on the error message is that something happened to the group. Maybe it's been deleted?

Does that sound right? If not I'll dive into the code further and try to figure it out.

Best,
James SHANNON

Sent from my phone

> On 20 mars 2015, at 13:57, concrete5 Community <discussions@concretecms.com> wrote:
jshannon replied on at Permalink Reply
jshannon
I just looked at the code and now I really suspect that it was caused by a group being deleted. Could you confirm this so that I know if that's what to focus on?
TooqInc replied on at Permalink Reply
TooqInc
Hi James,

Sorry. I was out when you message came in and not working earlier today.

I did indeed delete a couple of groups (and products) that weren't needed anymore and I guessed that this was the issue. I'm not too far into things, so what are your thoughts on deleting the add-on and reinstalling? Will that do it?

Also, if you have a procedure for deleting groups over time, that would be great to know. Otherwise, I'll let the client know at handoff that they shouldn't delete any groups in the future.

Thanks and sorry for the delayed reply. I'll be around the rest of the day.
Brian
jshannon replied on at Permalink Reply
jshannon
That's ok. I just wanted to try to solve this before I got busy again.

It's fixed now and I uploaded a new version.
TooqInc replied on at Permalink Reply
TooqInc
Thanks James. I just updated and can verify that the job ran without issue. I'll let you know if I notice any further issues, but so far, everything looks good.
Thanks again.
Brian

concrete5 Environment Information

# concrete5 Version
5.6.3.3

# concrete5 Packages
Alpha (1.0.3), Automatic Email Obfuscator (1.2.3), Easy Accordion (1.1.2), Email List Signup (1.5.5), Expand / Collapse (1.2.6), Lerteco Membership (2.2.2.0), Login (1.1.1), PC5 Custom Templates (3.5), tnSpacer (1.3).

# concrete5 Overrides
blocks/c5_ajax_form-master, languages/es_PE, languages/es_MX, languages/fr_FR, languages/ru_RU, languages/ar, languages/nl_NL, languages/sl_SI, languages/es_AR, languages/ja_JP, languages/pt_PT, languages/vi_VN, languages/fi_FI, languages/tr_TR, languages/el_GR, languages/es_ES, languages/sv_SE, languages/da_DK, languages/fa_IR, languages/ro_RO, languages/it_IT, languages/de_DE, languages/cs_CZ, languages/zh_TW, languages/nb_NO, languages/sk_SK, themes/alpha

# concrete5 Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off

# Server Software
Apache/2.2.29 (Unix) mod_ssl/2.2.29 OpenSSL/1.0.1e-fips mod_bwlimited/1.4

# Server API
cgi-fcgi

# PHP Version
5.5.21

# PHP Extensions
bcmath, calendar, cgi-fcgi, Core, ctype, curl, date, dom, ereg, filter, ftp, gd, hash, iconv, imap, intl, ionCube Loader, json, libxml, mbstring, mcrypt, mysql, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, SimpleXML, soap, sockets, SourceGuardian, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, Zend OPcache, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 64M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 2M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.89 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.