Title: farhan25's Replies | WordPress.org

---

# farhan25

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPBakery Page Builder Addons by Livemesh] Team section returns multiple undefined variable errors](https://wordpress.org/support/topic/team-section-returns-multiple-undefined-variable-errors/)
 *  Thread Starter [farhan25](https://wordpress.org/support/users/farhan25/)
 * (@farhan25)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/team-section-returns-multiple-undefined-variable-errors/#post-18056856)
 * Here is a screenshot of Query Monitor for these errors:
 * ![](https://i0.wp.com/i.ibb.co/bvS45Bj/image-227.png?ssl=1)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TranslatePress - Translate Multilingual sites with AI Translation] String Translate Page Style Issue with Search Filter](https://wordpress.org/support/topic/string-translate-page-style-issue-with-search-filter/)
 *  Thread Starter [farhan25](https://wordpress.org/support/users/farhan25/)
 * (@farhan25)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/string-translate-page-style-issue-with-search-filter/#post-17714969)
 * [@anghelemanuel99](https://wordpress.org/support/users/anghelemanuel99/) 
   Is 
   there anything new about this issue?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TranslatePress - Translate Multilingual sites with AI Translation] String Translate Page Style Issue with Search Filter](https://wordpress.org/support/topic/string-translate-page-style-issue-with-search-filter/)
 *  Thread Starter [farhan25](https://wordpress.org/support/users/farhan25/)
 * (@farhan25)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/string-translate-page-style-issue-with-search-filter/#post-17697265)
 * [@anghelemanuel99](https://wordpress.org/support/users/anghelemanuel99/) 
   Hello
   there,
 * Thanks for your time and here is my attempt to reproduce this bug on latest version
   of WordPress and the plugin:
 * I’ve just tested it locally on PHP 8.2.12 and with a fresh install of WordPress
   5.6.2 (the default “Twenty Twenty-Four” theme is activated and no plugin other
   than TranslatePress is active) and I can confirm this bug exists.
 * Here is screenshots of the new installation and the issue again:
 * ![](https://i0.wp.com/i.ibb.co/QrxXT0b/image-56.png?ssl=1)
 * ![](https://i0.wp.com/i.ibb.co/ZKXhKMn/image-57.png?ssl=1)
 * ![](https://i0.wp.com/i.ibb.co/RNW9qNd/image-58.png?ssl=1)
 * ** edit: added margin between images.
    -  This reply was modified 2 years, 3 months ago by [farhan25](https://wordpress.org/support/users/farhan25/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Otter Blocks - Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE] add support for more section layouts](https://wordpress.org/support/topic/add-support-for-more-section-layouts/)
 *  Thread Starter [farhan25](https://wordpress.org/support/users/farhan25/)
 * (@farhan25)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/add-support-for-more-section-layouts/#post-14085364)
 * [@danamv](https://wordpress.org/support/users/danamv/)
    Thanks for your reply,
   What I want to achieve is super easy in bootstrap for example (or other flex 
   libraries). The first approach is not good enough because it will increase the
   DOM size and will cause double editing for desktop / tablet & phone. I don’t 
   know much about the second approach with grid block, but my data is static not
   dynamic so maybe I don’t need a post type. I will try the second approach though.
   Thanks for reading.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Otter Blocks - Gutenberg Blocks, Page Builder for Gutenberg Editor & FSE] add support for more section layouts](https://wordpress.org/support/topic/add-support-for-more-section-layouts/)
 *  Thread Starter [farhan25](https://wordpress.org/support/users/farhan25/)
 * (@farhan25)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/add-support-for-more-section-layouts/#post-14034812)
 * Hello [@hardeepasrani](https://wordpress.org/support/users/hardeepasrani/)
    Thanks
   for your reply, Sorry but it doesn’t work for me because I want 6 columns. If
   I used 2 sections approach, it will break to 4 rows on tablet (2, 1, 2, 1) but
   I need only one section so it will break to three rows (2, 2, 2) on tablet. On
   desktop I can achieve (3, 3) with two sections, but then the problem will be 
   on tablet. I don’t want to use hide on desktop option since it’s not too practical
   and I’ll have to double editing in the future. Thanks for reading.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [add_filter gettext is irreversible](https://wordpress.org/support/topic/add_filter-gettext-is-irreversible/)
 *  Thread Starter [farhan25](https://wordpress.org/support/users/farhan25/)
 * (@farhan25)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/add_filter-gettext-is-irreversible/#post-14011753)
 * [@bcworkz](https://wordpress.org/support/users/bcworkz/)
    Thanks a lot for your
   time. It seems as you said, the plugin [TranslatePress](https://wordpress.org/plugins/translatepress-multilingual/).
   I just want to make sure that I can use `add_filter` with `gettext` without any
   dependency and without DB conflict, in case I want to remove it in the future.
   Is that possible ? Thank you again.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[NSFW] [LiteSpeed Cache] Hacked – Pages under litespeed subfolder](https://wordpress.org/support/topic/hacked-paged-under-litespeed-subfolder/)
 *  [farhan25](https://wordpress.org/support/users/farhan25/)
 * (@farhan25)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/hacked-paged-under-litespeed-subfolder/#post-13987464)
 * fellas I gotta say this is some of the most fucked up shit that I have ever seen
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP STAGING - WordPress Backups, Restore, Migration & Clone] No action for wpstg_daily_event](https://wordpress.org/support/topic/no-action-for-wpstg_daily_event/)
 *  Thread Starter [farhan25](https://wordpress.org/support/users/farhan25/)
 * (@farhan25)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/no-action-for-wpstg_daily_event/#post-13879329)
 * [@renehermi](https://wordpress.org/support/users/renehermi/) Thanks a lot for
   your time, appreciate it.
    Cheers 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Free WooCommerce Products Slider/Carousel Pro] ‘on sale’ style is wrapping from the side](https://wordpress.org/support/topic/on-sale-style-is-wrapping-from-the-side/)
 *  Thread Starter [farhan25](https://wordpress.org/support/users/farhan25/)
 * (@farhan25)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/on-sale-style-is-wrapping-from-the-side/#post-13876707)
 * Here is a screenshot for the bug:
    [https://ibb.co/C0G5qYF](https://ibb.co/C0G5qYF)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP STAGING - WordPress Backups, Restore, Migration & Clone] No action for wpstg_daily_event](https://wordpress.org/support/topic/no-action-for-wpstg_daily_event/)
 *  Thread Starter [farhan25](https://wordpress.org/support/users/farhan25/)
 * (@farhan25)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/no-action-for-wpstg_daily_event/#post-13876298)
 * [@renehermi](https://wordpress.org/support/users/renehermi/) the free version
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP STAGING - WordPress Backups, Restore, Migration & Clone] No action for wpstg_daily_event](https://wordpress.org/support/topic/no-action-for-wpstg_daily_event/)
 *  Thread Starter [farhan25](https://wordpress.org/support/users/farhan25/)
 * (@farhan25)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/no-action-for-wpstg_daily_event/#post-13873155)
 * The same goes for the cron wpstg_weekly_event
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] No action for cron wpseo-reindex-links](https://wordpress.org/support/topic/no-action-for-cron-wpseo-reindex-links/)
 *  [farhan25](https://wordpress.org/support/users/farhan25/)
 * (@farhan25)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/no-action-for-cron-wpseo-reindex-links/#post-13873124)
 * [@iainelder](https://wordpress.org/support/users/iainelder/) Hello there,
    I’m
   facing a similar issue, did you remove this cron and did it work for you? Willing
   to do the same if it works successfully. Thank you!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [problem with scheduled crons](https://wordpress.org/support/topic/problem-with-scheduled-crons/)
 *  Thread Starter [farhan25](https://wordpress.org/support/users/farhan25/)
 * (@farhan25)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/problem-with-scheduled-crons/#post-13834040)
 * Yeah for sure, but thanks anyway for your help and putting attention for UTC 
   and telling me that using date_default_timezone_set is a bad idea. It was my 
   fault that I didn’t notice strtotime() at the first place ..
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [problem with scheduled crons](https://wordpress.org/support/topic/problem-with-scheduled-crons/)
 *  Thread Starter [farhan25](https://wordpress.org/support/users/farhan25/)
 * (@farhan25)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/problem-with-scheduled-crons/#post-13823280)
 * [@bcworkz](https://wordpress.org/support/users/bcworkz/)
    I found out what is
   causing this problem. it’s the misuse of `strtotime` function, `strtotime('12:
   00');` is returning the 12:00 PM of the current day so:
    - if it runs after 12:00 PM, it consider the task schedule as elapsed time and
      thus the task will execute.
    - if it runs before 12:00 PM, everything works as expected and it runs in the
      future this day.
 * using `strtotime('tomorrow 12:00');` solve the problem as it assures the task
   will always run for the first time at the next 12:00 PM.
    Thank you and happy
   holidays!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [problem with scheduled crons](https://wordpress.org/support/topic/problem-with-scheduled-crons/)
 *  Thread Starter [farhan25](https://wordpress.org/support/users/farhan25/)
 * (@farhan25)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/problem-with-scheduled-crons/#post-13823130)
 * [@bcworkz](https://wordpress.org/support/users/bcworkz/) Thank you for your reply.
   
   I’m using the latest WP version 5.6, when I deactivate all plugins including 
   mine, then apply the same test mentioned [here](https://developer.wordpress.org/plugins/cron/simple-testing/)
   I get these tasks (with various intervals of course):
    1.  wp_scheduled_delete
    2.  delete_expired_transients
    3.  wp_scheduled_auto_draft_delete
    4.  wp_privacy_delete_old_export_files
    5.  wp_version_check
    6.  wp_update_plugins
    7.  wp_update_themes
    8.  recovery_mode_clean_expired_keys
    9.  wp_site_health_scheduled_check
 * As you can see, my task is not there since I call `wp_unschedule_event` on deactivating.
   
   So I think there is no stray events. The time as defined in `$timestamp` is appearing
   in UTC as expected and it executes at the specific time in future, the problem
   is the execution immediately after activating the plug-in which I don’t want 
   it to. Thanks again for your time and Merry Christmas 🙂

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

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