Blank page for edit.php

In your usermeta database table, there will be rows containing a meta_key of edit_post_per_page find the row that matches your username and then either change the value to something more sensible, or delete that row to restore the default of 20. Or you could delete all rows in that table with that key, it’s not … Read more

Memory Leak in plugin action

Depending on what exactly you’re trying to achieve, I agree with Tom’s comment, that a WP-CLI command might be better. The advantage is that the command runs from php directly on the server (usually has no max execution time, loads different php.ini, etc.) and you don’t need to involve the webserver. If that is not … Read more

How to solve suspected memory issue in custom WordPress loop?

There are approx. 10,000 items returned by the query. That’s your problem right there. No matter what you do inside the loop, WordPress is still loading 10,000 post objects into memory. Batch it up and sprinkle a little magic in your query arguments: $args = array( ‘fields’ => ‘ids’, // MAGIC! Just get an array … Read more

wordpress upload http error?

Are you on shared hosting by any chance? Shared hosts tend to limit the max uploadable file size on their end and there is nothing you can add to your scripts to change that. If not, then I am mistaken and this is not the solution you are looking for. However, if you are on … Read more

WordPress media upload limit?

Three things you need to check. upload_max_filesize, memory_limit and post_max_size in the php.ini configuration file exactly. All of these three settings limit the maximum size of data that can be submitted and handled by PHP. Typically post_max_size and memory_limit need to be larger than upload_max_filesize. This is the function in WordPress that defines the constant … Read more

High CPU & Memory Spikes?

I think I found what the problem was. WP-Postviews. I deactivated the plugin and removed all code from it on the site and now everything is running smoothly (at least for the last 3 hours).

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)