Title: Matt's Replies | WordPress.org

---

# Matt

  [  ](https://wordpress.org/support/users/syntax53/)

 *   [Profile](https://wordpress.org/support/users/syntax53/)
 *   [Topics Started](https://wordpress.org/support/users/syntax53/topics/)
 *   [Replies Created](https://wordpress.org/support/users/syntax53/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/syntax53/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/syntax53/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/syntax53/engagements/)
 *   [Favorites](https://wordpress.org/support/users/syntax53/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 218 total)

1 [2](https://wordpress.org/support/users/syntax53/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/syntax53/replies/page/3/?output_format=md)…
[13](https://wordpress.org/support/users/syntax53/replies/page/13/?output_format=md)
[14](https://wordpress.org/support/users/syntax53/replies/page/14/?output_format=md)
[15](https://wordpress.org/support/users/syntax53/replies/page/15/?output_format=md)
[→](https://wordpress.org/support/users/syntax53/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Enable Media Replace] Permissions Problem on IIS Server](https://wordpress.org/support/topic/permissions-problem-on-iis-server/)
 *  [Matt](https://wordpress.org/support/users/syntax53/)
 * (@syntax53)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/permissions-problem-on-iis-server/#post-16073512)
 * [@msarns](https://wordpress.org/support/users/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
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Schedule Post Changes With PublishPress Future: Unpublish, Delete, Change Status, Trash, Change Categories] Automatically Expiring old posts](https://wordpress.org/support/topic/automatically-expiring-old-posts/)
 *  [Matt](https://wordpress.org/support/users/syntax53/)
 * (@syntax53)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/automatically-expiring-old-posts/page/2/#post-15285906)
 * 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.
    -  This reply was modified 4 years, 3 months ago by [Matt](https://wordpress.org/support/users/syntax53/).
    -  This reply was modified 4 years, 3 months ago by [Matt](https://wordpress.org/support/users/syntax53/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Schedule Post Changes With PublishPress Future: Unpublish, Delete, Change Status, Trash, Change Categories] Automatically Expiring old posts](https://wordpress.org/support/topic/automatically-expiring-old-posts/)
 *  [Matt](https://wordpress.org/support/users/syntax53/)
 * (@syntax53)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/automatically-expiring-old-posts/page/2/#post-15284215)
 * 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](https://drive.google.com/file/d/185o07eNz1loyxocupZJ65aOuiE8S-UMA/view?usp=sharing)
 * post types: [https://drive.google.com/file/d/186D4WwXFxP8YYV-_CkPntX6fiFnXq67L/view?usp=sharing](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 4 years, 3 months ago by [Matt](https://wordpress.org/support/users/syntax53/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Schedule Post Changes With PublishPress Future: Unpublish, Delete, Change Status, Trash, Change Categories] Automatically Expiring old posts](https://wordpress.org/support/topic/automatically-expiring-old-posts/)
 *  [Matt](https://wordpress.org/support/users/syntax53/)
 * (@syntax53)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/automatically-expiring-old-posts/#post-15279963)
 * 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.
    -  This reply was modified 4 years, 3 months ago by [Matt](https://wordpress.org/support/users/syntax53/).
    -  This reply was modified 4 years, 3 months ago by [Matt](https://wordpress.org/support/users/syntax53/).
    -  This reply was modified 4 years, 3 months ago by [Matt](https://wordpress.org/support/users/syntax53/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Relevanssi - A Better Search] SQL errors in logs](https://wordpress.org/support/topic/sql-errors-in-logs/)
 *  Thread Starter [Matt](https://wordpress.org/support/users/syntax53/)
 * (@syntax53)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/sql-errors-in-logs/#post-14236925)
 * I 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Relevanssi - A Better Search] SQL errors in logs](https://wordpress.org/support/topic/sql-errors-in-logs/)
 *  Thread Starter [Matt](https://wordpress.org/support/users/syntax53/)
 * (@syntax53)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/sql-errors-in-logs/#post-14234645)
 * Sorry, 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 5 years, 1 month ago by [Matt](https://wordpress.org/support/users/syntax53/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Enable Media Replace] Error trying to replace a PDF](https://wordpress.org/support/topic/error-trying-to-replace-a-pdf/)
 *  Thread Starter [Matt](https://wordpress.org/support/users/syntax53/)
 * (@syntax53)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/error-trying-to-replace-a-pdf/#post-13044538)
 * The issue appears to be related to this: [https://core.trac.wordpress.org/ticket/48853](https://core.trac.wordpress.org/ticket/48853)
 * I had to remove ghostscript from the server to resolve the issue.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Enable Media Replace] Error trying to replace a PDF](https://wordpress.org/support/topic/error-trying-to-replace-a-pdf/)
 *  Thread Starter [Matt](https://wordpress.org/support/users/syntax53/)
 * (@syntax53)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/error-trying-to-replace-a-pdf/#post-13030108)
 * Sorry, 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Enable Media Replace] Error trying to replace a PDF](https://wordpress.org/support/topic/error-trying-to-replace-a-pdf/)
 *  Thread Starter [Matt](https://wordpress.org/support/users/syntax53/)
 * (@syntax53)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/error-trying-to-replace-a-pdf/#post-13027082)
 * I 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).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Schedule Post Changes With PublishPress Future: Unpublish, Delete, Change Status, Trash, Change Categories] Disable Gutenberg: Post Expirator works](https://wordpress.org/support/topic/disable-gutenberg-post-expirator-works/)
 *  [Matt](https://wordpress.org/support/users/syntax53/)
 * (@syntax53)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/disable-gutenberg-post-expirator-works/#post-11363821)
 * I’ve had Gutenberg disabled with that plugin since day one and we still have 
   the random post-not-expiring issue described here: [https://wordpress.org/support/topic/expiration-not-working-consistently/](https://wordpress.org/support/topic/expiration-not-working-consistently/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Enable Media Replace] Issue with time when media updated](https://wordpress.org/support/topic/issue-with-time-when-media-updated/)
 *  Thread Starter [Matt](https://wordpress.org/support/users/syntax53/)
 * (@syntax53)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/issue-with-time-when-media-updated/#post-11300337)
 * you’ve missed this fix again. I’ve created a pull request:
 * [https://github.com/short-pixel-optimizer/enable-media-replace/pull/26](https://github.com/short-pixel-optimizer/enable-media-replace/pull/26)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Schedule Post Changes With PublishPress Future: Unpublish, Delete, Change Status, Trash, Change Categories] Expiration not working consistently](https://wordpress.org/support/topic/expiration-not-working-consistently/)
 *  Thread Starter [Matt](https://wordpress.org/support/users/syntax53/)
 * (@syntax53)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/expiration-not-working-consistently/#post-11287849)
 * unless someone can figure out a way to nudge the developer I think we may be 
   waiting awhile for a response.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Schedule Post Changes With PublishPress Future: Unpublish, Delete, Change Status, Trash, Change Categories] Posts Not Expiring](https://wordpress.org/support/topic/posts-not-expiring-8/)
 *  [Matt](https://wordpress.org/support/users/syntax53/)
 * (@syntax53)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/posts-not-expiring-8/#post-11272497)
 * 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://wordpress.org/support/topic/expiration-not-working-consistently/](https://wordpress.org/support/topic/expiration-not-working-consistently/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Schedule Post Changes With PublishPress Future: Unpublish, Delete, Change Status, Trash, Change Categories] Expiration not working consistently](https://wordpress.org/support/topic/expiration-not-working-consistently/)
 *  Thread Starter [Matt](https://wordpress.org/support/users/syntax53/)
 * (@syntax53)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/expiration-not-working-consistently/#post-11266974)
 * 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 ) 
       ```
   
    -  This reply was modified 7 years, 2 months ago by [Matt](https://wordpress.org/support/users/syntax53/).
    -  This reply was modified 7 years, 2 months ago by [Matt](https://wordpress.org/support/users/syntax53/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Enable Media Replace] Issue with time when media updated](https://wordpress.org/support/topic/issue-with-time-when-media-updated/)
 *  Thread Starter [Matt](https://wordpress.org/support/users/syntax53/)
 * (@syntax53)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/issue-with-time-when-media-updated/#post-11139706)
 * You didn’t include this fix in your latest update 🙁
 * [https://www.diffchecker.com/OJsg267U](https://www.diffchecker.com/OJsg267U)
    -  This reply was modified 7 years, 3 months ago by [Matt](https://wordpress.org/support/users/syntax53/).
    -  This reply was modified 7 years, 3 months ago by [Matt](https://wordpress.org/support/users/syntax53/).

Viewing 15 replies - 1 through 15 (of 218 total)

1 [2](https://wordpress.org/support/users/syntax53/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/syntax53/replies/page/3/?output_format=md)…
[13](https://wordpress.org/support/users/syntax53/replies/page/13/?output_format=md)
[14](https://wordpress.org/support/users/syntax53/replies/page/14/?output_format=md)
[15](https://wordpress.org/support/users/syntax53/replies/page/15/?output_format=md)
[→](https://wordpress.org/support/users/syntax53/replies/page/2/?output_format=md)