Title: daymobrew's Replies | WordPress.org

---

# daymobrew

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

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

 Search replies:

## Forum Replies Created

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

1 [2](https://wordpress.org/support/users/daymobrew/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/daymobrew/replies/page/3/?output_format=md)…
[16](https://wordpress.org/support/users/daymobrew/replies/page/16/?output_format=md)
[17](https://wordpress.org/support/users/daymobrew/replies/page/17/?output_format=md)
[18](https://wordpress.org/support/users/daymobrew/replies/page/18/?output_format=md)
[→](https://wordpress.org/support/users/daymobrew/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[ManageWP Worker] Thousands of warnings and notices](https://wordpress.org/support/topic/thousands-of-warnings-and-notices/)
 *  [daymobrew](https://wordpress.org/support/users/daymobrew/)
 * (@daymobrew)
 * [1 week, 6 days ago](https://wordpress.org/support/topic/thousands-of-warnings-and-notices/#post-18896260)
 * I see them in PHP 8.4.19.
 * There’s a solution at: [https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated](https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated),
   for example:
 * `function callback($e = null, MWP_Http_ResponseInterface $response = null)`
 * to
 * `function callback($e = null, ?MWP_Http_ResponseInterface $response = null)`
    -  This reply was modified 1 week, 6 days ago by [daymobrew](https://wordpress.org/support/users/daymobrew/).
      Reason: Add solution
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Notification for Telegram] Notification for the Newsletter plugin](https://wordpress.org/support/topic/notification-for-the-newsletter-plugin/)
 *  [daymobrew](https://wordpress.org/support/users/daymobrew/)
 * (@daymobrew)
 * [2 months, 1 week ago](https://wordpress.org/support/topic/notification-for-the-newsletter-plugin/#post-18842097)
 * An idea: Call this plugin from your Newsletter plugin. Obviously there would 
   need to be some settings that a user can enable/disable.
 * `<?php if (function_exists('nftb_send_teleg_message'){ nftb_send_teleg_message(
   $the_message'); }`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Square] PHP 8.1 issue – Optional parameter declared before required parame](https://wordpress.org/support/topic/php-8-1-issue-optional-parameter-declared-before-required-parame/)
 *  Thread Starter [daymobrew](https://wordpress.org/support/users/daymobrew/)
 * (@daymobrew)
 * [7 months ago](https://wordpress.org/support/topic/php-8-1-issue-optional-parameter-declared-before-required-parame/#post-18678612)
 * I have set up a staging site and it only has WordPress 6.8.3, WooCommerce 10.2.2
   and WooCommerce Square 5.1.0.
 * I get the same warnings:
 * `[13-Oct-2025 09:05:13 UTC] PHP Deprecated: Optional parameter $location_ids 
   declared before required parameter $start_time is implicitly treated as a required
   parameter in /wp-content/plugins/woocommerce-square/includes/Gateway/API.php 
   on line 734`
 * I don’t know why you do not see it but it is a [deprecation since 8.0.0](https://php.watch/versions/8.0/deprecate-required-param-after-optional).
 * See [Example 6 that covers this](https://www.php.net/manual/en/functions.arguments.php#functions.arguments.default).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Square] PHP 8.1 issue – Optional parameter declared before required parame](https://wordpress.org/support/topic/php-8-1-issue-optional-parameter-declared-before-required-parame/)
 *  Thread Starter [daymobrew](https://wordpress.org/support/users/daymobrew/)
 * (@daymobrew)
 * [7 months ago](https://wordpress.org/support/topic/php-8-1-issue-optional-parameter-declared-before-required-parame/#post-18676173)
 * I switched to PHP 8.3 and the warning is there when I log into the admin area.
 * [System Status Report](https://gist.github.com/damiencarbery/3141f261978f40ed810e51563e0f21de#file-woocommerce-status-txt)
 * There are no fatal logs.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[New User Approve] Fatal error on PHP 7.3.33 – fn($cols)](https://wordpress.org/support/topic/fatal-error-on-php-7-3-33-fncols/)
 *  Thread Starter [daymobrew](https://wordpress.org/support/users/daymobrew/)
 * (@daymobrew)
 * [7 months, 2 weeks ago](https://wordpress.org/support/topic/fatal-error-on-php-7-3-33-fncols/#post-18657615)
 *  I installed that version and there are no errors. I haven’t needed to approve
   a new user for a while so I will assume that that part is okay.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YayMail - WooCommerce Email Customizer] Want to defer emails by a few mins – what hooks do you use to send?](https://wordpress.org/support/topic/want-to-defer-emails-by-a-few-mins-what-hooks-do-you-use-to-send/)
 *  Thread Starter [daymobrew](https://wordpress.org/support/users/daymobrew/)
 * (@daymobrew)
 * [11 months, 2 weeks ago](https://wordpress.org/support/topic/want-to-defer-emails-by-a-few-mins-what-hooks-do-you-use-to-send/#post-18488019)
 * My code is sorted (though I didn’t make any changes). I’ve no idea what was going
   wrong. Thank you for the help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YayMail - WooCommerce Email Customizer] Want to defer emails by a few mins – what hooks do you use to send?](https://wordpress.org/support/topic/want-to-defer-emails-by-a-few-mins-what-hooks-do-you-use-to-send/)
 *  Thread Starter [daymobrew](https://wordpress.org/support/users/daymobrew/)
 * (@daymobrew)
 * [11 months, 2 weeks ago](https://wordpress.org/support/topic/want-to-defer-emails-by-a-few-mins-what-hooks-do-you-use-to-send/#post-18487844)
 * Thanks for the second update – I am using `woocommerce_allow_send_queued_transactional_email`
   and I’ll keep going with my experiments.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] dns_get_record() warning on localhost](https://wordpress.org/support/topic/dns_get_record-warning-on-localhost/)
 *  Thread Starter [daymobrew](https://wordpress.org/support/users/daymobrew/)
 * (@daymobrew)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/dns_get_record-warning-on-localhost/#post-18325356)
 * A quick fix is to add ‘@’ before the dns_get_record() call i.e.
 * `$dns_records = @dns_get_record( $domain, DNS_NS ); // Fetches the DNS records
   of type NS (Name Server)`
 * as this will supress the PHP warning.
 * I will submit this suggestion to the Jetpack repository.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] dns_get_record() warning on localhost](https://wordpress.org/support/topic/dns_get_record-warning-on-localhost/)
 *  Thread Starter [daymobrew](https://wordpress.org/support/users/daymobrew/)
 * (@daymobrew)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/dns_get_record-warning-on-localhost/#post-18301747)
 * I understand that some online features are not going to work in offline mode 
   but the code should handle this gracefully, without throwing warnings.
 * The code in question is in the `get_nameserver_dns_records()` function. At the
   top of it there’s a check for the `dns_get_record()` function. There should then
   be a check for offline mode and return an empty array if true. This would fix
   both warnings.
    -  This reply was modified 1 year, 3 months ago by [daymobrew](https://wordpress.org/support/users/daymobrew/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] dns_get_record() warning on localhost](https://wordpress.org/support/topic/dns_get_record-warning-on-localhost/)
 *  Thread Starter [daymobrew](https://wordpress.org/support/users/daymobrew/)
 * (@daymobrew)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/dns_get_record-warning-on-localhost/#post-18294320)
 * Yes, it is in offline mode. The Settings page says:
 * `Currently in [Offline Mode](https://jetpack.com/redirect/?source=jetpack-support-development-mode&site=localhost::wordpress::woo-plain)(
   some features are disabled) because: Your site URL is a known local development
   environment URL`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Email Log] _load_textdomain_just_in_time was called incorrectly](https://wordpress.org/support/topic/_load_textdomain_just_in_time-was-called-incorrectly-6/)
 *  [daymobrew](https://wordpress.org/support/users/daymobrew/)
 * (@daymobrew)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/_load_textdomain_just_in_time-was-called-incorrectly-6/#post-18189403)
 * In email-log/load-email-log.php there is code that loads a lot of the plugin 
   at ‘plugins_loaded’, which is too early, but note the comment above the code:
 *     ```wp-block-code
       // Ideally the plugin should be loaded in a later event like init or wp_loaded.
       // But some plugins like EDD are sending emails in init event itself,
       // which won't be logged if the plugin is loaded in wp_loaded or init.
       add_action( 'plugins_loaded', array( $email_log, 'load' ), 101 );
       ```
   
 * Changing the add_action() line to
 * `add_action( 'wp_loaded', array( $email_log, 'load' ), 1 );`
 * cleared the warning for me, but I don’t have EDD.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BackWPup – WordPress Backup & Restore Plugin] Duplicate “Amazon S3: Europe (Irlande)” in S3 destination](https://wordpress.org/support/topic/duplicate-amazon-s3-europe-irlande-in-s3-destination/)
 *  [daymobrew](https://wordpress.org/support/users/daymobrew/)
 * (@daymobrew)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/duplicate-amazon-s3-europe-irlande-in-s3-destination/#post-18056965)
 * me-south-1 = Middle East (Bahrain)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BackWPup – WordPress Backup & Restore Plugin] Duplicate “Amazon S3: Europe (Irlande)” in S3 destination](https://wordpress.org/support/topic/duplicate-amazon-s3-europe-irlande-in-s3-destination/)
 *  [daymobrew](https://wordpress.org/support/users/daymobrew/)
 * (@daymobrew)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/duplicate-amazon-s3-europe-irlande-in-s3-destination/#post-18054935)
 * For [@korsani](https://wordpress.org/support/users/korsani/) they can Inspect
   Element to see which one is really Stockholm – I expect that the select/option
   markup includes Stockholm as a ‘name’ attribute.
 * I’m running my site in English so I won’t see any issue.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BackWPup – WordPress Backup & Restore Plugin] Duplicate “Amazon S3: Europe (Irlande)” in S3 destination](https://wordpress.org/support/topic/duplicate-amazon-s3-europe-irlande-in-s3-destination/)
 *  [daymobrew](https://wordpress.org/support/users/daymobrew/)
 * (@daymobrew)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/duplicate-amazon-s3-europe-irlande-in-s3-destination/#post-18049697)
 * I had a quick look at the languanges/*.po files looking for Stockholm and Ireland.
 * I think that some of the po files are out of date and don’t list ‘Stockholm’ 
   at all.
 * backupwpup.pot has ‘Amazon S3: Europe (Stockholm)’. The DE, DE formal and ES 
   po files have translated this string. The others have not (FR, IT, JP, BR, PT,
   RU, SE, CN). This might be causing the issue (even though it’s not logical that
   it would).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy Social Like Box - Popup - Sidebar Widget] Plugin was preventing Dashboard login until I disabled it in File manager.](https://wordpress.org/support/topic/plugin-was-preventing-dashboard-login-until-i-disabled-it-in-file-manager/)
 *  [daymobrew](https://wordpress.org/support/users/daymobrew/)
 * (@daymobrew)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/plugin-was-preventing-dashboard-login-until-i-disabled-it-in-file-manager/#post-18003933)
 * The error is because there are 2 empty lines at the end of cardoza_facebook_like_box.
   php.
 * The last few lines are (note the blank lines):
 *     ```wp-block-code
       add_action( 'admin_enqueue_scripts', 'add_promotion_to_admin_footer' );add_action( 'login_enqueue_scripts', 'add_promotion_to_admin_footer' );?>
       ```
   
 * The best solution is to remove the close `?>`

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

1 [2](https://wordpress.org/support/users/daymobrew/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/daymobrew/replies/page/3/?output_format=md)…
[16](https://wordpress.org/support/users/daymobrew/replies/page/16/?output_format=md)
[17](https://wordpress.org/support/users/daymobrew/replies/page/17/?output_format=md)
[18](https://wordpress.org/support/users/daymobrew/replies/page/18/?output_format=md)
[→](https://wordpress.org/support/users/daymobrew/replies/page/2/?output_format=md)