webmasterfreya
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] Attempt to read property “display_name” on boolThanks!
Very very bad idea to notify the users of this plugin this way to tell that there is a new function. Every request creates an entry in the php error log.
I’ve put under settings “Log events to the PHP error log ” off
Which leads to an endless stream of 404 errors in the access log (not only from crawlers but also from al kind of devices (mobile , tablets etc).
For now “minify” off, until the new version of wp-optimize.
https://nl.www.ads-software.com/plugins/webp-express/
More than 4 out of 5 mobile users are using a browser that is able to display webp images. Yet, on most websites, they are served jpeg images, which are typically double the size of webp images for a given quality. What a waste of bandwidth! This plugin was created to help remedy that situation. With little effort, WordPress admins can have their site serving autogenerated webp images to browsers that supports it, while still serving jpeg and png files to browsers that does not support webp.
Keep in mind there are still (!) browsers (safari apple) that will not accept webp format, so load images to the media library (as small as possible) as .jpg etc, not as .webp.
Also take a look at plugin : WebP Express
See also https://www.ads-software.com/support/topic/error-404-on-js-minify-admin-purge-3-1-9-min-jsver3-1-9/
Every click in admin dashboard leads to an error 404
Indeed sumit99531,
minify-admin-purge-3-1-9.min.js and
minify-admin-purge.jsare omitted.
Found it!
In the current php version (7.3.18) this construct is causing this odd behaviour:
e.g. $to .= “[email protected]”
Should now be $to = “[email protected]”
If the variable $to is not defined before $to .= gives unexpected odd results.
Sorry for consuming your time, but maybe this will help others.
Thanks, I’ve send the code via the form.
That’s what i thought, but wp-config.php clearly states : define(‘WP_DEBUG’, false);
If i look at the source of the mail i see :
<html><body style=”font-family: ‘Calibri Light’,Helvetica,Arial,sans-serif;”>The request method was not GET (POST), WordPress login cookies were detected, In the settings, caching is disabled for matches for the current URL<br />
nothing like : <!– WP Optimize page cache
The phrase “caching is disabled for matches for the current URL” is true, i did disable it to see if this problem occured from wp-optimize, which it looks like.
I rather not deactivate wp-optimize as it’s otherwise working very good.
When i disable page caching the problem is gone, enabling it returns.
Any thoughts on what to try next?
Hi Marc,
You’re fast ??
The mails are created by a self written function which is there for many years already.
Forum: Plugins
In reply to: [Akismet Anti-spam: Spam Protection] Buddypress activity and AkismetO dear ,
Can’t see the rror anymore in the dashboard, but the error log says otherwise:
[Thu Feb 20 18:36:48.098010 2020] [proxy_fcgi:error] [pid 29585] [client 213.73.155.194:43842] AH01071: Got error ‘PHP message: PHP Warning: usort() expects parameter 1 to be array, string given in /var/www/vhosts/freya.nl/httpdocs/wp-content/plugins/buddypress/bp-activity/classes/class-bp-akismet.php on line 660’, referer: https://www.freya.nl/wp-admin/admin.php?page=bp-activity
[Thu Feb 20 18:40:49.720092 2020] [proxy_fcgi:error] [pid 30377] [client 213.73.155.194:45238] AH01071: Got error ‘PHP message: PHP Warning: usort() expects parameter 1 to be array, string given in /var/www/vhosts/freya.nl/httpdocs/wp-content/plugins/buddypress/bp-activity/classes/class-bp-akismet.php on line 660’, referer: https://www.freya.nl/wp-admin/admin.php?page=bp-activity
[Thu Feb 20 18:41:07.921072 2020] [proxy_fcgi:error] [pid 30159] [client 213.73.155.194:45388] AH01071: Got error ‘PHP message: PHP Warning: usort() expects parameter 1 to be array, string given in /var/www/vhosts/freya.nl/httpdocs/wp-content/plugins/buddypress/bp-activity/classes/class-bp-akismet.php on line 660’, referer: https://www.freya.nl/wp-admin/admin.php?page=bp-activity
[Thu Feb 20 18:42:10.717108 2020] [proxy_fcgi:error] [pid 29585] [client 213.73.155.194:45580] AH01071: Got error ‘PHP message: PHP Warning: usort() expects parameter 1 to be array, string given in /var/www/vhosts/freya.nl/httpdocs/wp-content/plugins/buddypress/bp-activity/classes/class-bp-akismet.php on line 660’, referer: https://www.freya.nl/wp-admin/admin.php?page=bp-activityForum: Plugins
In reply to: [Akismet Anti-spam: Spam Protection] Buddypress activity and AkismetHi,
The problem occured 3 month ago.
See https://buddypress.org/support/topic/buddypress-activity-and-akismet/
WP 5.3
Buddypress 5.0.0.
BP legacy
php 7.3.11I posted this with Buddypress and Akismet and Akismet replied (buddypress did not).
I deactivated Akismet until today when I received response from Akismet (Stephane).So to gather more info I reactivated Akismet and low and behold, the problem seems to be gone.
Current versions :
Wordpress 5.3.2
Akismet 4.1.3
Buddypress 5.1.2
php 7.3.14So I’m not able to recreate the usort error anymore.
Forum: Plugins
In reply to: [Akismet Anti-spam: Spam Protection] Buddypress activity and AkismetHi Stephane,
No need to apoligize!
The commentmeta table is indeed (totally) empty. I’ve checked also an older backup (04-06-2019) and the commentmeta table is also empty.
Erwin
Forum: Fixing WordPress
In reply to: PHP fatal errorThanks @bcworkz