Tried to allocate 262144 bytes Error
-
Hi, I getting the follow error in the users admin panel:
Allowed memory size of 268435456 bytes exhausted (tried to allocate 262144 bytes) in …\plugins\ultimate-member\includes\um-short-functions.php
I tried to add more memory limit but that did not work, this is weird because I have others WordPess websites on the same server with the same wordpress version and the same ultimate member plugin version, and just only wordpress site have this error. I do not know what is causing this error. And I do have more allowed memory size (250M) that the one it is trying to allocate (0.2M) so I do not know why I am getting this error in first place.
Anyone can help me in the right direction?
Wordpress Version: 5.8.1
UM Version: 2.2.5Regards
The page I need help with: [log in to see the link]
-
I suggest that you contact the hosting provider and see if they can find the root cause of this memory issue. Have you tried deactivating other plugins and leave UM as the only active plugin and see if the issue still occurs? Also, could you please provide the install info here? Please go to WP Admin > Ultimate Member > Settings > Install info.
Regards,
I also tested it out on local and I got the same error, as I said before I have others wordpress website with the same wordpress version and UM version in the same hosting, I have a VPS, but just in only one wordpress website I am getting this error.
I also tested leaving just UM actived and got the error.
### Begin Install Info ### ## Please include this information when posting support requests ## --- Site Info --- Site URL: https://bli-us.com Home URL: https://bli-us.com Multisite: No --- Hosting Provider --- Host: DBH: mysql.bli-us.com, SRV: bli-us.com --- User Browser --- Platform: Windows Browser Name: Chrome Browser Version: 94.0.4606.61 User Agent String: Mozilla/5.0 (Windows NT 10.0; Wi n64; x64) AppleWebKit/537.36 (KH TML, like Gecko) Chrome/94.0.460 6.61 Safari/537.36 Edg/94.0.992. 31 ---- Current User Details -- Role: administrator --- WordPress Configurations --- Version: 5.8.1 Language: en_US Permalink Structure: /%year%/%monthnum%/%day%/%postname%/ Active Theme: Hello Elementor Child 1.0 Page On Front: Home (#15) Page For Posts: (#0) ABSPATH: /home/dh_eefede/bli-us.com/ All Posts/Pages: 2 WP Remote Post: wp_remote_post() works WP_DEBUG: Disabled WP Table Prefix: Length: 10, Status: Acceptable Memory Limit: 40MB --- UM Configurations --- Version: 2.2.5 Upgraded From: 2.1.17-alpha Current URL Method: Cache User Profile: Yes Generate Slugs on Directories: Yes Force UTF-8 Encoding: No JS/CSS Compression: No Port Forwarding in URL: No Exclude CSS/JS on Home: No --- UM Pages Configuration --- User: https://bli-us.com/user/ Account: https://bli-us.com/account/ Members: https://bli-us.com/members/ Register: https://bli-us.com/ Login: https://bli-us.com/login/ Logout: https://bli-us.com/logout/ Password Reset: https://bli-us.com/password-reset/ --- UM Users Configuration --- Default New User Role: subscriber Profile Permalink Base: user_login User Display Name: field Force Name to Uppercase: No Redirect author to profile: No Enable Members Directory: No Use Gravatars: Yes Gravatar builtin image: default UM Avatar as blank Gravatar: No Require a strong password: On --- UM Access Configuration --- Panic Key: Global Site Access: Site accessible to Everyone Backend Login Screen for Guests: No Redirect to alternative login page: Backend Register Screen for Guests: No Redirect to alternative register page: Access Control widget for Admins only: No Enable the Reset Password Limit: No Blacklist Words: 5 --- UM Email Configurations --- Mail appears from: Bli-us Mail appears from address: no-reply@bli-us.com Use HTML for E-mails: Yes Account Welcome Email: Yes Account Activation Email: No Pending Review Email: No Account Approved Email: No Account Rejected Email: No Account Deactivated Email: Yes Account Deleted Email: Yes Password Reset Email: Yes Password Changed Email: Yes --- UM Total Users --- All Users(361) administrator(3) subscriber(355) um_bli-us-admin(3) none(0) --- UM Roles --- Administrator (administrator) Editor (editor) Author (author) Contributor (contributor) Subscriber (subscriber) Group Leader (group_leader) Translator (translator) Customer (customer) Shop manager (shop_manager) Anonymous (anonymous) Bli-us Admin (um_bli-us-admin) --- UM Custom Templates --- N/A --- UM Email HTML Templates --- N/A --- Web Server Configurations --- PHP Version: 7.4.12 MySQL Version: 5.7.29 Web Server Info: Apache --- PHP Configurations --- PHP Memory Limit: 256M PHP Upload Max Size: 512M PHP Post Max Size: 512M PHP Upload Max Filesize: 512M PHP Time Limit: 120 PHP Max Input Vars: 1000 PHP Arg Separator: & PHP Allow URL File Open: Yes --- Web Server Extensions/Modules --- DISPLAY ERRORS: N/A FSOCKOPEN: Your server supports fsockopen. cURL: Your server supports cURL. SOAP Client: Your server has the SOAP Client enabled. SUHOSIN: Your server does not have SUHOSIN installed. GD Library: PHP GD library is installed on your web server. Mail: PHP mail function exist on your web server. Exif: PHP Exif library is installed on your web server. --- Session Configurations --- Session: Disabled Session Name: PHPSESSID Cookie Path: / Save Path: /tmp Use Cookies: On Use Only Cookies: On --- WordPress Active Plugins --- Admin Menu Restriction: 1.0.4 Advanced Custom Fields: 5.10.2 BigBlueButton: 3.0.0-beta.4 Code Snippets: 2.14.2 Disable Embeds: 1.5.0 DreamHost Panel Login: 1.0.0 Elementor: 3.4.4 Elementor Header & Footer Builder: 1.6.4 Elementor Pro: 3.4.1 Essential Addons for Elementor: 4.9.2 Essential Addons for Elementor - Pro: 4.4.9 Import and export users and customers: 1.18.2 Insert PHP Code Snippet: 1.3.2 IP2Location Redirection: 1.24.0 IP2Location Tags: 2.10.7 LearnDash LMS: 3.4.2.1 LearnDash LMS - Elementor: 1.0.3 LearnDash LMS - Paid Memberships Pro: 1.3.1 Loco Translate: 2.5.3 Paid Memberships Pro: 2.6.2 Paid Memberships Pro - Cancel on Next Payment Date: 0.4 Paid Memberships Pro - Register Helper Add On: 1.7 Ultimate Member: 2.2.5 User Role Editor: 4.60.2 WooCommerce: 5.7.1 WP Mail SMTP: 3.0.3 ### End Install Info ###
-
This reply was modified 3 years, 5 months ago by
Cristhian Bacusoy.
Sorry for the late response.
Can you please try turning on the option “Disable pre-queries for restriction content logic (advanced)”?
Please go to WP Admin > Ultimate Member > Settings > Misc.
Regards,
I tested it out what you told me and unfortunately It didn’t work. Still got the same error.
Test without your child-theme and use only the main “Hello Elementor” theme.
Have you tested switching theme to a WP standard theme?
@missveronicatv
Well I just tested it out and It didn’t work either :c. I just notice that this error appears with some users. What I mean is that when I’m in ther users admin page, some users are appears and others not, then I disable the UM plugin and enter in a specific user single admin page and then active the UM plugin, the user single admin menu stop working when is showing the avatar.This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.
…Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help. 🙂
Regards,
-
This reply was modified 3 years, 5 months ago by
- The topic ‘Tried to allocate 262144 bytes Error’ is closed to new replies.