• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Problem with new registrations (500 error register/register)

#3
Do you have access to the HTTP logs and the php-fpm logs? If so, you need to review them for any possible errors.
I have server logs from admin panel.

Code:
ErrorException: Fatal Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 7730150 bytes) - library/XenForo/Model/DataRegistry.php:155
 

Tracy Perry

Well-known member
#4
Have you recently added any new add-ons - specifically any that deal with user registration?
Have you recently done any PHP upgrades? Your PHP processor is getting an error and appears to be dying.
 

Tracy Perry

Well-known member
#7
No, odds are it's the php.ini setting, but something is exhausting your memory. What is your
Code:
memory_limit = 128M
is set at.
If your DB/drive was full, you'd be getting a different error.
 

Liam W

Well-known member
#8
No, odds are it's the php.ini setting, but something is exhausting your memory. What is your
Code:
memory_limit = 128M
is set at.
If your DB/drive was full, you'd be getting a different error.
The error message states that the memory limit is set at 128MiB.

Which is strange, as that's a decent memory limit. An add-on is trying to store a ridiculous amount of storage using the DataRegistry, and PHP is running out of allowed memory to store it before sticking it in the database.

@ayushtyagi28 you could try increasing the memory limit (if you're on a dedicated/VPS server) to 256M. If you're on shared hosting, you'd have to ask your host kindly.

Liam
 

Tracy Perry

Well-known member
#9
The error message states that the memory limit is set at 128MiB.

Which is strange, as that's a decent memory limit.
Yep, which is why I am scratching my head also over it as it shouldn't be. I'm leaning towards an add-on issue and maybe using PHP 7 or 7.1RC and it not being compatible.