Notice: Trying to access array offset on value of type null in /data/www/doug/www.bearlydoug.com/wp-content/plugins/qotw/qotw.php on line 936

Notice: Trying to access array offset on value of type null in /data/www/doug/www.bearlydoug.com/wp-content/plugins/qotw/qotw.php on line 937

Notice: Trying to access array offset on value of type null in /data/www/doug/www.bearlydoug.com/wp-content/plugins/qotw/qotw.php on line 938

Notice: Trying to access array offset on value of type null in /data/www/doug/www.bearlydoug.com/wp-content/plugins/qotw/qotw.php on line 939

Notice: Trying to access array offset on value of type null in /data/www/doug/www.bearlydoug.com/wp-content/plugins/qotw/qotw.php on line 940

Notice: Trying to access array offset on value of type null in /data/www/doug/www.bearlydoug.com/wp-content/plugins/qotw/qotw.php on line 941

“The Sunday Bug”

Interesting little “bug” discovered: If today (Sept 22nd, 2019) is Sunday, TECHNICALLY $lastSunday would be Sept 15th, 2019, instead of today. So to fix this, we’re going to check to see if TODAY is Sunday, and timestamp this from Midnight, this AM. No other day of the week is a problem.

Adding to that, not every web site is running in the same timezone as the server hosting the site. To compensate for this, we added a “Change Offset” feature that allows you to configure the plugin to run in your preferred timezone.

Had both of these items not been implemented, there would be a period of time, on Sunday, where no “Question of the Week” would display, even if you have one available.

Not to worry… even if you do run out of questions available, the fall back would be to simply link to The Pastoral Center’s page for that day’s “Question of the Week”, automatically.

As you can see, we have several things going on behind the scenes to prevent “The Sunday Bug” from affecting the QotW plugin’s operation!

Not yet released on WordPress.org

Shortcode: [qotw]

Questions of the Week
5th Sunday of Easter (Year C)
Sunday, May 15th, 2022 (#54)
Love One Another
Adults: When have you seen the power of love overcome a bad situation?

Youths: Do you believe love is stronger than hate? Why?

en Française (French), “QotW” wording hidden.
Shortcode: [qotw showqwords=”hide” dlang=”fr_FR”]


Want to show some love?