Add the following at the top of wp-config.php:
ini_set('memory_limit','128M');
Although you should use WP_MEMORY_LIMIT
when you can, we see in /wp-includes/default-constants.php that WordPress doesn’t do much more than use ini_set
itself. Note: This is just one more thing to try, but you’ll likely end up having to have your host fix this issue.
Related Posts:
- WordPress PHP error handling and reporting in production environment
- Out of memory errors : how best to track them down
- Fatal error trace not shown in development setup
- Best practice for versioning wp-config.php?
- What’s the difference between WP_MEMORY_LIMIT and WP_MAX_MEMORY_LIMIT?
- Undefined offset: 0 in > […] /wp-includes/capabilities.php on line 1067
- Turn Off Automatic Trash Deletion?
- Upgrading PHP version results in “Use of undefined constant WP_CONTENT_DIR” warning?
- How can I change preview URL?
- Missing a temporary folder despite settings in wp-config.php
- How to use live images on local install?
- Syntax of FS_CHMOD_DIR and FS_CHMOD_FILE
- Call to undefined function error after adding add_filter to wp-config
- WordPress error – PHP Fatal error: Uncaught Error: Call to undefined function register_block_type_from_metadata()
- How to set up gmail SMTP in WordPress
- error:-Cannot modify header information – headers already sent by
- Notice: Constant already defined in wp-config.php on (non-existent) line?
- How to update WordPress from the latest trunk
- how to use is_admin in wp-config.php
- Locked out of WordPress Site Admin after enabling Force SSL on WordPress Https (SSL)
- Set wp-content folder to Dropbox folder
- Including a 3rd party library in WordPress which needs to be accessible by wp-config
- wp-config.php being deleted
- Get WP CLI to hide debug warnings and notices in JSON output, same setting as website
- What is this file: wp-config-wpe.php?
- How can I make wordpress suppress mysql errors?
- How to customize the critical error message?
- enable SFTP via SSH keys in wordpress
- Why do I get a WAMP homepage when clicking on specific website’s URL on LocalHost?
- Creating the wp-config.php file manually
- Can I delete `wp-config-sample.php` after installing and configuring WordPress?
- Can’t Change Theme And White Screen When Activating Any Plugin
- How to reliably set file/folder permissions?
- Error establishing a database connection on Installation
- “There doesn’t seem to be a wp-config.php file.” despite wp-config.php in root
- Moving WP from local server to live, error establishing a db connection
- Multiple wp-config.php files in one home directory
- Why edits to wp-config.php must come before “That’s all” comment
- error log cluttered with undefined DB_USER wp-admin/setup-config.php
- Is it possible to override the ABSPATH constant
- How to stop fatal error when loading theme template file directly
- Should I change wp-config for SSL?
- Redefine cookie domain for subdomains
- HTTP Error after finishing uploading a video that is bigger than 64 MB -> After raising the upload limit manually in the wp-config file
- multiple language directories
- Error in database connection [closed]
- Getting error when using wp_insert_post()
- Conflict with wp_homeurl, wp_siteurl and admin interface settings
- Call to undefined function add_menu_page() on theme activation
- error messages in dashboard login
- where should I write constants in wordpress?
- Issues copying site into local machine
- Autosave interval remains default despite wp-config.php defines
- Carriage Return control character (^M) found in wp-config-sample.php
- Need help fixing my wp-config file [closed]
- Why was my new WordPress installation’s config page publicly viewable when first installed?
- WP_MEMORY_LIMIT didn’t work in wp-config, only within default-constants.php
- PHP error when trying to upload .mp3 files via Media Library [closed]
- Cookie set without HttpOnly flag
- Define option outside wp-config.php (on WordPress.com)
- Site lost all formatting when I attempted to migrate to Bluehost [closed]
- Moving wp-config.php one level up – 500 error – Nginx [closed]
- What should index.php contain on Synology NAS to get external access to WordPress to work?
- Remote server does not read `WP_HOME` from wp-config.php when local server does
- Concerns over wp-config file [closed]
- Read wp-config without loading the rest of WordPress – i.e. wp-settings, etc
- Proper way to have multiple installs with a single database
- How turn on error reporting without reset?
- WordPress installed on a Sub-directory
- $post->id vs $post->ID problem after using WordPress config bootstrap
- How to stage a redesigned site on a new webhost while the original site is still live? [closed]
- Replace old theme that understand old css (vcex_icon_box css_animation)
- Fatal error: Uncaught Error: Call to undefined function add_action()
- Fatal Error when trying to load Permalinks page on WP admin [closed]
- WP_Fatal_Error_Handler OR WP_Error OR try/catch
- Need help re-connecting local WP-config file to local database
- wp-config.php randomly will reset to wp-config-sample.php
- How to fix wp-login.php gives error 500 after migration?
- Define new constants in wp-config
- sudden changing of host IP result in crash of the site
- Move wp-content outside root
- Can you define readability settings in wp-config.php?
- WordPress displays 500 error on PHP errors
- Unable to change WordPress language (WordPress 4.2.2)
- WordPress Redirect on Name Change
- Is there any reason why using the same wp-config file might not work in MAMP?
- WordPress won’t display errors at all
- Plugin won’t activate, fatal error (widget class not found)
- blank white page in admin, white space hunting?
- Best function/method to access wp-config?
- Fatal error: Cannot declare class WP_User_Request, because the name is already in use?
- WordPress still requires FTP information
- WordPress doesn’t recognise my email address and I’m missing the wp-config file in PHPmyadmin cPanel to make alterations
- WordPress White Screen Error
- Why would changing ports from 80 to 8080 cause wordpress to act unexpectedly?
- Fatal error: require(): Failed opening required ‘load.php’
- Other pages fine but wp-admin showing ERR_TOO_MANY_REDIRECTS Error
- Better error messages upon critical errors – HTTP Error 500
- max_input_vars not updating through wp-config
- Disabling zlib compression and enforcing gzip