What happens when I receive a host notification that I exceeded the DB limit, is that I can no longer log into the WP site. I can however load PHPmyadmin, notice that there’s a large wfhoover
table, drop it, and wait for my host to re-open the database as read+write.
What are my solutions without uninstalling Wordfence?
Some ideas and questions:
wfhoover
, so it’s not a reliable solution. There’s no solution mentioned for a similar issue at https://www.ads-software.com/support/topic/wp_wfhoover-table-is-massive/ wfhoover
table can take?
Diagnostics:
– Wordfence 7.10.6 (1698685182)
– WordPress 6.2.3
– PHP 8.1.23
– MySQL 5.7.42-log
– Everything is green and OK
in MySQL Database version and privileges (of course once I can log in WordPress, not when the DB is made read-only)
how to solve?
]]>Does this plugin work with multi-site? I have uploaded it, but can’t see any settings in the settings. Then when I try to upload a big plugin, I get this error:
“The uploaded file exceeds the upload_max_filesize directive in php.ini.”
Thanks in advance for any help
]]>This problem is discussed on stackoverflow with the following offered as a solution:
public class ApilRateLimiter {
private long timeSliceEnd;
private final int quotaPerSecond;
private int quotaRemaining;
public ApilRateLimiter(final int quotaPerSecond) {
this.quotaPerSecond = quotaPerSecond;
this.quotaRemaining = quotaPerSecond;
this.timeSliceEnd = System.currentTimeMillis() + 1_000L;
}
public void reserve(final int quotaReserved) throws InterruptedException {
if (quotaReserved > quotaPerSecond) {
throw new IllegalArgumentException(
"reservation would never be successful as quota requested is greater than quota per second");
}
final long currentTime = System.currentTimeMillis();
if (currentTime >= timeSliceEnd) {
this.timeSliceEnd = currentTime + 1_000L;
this.quotaRemaining = quotaPerSecond - quotaReserved;
} else if (quotaReserved <= quotaRemaining) {
quotaRemaining -= quotaReserved;
} else {
Thread.sleep(timeSliceEnd - currentTime);
reserve(quotaReserved);
}
}
}
and the definition for the Gmail quotas:
public interface GmailApiLimits {
int QUOTA_PER_SECOND = 250;
int DRAFTS_CREATE = 10;
int DRAFTS_DELETE = 10;
int DRAFTS_GET = 5;
int DRAFTS_LIST = 5;
int DRAFTS_SEND = 100;
int DRAFTS_UPDATE = 15;
int GETPROFILE = 1;
int HISTORY_LIST = 2;
int LABELS_CREATE = 5;
int LABELS_DELETE = 5;
int LABELS_GET = 1;
int LABELS_LIST = 1;
int LABELS_UPDATE = 5;
int MESSAGES_ATTACHMENTS_GET = 5;
int MESSAGES_BATCHDELETE = 50;
int MESSAGES_DELETE = 10;
int MESSAGES_GET = 5;
int MESSAGES_IMPORT = 100;
int MESSAGES_INSERT = 25;
int MESSAGES_LIST = 5;
int MESSAGES_MODIFY = 5;
int MESSAGES_SEND = 100;
int MESSAGES_TRASH = 5;
int MESSAGES_UNTRASH = 5;
int STOP = 50;
int THREADS_DELETE = 20;
int THREADS_GET = 10;
int THREADS_LIST = 10;
int THREADS_MODIFY = 10;
int THREADS_TRASH = 10;
int THREADS_UNTRASH = 10;
int WATCH = 100;
}
Any chance of adding this feature
]]>it is not working. when I try bulk optimize it stops with message ‘licence exceeded’
please help me ASAP
https://www.ads-software.com/plugins/ewww-image-optimizer/
]]>My website used to show 4 most popular posts on my website.
However, now it is showing 10 posts and also the number of views.
I have to fix this because there is a “square” in which the titles should fit.
www.thewantedbrasil.com (check my website so you can see what I am talking about. It is in the bottom of the page. In the right. “+ Lidas”
How I can fix this?
Thanks in advance,
Marcella
https://www.ads-software.com/plugins/wordpress-popular-posts/
]]>I hope someone can help me out because I tried almost everything and nothing works.
When I upload a .png file (with transperancy, idk if that matters) with a pixel size of over 1500px and try to edit the thumbnail (no thumbnail was created) I’ll get an “Error: Exceed memory limit” with following text:
Warning: Division by zero in /var/www/web923/html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/lib/gd.thumbnail.inc.php on line 293
Warning: Division by zero in /var/www/web923/html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/lib/gd.thumbnail.inc.php on line 306
Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /var/www/web923/html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/lib/gd.thumbnail.inc.php on line 436
Warning: imagealphablending() expects parameter 1 to be resource, boolean given in /var/www/web923/html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/lib/gd.thumbnail.inc.php on line 934
Warning: imagesavealpha() expects parameter 1 to be resource, boolean given in /var/www/web923/html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/lib/gd.thumbnail.inc.php on line 935
Warning: imagecolorallocatealpha() expects parameter 1 to be resource, boolean given in /var/www/web923/html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/lib/gd.thumbnail.inc.php on line 936
Warning: imagefilledrectangle() expects parameter 1 to be resource, boolean given in /var/www/web923/html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/lib/gd.thumbnail.inc.php on line 937
Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /var/www/web923/html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/lib/gd.thumbnail.inc.php on line 940
Warning: Division by zero in /var/www/web923/html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/admin/edit-thumbnail.php on line 42
When I click on the image, it appears normally.
About the same happens when I try to resize the image (normally it should be resized when uploading, but that doesn’t work as well, although there isn’t any error).
An here’s the weird thing: It can be resized when the .png file is under 200kB, and when resized a thumbnail can be created.
But when I upload a .png with over 200kB and over 1500px side with, it cannot resize it nor can it create a thumbnail.
But when I preresize the image to 1500px or less the filesize doesn’t matter anymore (over 200kB) and a thumbnail can be created.
What I already did:
– I tried to uncomment the famous line 168 in gd.thumbnail.inc.php (that one with the ‘128M’ memory limit
– I manually set my server PHP memory limit to 128M
Both didn’t help. 128M really should be enough for that script.
Would be awesome if someone could help me out with that.
klafkid
]]>Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 73 bytes) in /www/htdocs/***/wp-content/plugins/file-gallery/includes/html5lib/Data.php on line 66
I have a php memory-limit of 256 mb an I usually use 70 mb. I think something is using to much memory. When I deactivate the plugin, the error message disappears. Any suggestions? Thanks in advance.
https://www.ads-software.com/plugins/file-gallery/
]]><div class=”onoodorgarchig”>
<h5>
” rel=”bookmark” title=”???? >> <?php the_title(); ?>”>
<?php $short_title = mb_substr(the_title(”,”,FALSE),0,30);
echo $short_title; if (strlen($short_title) >25){ echo ”; } ?>
</h5>
Fatal error: Out of memory (allocated 25427968) (tried to allocate 7680 bytes) in /home/(my username)/public_html/wp-includes/kses.php(401) : runtime-created function on line 1
At first it only started out when I upgraded plugins, then i disabled some plugins and it started working again
But then it started showing up again. I couldn’t upgrade (automatically) the one click updater (it’s disabled now)
I couldn’t even automatically update to wordpress 2.8 The memory notice kept showing up, and some other errors also. However the files sometimes changed at the end, like wp db, or httpd.php, something with class nd other things, but now it’s strictly the kses.php file
I tried everything! Created a php.ini file, added lines to my .htaccess, wp-config, wp-settings and so on. Nothing is working! and now I can’t even view my plugins page, I have to disable plugins to see it. Plugins that i really need.
I’ve checked every forum possible on this topic (well it seems) I would really appreciate ANY help.. Thank you!
]]>