Title: regexaurus's Replies | WordPress.org

---

# regexaurus

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

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

 Search replies:

## Forum Replies Created

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

1 [2](https://wordpress.org/support/users/regexaurus/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/regexaurus/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Constant Contact Forms] PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + string](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror-unsupported-operand-types-string-string-3/)
 *  [regexaurus](https://wordpress.org/support/users/regexaurus/)
 * (@regexaurus)
 * [4 months, 1 week ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-typeerror-unsupported-operand-types-string-string-3/#post-18754281)
 * We ran into this today, on a DreamPress (managed WordPress) site with PHP 8.4.
   We have DISABLE_WP_CRON defined and enabled (true).
 * Thank you, [@spatton99](https://wordpress.org/support/users/spatton99/), for 
   the temporary fix!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Constant Contact Forms] Critical Error encountered with update to Constant Contact FormsVersion 2.9.0](https://wordpress.org/support/topic/critical-error-encountered-with-update-to-constant-contact-formsversion-2-9-0/)
 *  [regexaurus](https://wordpress.org/support/users/regexaurus/)
 * (@regexaurus)
 * [1 year ago](https://wordpress.org/support/topic/critical-error-encountered-with-update-to-constant-contact-formsversion-2-9-0/#post-18394519)
 * Thank you, [@tw2113](https://wordpress.org/support/users/tw2113/)!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Constant Contact Forms] Critical Error encountered with update to Constant Contact FormsVersion 2.9.0](https://wordpress.org/support/topic/critical-error-encountered-with-update-to-constant-contact-formsversion-2-9-0/)
 *  [regexaurus](https://wordpress.org/support/users/regexaurus/)
 * (@regexaurus)
 * [1 year ago](https://wordpress.org/support/topic/critical-error-encountered-with-update-to-constant-contact-formsversion-2-9-0/#post-18394462)
 * [@tw2113](https://wordpress.org/support/users/tw2113/) that (2.9.1) appears to
   be working. It’s at least not obviously breaking our website anymore.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Safe Redirect Manager] Incorrect default status code (302) when creating new redirect? 🤔](https://wordpress.org/support/topic/incorrect-default-status-code-302-when-creating-new-redirect-%f0%9f%a4%94/)
 *  Thread Starter [regexaurus](https://wordpress.org/support/users/regexaurus/)
 * (@regexaurus)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/incorrect-default-status-code-302-when-creating-new-redirect-%f0%9f%a4%94/#post-17407074)
 * Thank you, Darin! That works well for us.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy Updates Manager] Do I need premium to call wp-cron from cron / crontab?](https://wordpress.org/support/topic/do-i-need-premium-to-call-wp-cron-from-cron-crontab/)
 *  Thread Starter [regexaurus](https://wordpress.org/support/users/regexaurus/)
 * (@regexaurus)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/do-i-need-premium-to-call-wp-cron-from-cron-crontab/#post-16453475)
 * Thank you much. Very helpful! 🙂
    -  This reply was modified 3 years, 2 months ago by [regexaurus](https://wordpress.org/support/users/regexaurus/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy Updates Manager] Do I need premium to call wp-cron from cron / crontab?](https://wordpress.org/support/topic/do-i-need-premium-to-call-wp-cron-from-cron-crontab/)
 *  Thread Starter [regexaurus](https://wordpress.org/support/users/regexaurus/)
 * (@regexaurus)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/do-i-need-premium-to-call-wp-cron-from-cron-crontab/#post-16452478)
 * The production site has a `.git` directory in site root. The staging site has
   a `.git` file in site root which contains a single line:
 * `gitdir: /path/to/subdirectory/of/.git/on/production/site`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy Updates Manager] Do I need premium to call wp-cron from cron / crontab?](https://wordpress.org/support/topic/do-i-need-premium-to-call-wp-cron-from-cron-crontab/)
 *  Thread Starter [regexaurus](https://wordpress.org/support/users/regexaurus/)
 * (@regexaurus)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/do-i-need-premium-to-call-wp-cron-from-cron-crontab/#post-16449083)
 * Sorry for my even slower response.
   Yes, there is a `.git` directory in site root.
   It appears to be created and used by [DreamPress one-click staging](https://help.dreamhost.com/hc/en-us/articles/360001265112-How-to-stage-a-DreamPress-site),
   which I enabled for the site some time ago.There are no `.git`, `.svn`, `.hg`,
   or `.bzr` directories in `wp-content`, `wp-content/plugins`, or `wp-content/themes`.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy Updates Manager] Do I need premium to call wp-cron from cron / crontab?](https://wordpress.org/support/topic/do-i-need-premium-to-call-wp-cron-from-cron-crontab/)
 *  Thread Starter [regexaurus](https://wordpress.org/support/users/regexaurus/)
 * (@regexaurus)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/do-i-need-premium-to-call-wp-cron-from-cron-crontab/#post-16434511)
 * [@anthoniusalfred](https://wordpress.org/support/users/anthoniusalfred/) I did
   a _Force updates_ as requested, and saw a message, “Force update checks have 
   been initialized”, but as I had before I tried forcing updates, I still have 
   4 plugins that all indicate, “There is a new version of _plugin name_ available.”
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy Updates Manager] Do I need premium to call wp-cron from cron / crontab?](https://wordpress.org/support/topic/do-i-need-premium-to-call-wp-cron-from-cron-crontab/)
 *  Thread Starter [regexaurus](https://wordpress.org/support/users/regexaurus/)
 * (@regexaurus)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/do-i-need-premium-to-call-wp-cron-from-cron-crontab/#post-16434488)
 * I installed WP Crontrol to see if it would show anything possibly useful/helpful.
   All appears normal as best as I can tell, and a web search seems to suggest MPSUM_Disable_Updates-
   >maybe_auto_update() is specific to Easy Updates Manager.
 * ![](https://i0.wp.com/i.imgur.com/VcKjYtK.png?ssl=1)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy Updates Manager] Do I need premium to call wp-cron from cron / crontab?](https://wordpress.org/support/topic/do-i-need-premium-to-call-wp-cron-from-cron-crontab/)
 *  Thread Starter [regexaurus](https://wordpress.org/support/users/regexaurus/)
 * (@regexaurus)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/do-i-need-premium-to-call-wp-cron-from-cron-crontab/#post-16434010)
 * Yes, I had added this job in crontab:
 * */20 * * * * cd /home/_username_/_siteroot_; wp cron event run –due-now > /dev/
   null 2>&1
 * But automatic updates haven’t been working. I took your suggestion and switched
   to calling wp-cron.php instead (using curl instead of wget):
 * */20 * * * * curl https://_www.example.com_/wp-cron.php?doing_wp_cron > /dev/
   null 2>&1
 * The website is hosted on DreamPress. I was reviewing access.log and happened 
   to notice entries like this:
 * [02/Feb/2023:07:00:02 -0800] "GET /wp-cron.php?doing_wp_cron HTTP/1.1" 200 242"-""
   DreamPress wp-cron/1.0"
 * These entries appear every 15 minutes. Looking into this, I found this DreamHost/
   DreamPress Knowledgebase article: [Disabling WP-CRON to Improve Overall Site Performance](https://help.dreamhost.com/hc/en-us/articles/360048323291-Disabling-WP-CRON-to-Improve-Overall-Site-Performance)
   And from that article:
 * ![](https://i0.wp.com/i.imgur.com/QqvV196.png?resize=537%2C43&ssl=1)
 * I’m also seeing access.log entries corresponding to my crontab job for curl /
   wp-cron.php. But automatic updates are still not working…
    -  This reply was modified 3 years, 2 months ago by [regexaurus](https://wordpress.org/support/users/regexaurus/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] FSD CDN set up confusion](https://wordpress.org/support/topic/fsd-cdn-set-up-confusion/)
 *  Thread Starter [regexaurus](https://wordpress.org/support/users/regexaurus/)
 * (@regexaurus)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/fsd-cdn-set-up-confusion/#post-15762173)
 * Right, so I had already followed that down to the success message, but the trouble
   is with removing the A (host) record for website/domain and creating a CNAME 
   record for that domain, that points to the Cloudfront distribution domain. When
   a website is created on DreamHost shared hosting, the A record is automatically
   created and it can’t be deleted directly (only by removing hosting for the website/
   domain). DreamHost prevents creation of a CNAME with the same hostname as an 
   existing A record…and I doubt that would work well or as desired, if I could 
   create a CNAME record with the same hostname as an existing A record. I can create
   an ALIAS record, but that doesn’t work as desired. Then there is the trouble 
   of creating an alternative hostname (as described in the FAQ) and pointing it
   at the same IP address as the main/original A record for the website/domain. 
   Since this is for a DreamHost shared hosting environment, where is traffic to
   that IP going to be routed? I don’t think DreamHost shared hosting uses a dedicated
   IP per website/domain…? 🤷🏻‍♂️ If that’s correct, they’re probably using name
   hints to determine how to route web traffic and the alternative hostname A record
   simply wouldn’t work…?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] Questions regarding W3 Total Cache Image Service](https://wordpress.org/support/topic/questions-regarding-w3-total-cache-image-service/)
 *  [regexaurus](https://wordpress.org/support/users/regexaurus/)
 * (@regexaurus)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/questions-regarding-w3-total-cache-image-service/#post-15758614)
 * Hi Marko,
 * I’m a little confused by point 1, where you indicate the CDN needs to be purged
   after converting images, so that webp images can replace the existing images.
   After purging the CDN, will the CDN also pull jpg/jpeg/png images as needed, 
   for browsers that don’t support webp?
 * Thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Auto and manual WAF rules update fails](https://wordpress.org/support/topic/auto-and-manual-waf-rules-update-fails/)
 *  Thread Starter [regexaurus](https://wordpress.org/support/users/regexaurus/)
 * (@regexaurus)
 * [7 years ago](https://wordpress.org/support/topic/auto-and-manual-waf-rules-update-fails/#post-11384629)
 * According to DreamHost support, the problem appears to be with Wordfence. DreamHost
   support responded with, “…it seems as if our servers cannot reach WordFence’s
   cloud host as the connection dies at the boarder. A traceroute to noc4.wordfence.
   com dies at their boarder and a trace back to us dies as well. From what we have
   determined, the issue seems to be with WordFence and not us…”
    Presumably, boarder
   == router 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[UpdraftPlus: WP Backup & Migration Plugin] UpdraftPlus Backup deleted from hacker](https://wordpress.org/support/topic/updraftplus-backup-deleted-from-hacker/)
 *  [regexaurus](https://wordpress.org/support/users/regexaurus/)
 * (@regexaurus)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/updraftplus-backup-deleted-from-hacker/#post-9207217)
 * I cleaned up / fixed a bug in my first script above and [posted to Pastebin](https://pastebin.com/cs8Wu1eZ)(
   more legible there).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[UpdraftPlus: WP Backup & Migration Plugin] UpdraftPlus Backup deleted from hacker](https://wordpress.org/support/topic/updraftplus-backup-deleted-from-hacker/)
 *  [regexaurus](https://wordpress.org/support/users/regexaurus/)
 * (@regexaurus)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/updraftplus-backup-deleted-from-hacker/#post-9206453)
 * One approach to keeping your Google Drive backups (more) secure in the event 
   your web site is hacked:
    1. Share the _UpdraftPlus_ folder with a second Google account. View access is 
       fine. If you want to remove the source files after copying to the second account,
       grant edit access.
    2. On your second Google account, create an unshared folder (e.g. UpdraftPlusCopy).
    3. On your second Google account, go to script.google.com. Copy/paste the following(
       I renamed myFunction to CopyNewFiles) and replace the [bogus] folder IDs with
       the folder IDs for your source/destination folders:
        function CopyNewFiles(){
       var SourceFolder = DriveApp.getFolderById(‘JMtgsgM9sY9Fe5Z7wCbb4YVVqfeZiZ’);
       var SourceFiles = DriveApp.getFolderById(‘JMtgsgM9sY9Fe5Z7wCbb4YVVqfeZiZ’).getFiles();
       var DestFolder = DriveApp.getFolderById(‘SFGXwgvX6DmkAvPrrnWC2KY3imy7s2’); var
       DestFiles = DriveApp.getFolderById(‘SFGXwgvX6DmkAvPrrnWC2KY3imy7s2’).getFiles();
       var NotInDest = true; while (SourceFiles.hasNext()) { SourceFile = SourceFiles.
       next(); while (DestFiles.hasNext()) { DestFile = DestFiles.next(); if (SourceFile.
       getName() === DestFile.getName()) { NotInDest = false; } } if (NotInDest) { 
       SourceFile.makeCopy(SourceFile.getName(), DestFolder); NotInDest = true; } DestFiles
       = DriveApp.getFolderById(‘SFGXwgvX6DmkAvPrrnWC2KY3imy7s2’).getFiles(); } }
    4. Optionally, rename the project. Save it (Ctrl+S) works and click the Run button.
       
       The first time you run it, you should be prompted to grant the script access
       to manage your (second Google account) Drive.
 * The script above will copy all files from SourceFolder to DestFolder that don’t
   already exist (identically-named file) exist in the DestFolder. If you are concerned
   about storage limits/cost, you could update the script to remove the original
   file after copying (example below). With that approach, you can remove/comment
   the code that checks for identically-named files in DestFolder, since that should
   never be the case if you remove the original file in SourceFolder. To do a restore
   from the UpdraftPlus plugin, you would need to copy/move the backup files back
   to the UpdraftPlus folder on the first Google account.
 * function CopyNewFiles() {
    var SourceFolder = DriveApp.getFolderById(‘JMtgsgM9sY9Fe5Z7wCbb4YVVqfeZiZ’);
   var SourceFiles = DriveApp.getFolderById(‘JMtgsgM9sY9Fe5Z7wCbb4YVVqfeZiZ’).getFiles();
   var DestFolder = DriveApp.getFolderById(‘SFGXwgvX6DmkAvPrrnWC2KY3imy7s2’); while(
   SourceFiles.hasNext()) { SourceFile = SourceFiles.next(); SourceFile.makeCopy(
   SourceFile.getName(), DestFolder); SourceFolder.removeFile(SourceFile); } }

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

1 [2](https://wordpress.org/support/users/regexaurus/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/regexaurus/replies/page/2/?output_format=md)