Matt
Forum Replies Created
-
Forum: Plugins
In reply to: [Enable Media Replace] Permissions Problem on IIS Server@msarns perhaps I am out of the loop as I don’t lurk these forums often, but I feel there is a lot of valuable information for hackers in that health report and don’t think you should leave it there.
Regards
The two posts with the issue have “_expiration-date-status” == “saved” (and no other values).
The one I checked that didn’t have the issue does not have any metadata with ‘expiration’ in the name.
I did #1 earlier. Here are my screenshots. I don’t have time to do #2 right now.
defaults: https://drive.google.com/file/d/185o07eNz1loyxocupZJ65aOuiE8S-UMA/view?usp=sharing
post types: https://drive.google.com/file/d/186D4WwXFxP8YYV-_CkPntX6fiFnXq67L/view?usp=sharing
Here are the debug logs at the last automatic delete:
2022-01-22 13:30:18 77 -> NO PAYLOAD ON SAVE_POST 2022-01-22 13:29:02 77 -> PROCESSED delete Array ( [expireType] => delete [category] => [categoryTaxonomy] => [enabled] => 1 ) 2022-01-22 13:28:44 77 -> SCHEDULED at Sat, 22 Jan 2022 13:22:00 -0500 (1642875720) with options Array ( [expireType] => delete [id] => 77 ) no error
And two others:
2022-01-21 12:35:17 741 -> NO PAYLOAD ON SAVE_POST 2022-01-21 12:34:01 741 -> PROCESSED delete Array ( [expireType] => delete [category] => [categoryTaxonomy] => [enabled] => 1 ) 2022-01-21 12:33:59 741 -> SCHEDULED at Fri, 21 Jan 2022 12:32:00 -0500 (1642786320) with options Array ( [expireType] => delete [id] => 741 ) no error 2022-01-21 09:45:33 21220 -> NO PAYLOAD ON SAVE_POST 2022-01-21 09:44:43 21215 -> PROCESSED delete Array ( [expireType] => delete [category] => [categoryTaxonomy] => [enabled] => 1 ) 2022-01-21 09:44:42 21215 -> SCHEDULED at Fri, 21 Jan 2022 09:32:00 -0500 (1642775520) with options Array ( [expireType] => delete [id] => 21215 ) no error
- This reply was modified 3 years, 1 month ago by Matt.
We are having this same issue happen. Two “pages” that existed since the site’s inception, basically, were trashed upon updating them. We are using the classic editor.
After reading the posts here, I am seeing similar results. However, it’s not consistent. I just edited a post that was published “Jun 16, 2014” and when I edit it, I see PublishPress Future is enabled with an expiration date of right now (to the minute) when I edited the post. However, I edited another page published “Sep 1, 2014” and that one does not have the expiration enabled. A third test for a page published on “Dec 15, 2014” DOES has the expiration set to the exact minute right now.
Using the rollback plugin mentioned, I rolled back to 2.7.0 (we were on 2.7.1 even though your documentation says it’s not released) and now when I edit either of those pages I mentioned, they do NOT have the expiration set.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] SQL errors in logsI created the following to filter emoji’s from searches which seems to be working, maybe.
function asd_remove_emojis($string) { // Match Emoticons $regex_emoticons = '/[\x{1F600}-\x{1F64F}]/u'; $clear_string = preg_replace($regex_emoticons, '', $string); // Match Miscellaneous Symbols and Pictographs $regex_symbols = '/[\x{1F300}-\x{1F5FF}]/u'; $clear_string = preg_replace($regex_symbols, '', $clear_string); // Match Transport And Map Symbols $regex_transport = '/[\x{1F680}-\x{1F6FF}]/u'; $clear_string = preg_replace($regex_transport, '', $clear_string); // Match Miscellaneous Symbols $regex_misc = '/[\x{2600}-\x{26FF}]/u'; $clear_string = preg_replace($regex_misc, '', $clear_string); // Match Dingbats $regex_dingbats = '/[\x{2700}-\x{27BF}]/u'; $clear_string = preg_replace($regex_dingbats, '', $clear_string); return $clear_string; }
function asd_search_filter($query) { if ( !is_admin() && $query->is_main_query() ) { // Check if we are on a search page if ($query->is_search) { // Get the search query $search_term = get_search_query(); $search_term = asd_remove_emojis($search_term); $query->set( 's', $search_term ); } } } add_action('pre_get_posts','asd_search_filter');
Forum: Plugins
In reply to: [Relevanssi - A Better Search] SQL errors in logsSorry, this is the error:
WordPress database error Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8mb4_unicode_520_ci,COERCIBLE) for operation ‘like’ for query
I do not know what version we upgraded from but we update pretty frequently so I doubt anywhere near that old.
- This reply was modified 3 years, 12 months ago by Matt.
Forum: Plugins
In reply to: [Enable Media Replace] Error trying to replace a PDFThe issue appears to be related to this: https://core.trac.www.ads-software.com/ticket/48853
I had to remove ghostscript from the server to resolve the issue.
Forum: Plugins
In reply to: [Enable Media Replace] Error trying to replace a PDFSorry, I meant I tried going back to older EMR versions. I wen’t back all the way to version 3.3.7 and it was still a problem. That leads me to believe a recent wordpress update may have broken it. We haven’t installed any new plugins in awhile.
Forum: Plugins
In reply to: [Enable Media Replace] Error trying to replace a PDFI am running on windows with IIS / PHP v7.4.6 so mod_security is not my issue.
Browser? – both firefox and chrome
Enable Media Replace version? – latest version
Does it happen for all PDFs? – yes and on different subsites (multisite config)
Does the same happen if you install a previous version of EMR? – I went back all the way to v3.3.7 so it must be something in combination with a wordpress update (running latest wordpress).I’ve had Gutenberg disabled with that plugin since day one and we still have the random post-not-expiring issue described here: https://www.ads-software.com/support/topic/expiration-not-working-consistently/
Forum: Plugins
In reply to: [Enable Media Replace] Issue with time when media updatedyou’ve missed this fix again. I’ve created a pull request:
https://github.com/short-pixel-optimizer/enable-media-replace/pull/26
unless someone can figure out a way to nudge the developer I think we may be waiting awhile for a response.
I am having a similar issue. I posted a follow up to my previous thread on this topic. (It doesn’t help you but hopefully helps the developer) — https://www.ads-software.com/support/topic/expiration-not-working-consistently/
Just had another post fail to delete on expiration. It was supposed to delete yesterday at 1:05pm local time (the 5:05-ish in the logs below). I am pasting addtional days in the past in case it helps. Also note I noticed it hadn’t yet deleted today which is almost 24 hours past the expiration. The post still had everything set with a checkbox to expire and delete yesterday at 1:05pm.
Timestamp Message 2019-03-01 05:06:47 13338 -> SCHEDULED at Fri, 01 Mar 2019 18:05:00 +0000 (1551463500) with options Array ( [expireType] => delete [id] => 13338 ) 2019-03-01 05:06:47 13338 -> EXISTING FOUND - UNSCHEDULED 2019-03-01 05:06:33 13338 -> SCHEDULED at Fri, 01 Mar 2019 18:05:00 +0000 (1551463500) with options Array ( [expireType] => delete [id] => 13338 ) 2019-03-01 05:06:33 13338 -> EXISTING FOUND - UNSCHEDULED 2019-03-01 05:05:53 13338 -> SCHEDULED at Fri, 01 Mar 2019 18:05:00 +0000 (1551463500) with options Array ( [expireType] => delete [id] => 13338 ) 2019-02-27 10:05:27 13298 -> SCHEDULED at Tue, 12 Mar 2019 11:04:00 +0000 (1552388640) with options Array ( [expireType] => delete [id] => 13298 ) 2019-02-27 10:05:27 13298 -> EXISTING FOUND - UNSCHEDULED 2019-02-27 10:05:09 13298 -> SCHEDULED at Tue, 12 Mar 2019 11:04:00 +0000 (1552388640) with options Array ( [expireType] => delete [id] => 13298 ) 2019-02-27 10:05:09 13298 -> EXISTING FOUND - UNSCHEDULED 2019-02-27 10:04:45 13298 -> SCHEDULED at Tue, 12 Mar 2019 11:04:00 +0000 (1552388640) with options Array ( [expireType] => delete [id] => 13298 ) 2019-02-26 12:00:29 13276 -> PROCESSED delete Array ( [expireType] => delete [id] => 13276 ) 2019-02-26 08:54:28 13159 -> PROCESSED delete Array ( [expireType] => delete [id] => 13159 ) 2019-02-25 21:20:59 13276 -> SCHEDULED at Tue, 26 Feb 2019 17:00:00 +0000 (1551200400) with options Array ( [expireType] => delete [id] => 13276 ) 2019-02-25 20:39:40 13268 -> PROCESSED delete Array ( [expireType] => delete [id] => 13268 ) 2019-02-25 12:41:25 13268 -> SCHEDULED at Tue, 26 Feb 2019 01:39:00 +0000 (1551145140) with options Array ( [expireType] => delete [id] => 13268 ) 2019-02-25 12:41:25 13268 -> EXISTING FOUND - UNSCHEDULED 2019-02-25 12:41:10 13268 -> SCHEDULED at Tue, 26 Feb 2019 01:39:00 +0000 (1551145140) with options Array ( [expireType] => delete [id] => 13268 ) 2019-02-25 12:41:10 13268 -> EXISTING FOUND - UNSCHEDULED 2019-02-25 12:40:04 13268 -> SCHEDULED at Tue, 26 Feb 2019 01:39:00 +0000 (1551145140) with options Array ( [expireType] => delete [id] => 13268 ) 2019-02-22 16:57:55 13265 -> SCHEDULED at Fri, 08 Mar 2019 13:56:00 +0000 (1552053360) with options Array ( [expireType] => delete [id] => 13265 ) 2019-02-22 16:57:55 13265 -> EXISTING FOUND - UNSCHEDULED 2019-02-22 16:57:45 13265 -> SCHEDULED at Fri, 08 Mar 2019 13:56:00 +0000 (1552053360) with options Array ( [expireType] => delete [id] => 13265 ) 2019-02-20 15:00:09 13258 -> PROCESSED delete Array ( [expireType] => delete [id] => 13258 )
Forum: Plugins
In reply to: [Enable Media Replace] Issue with time when media updatedYou didn’t include this fix in your latest update ??