source
Continue readingMonthly Archives: August 2024
Fix: Reschedule Event Error for Action Scheduler
[ad_1] TL;DR: If you’re using WordPress 6.1+ and aren’t able to schedule any type of job with Action Scheduler, this article explains the problem and a potential fix. Specifically, this seeks to address the following message appearing in WordPress 6.1+: Cron reschedule event error for hook: action_scheduler_run_queue, Error code: invalid_schedule, Error message: Event schedule does not exist., Data: {“schedule”:”every_minute”,”args”:[“WP Cron”],”interval”:60} Resolve the Reschedule Event Error Introducing More Logging Starting in WordPress 6.1, additional logging was added to WordPress core. Specifically, the patch responsible for this includes the following description: Rarely and randomly some of my custom cron events have disappeared. From searching around, I’m not the only one with this issue, and no one else was able to figure out why. I also was unable to debug the issue since wp-cron.php doesn’t log any errors nor have any hooks to try handling them. This patch adds those in. trac Once this patch was introduced, it also resulted in others experiencing issues with cron and cron-related libraries starting from this ticket and then taking place in a specific forum post. When you’re trying to create a schedule but it keeps blowing up. And sure, these tickets are helpful as are the comments and the rest of the discussion in the forum. But there are times when we’re working on a specific task with a specific set of dependencies and need a specific solution. Action Scheduler and Cron Jobs My problem was this: I was trying to to register a job using Action Scheduler and the library wasn’t able to register the schedule because of the aforementioned problem. So the fix was to add this function in my code: /** * Additional logging in WordPress 6.1+ that generates the following * message regarding cron schedules: * * Cron reschedule event error for hook: * action_scheduler_run_queue, * Error code: invalid_schedule, * Error message: Event schedule does not exist., * Data: {“schedule”:”every_minute”,”args”:[“WP Cron”],”interval”:60} * * This function needs to fire prior to loading Action Scheduler as its a * pre-requisite for it to schedule our tasks. * * This filter seeks to manually add the schedule to the list of schedules to * address this bug. */ add_filter(‘cron_schedules’, function ($schedules) { $schedules[‘every_minute’] = [ ‘interval’ => 60, ‘display’ => ‘Every Minute’, ]; return $schedules; }); A few things about this code: I don’t recommend using this as a permanent fix for every case. It’s a specific solution for a generic warning. If your codebase is going to be distributed to wide audience, avoid anonymous functions. If you have control over the environment in which it will return, it may be fine. On the other hand, if you’re using Action Scheduler, WordPress 6.1+, and are trying to register your own jobs and are seeing this message, this will ensure schedules Action Scheduler uses are available. [ad_2] Source link
Continue readingDo you think male circumcision should only be allowed once you’re a legal adult and can consent to the procedure (medical reasons aside)? Why/why not?
[ad_1] Do you think male circumcision should only be allowed once you’re a legal adult and can consent to the procedure (medical reasons aside)? Why/why not? [ad_2] View Reddit by TransportationHot176 – View Source
Continue readingTRANSFER DEADLINE DAY LIVE: Man United sweat over registering Manuel Ugarte for Liverpool clash, Chelsea face Victor Osimhen blow while Jadon Sancho is left in limbo
[ad_1] By Sam Brookes Published: 03:13 EDT, 30 August 2024 | Updated: 03:26 EDT, 30 August 2024 Share or comment on this article: TRANSFER DEADLINE DAY LIVE: Man United sweat over registering Manuel Ugarte for Liverpool clash, Chelsea face Victor Osimhen blow while Jadon Sancho is left in limbo [ad_2] Source link
Continue readingSmart green homes – NUS News
source
Continue readingTelegram repeatedly refused to join child protection schemes
[ad_1] The BBC has learned that Telegram – the messaging app service whose boss has been arrested in France – refuses to join international programmes aimed at detecting and removing child abuse material online. The app is not a member of either the National Centre for Missing and Exploited Children (NCMEC) or the Internet Watch Foundation (IWF) – both of which work with most online platforms to find, report and remove such material. It comes as the founder and chief executive of the app – which has more than 950 million registered users – remains under investigation in France. Billionaire Pavel Durov has been detained over alleged offences relating to a lack of moderation on the platform. According to officials the 39-year-old is accused of failure to co-operate with law enforcement over drug trafficking, child sexual content and fraud. Telegram says it proactively moderates harmful content on its platform including child abuse material. The company insists that its moderation is “within industry standards and constantly improving”. However, unlike all other social networks, it is not signed up to programmes like NCMEC’s CyberTipline which has more than 1,600 internet companies registered. US-based firms are legally required to sign up but 16% of the companies who participate are not based in the US. Telegram is based in Dubai, where Mr Durov lives. The vast majority of child sexual abuse material reports came from tech giants and social networks including Facebook, Google, Instagram, TikTok, Twitter (X), Snapchat and WhatsApp. The BBC understands that NCMEC has repeatedly asked Telegram to join to help tackle child sexual abuse material (CSAM) but it has ignored requests. Telegram also refuses to work with the Internet Watch Foundation, which is the UK’s equivalent of NCMEC. An IWF spokesperson said: “Despite attempts to proactively engage with Telegram over the last year, they are not members of the IWF and do not take any of our services to block, prevent, and disrupt the sharing of child sexual abuse imagery.” By not being an active part of IWF or NCMEC, Telegram is not able to proactively find, remove or block confirmed CSAM which is categorised and added to lists compiled by the charities. IWF said that the company did remove CSAM once material was confirmed but said it was slower and less responsive to day-to-day requests. The BBC contacted Telegram for comment about its refusal to join the child protection schemes and received a response after publication which has been included. Telegram is also not a part of the TakeItDown programme that works to remove so-called revenge porn. Snap, Facebook, Instagram, Threads, TikTok, Pornhub and OnlyFans are all members of the scheme that uses a so-called hash list to scan for images and videos on their public or unencrypted platforms. Another norm that Telegram does not conform to in the usual way is Transparency Reporting. Every six months social networks publish a list of all the content taken down because of police requests. Most other social networks including Meta’s apps, Snapchat and TikTok publish their reports online with previous years in a library to refer to. Telegram has no such website and only a channel on the app with no library history of transparency reports. It also describes its approach to Transparency Reports as “semiannual”. The Telegram Transparency channel did not reply to a request to see previous reports and said that there was “no report available for your region”. Telegram also has an unusual system for media in general. The contact method is through an automated bot on the app. This reporter has not had a reply in the months of trying to get a response to various requests. A reply was sent to this article but the press team did not respond to follow up questions. In June Pavel Durov told journalist Tucker Carlson that he only employs “about 30 engineers” to run his platform. Mr Durov, who was born in Russia and now lives in Dubai, has citizenship in Russia, France, the United Arab Emirates and the Caribbean island nation of St Kitts and Nevis. Telegram is particularly popular in Russia, Ukraine and former Soviet Union states as well as Iran. [ad_2] Source link
Continue readingThriving with anxiety: Expert tips on embracing the mental health condition – Fox News
[ad_1] Thriving with anxiety: Expert tips on embracing the mental health condition Fox News [ad_2] Source link
Continue readingIs Gutenberg Finally Winning Users Over? We Analyzed 340+ Opinions to Find Out
[ad_1] Over the past few months, I’ve been diving deep into what people really think about WordPress’ block editor – Gutenberg. I thought this was going to be a fun project. I analyzed over 340 opinions from platforms like Reddit, Twitter, YouTube, and WordPress.org. I also spoke with developers, colleagues, and other professionals in the WordPress community to get a well-rounded perspective. The goal was to understand how people feel about the block editor in 2024. When it first launched at WordCamp Europe in 2017, the initial reaction was curiosity, which quickly turned into disappointment. That reputation has been hard to shake ever since. However, I’m noticing a slight shift. For instance, take this chart: What it shows is the ratio of 1-star to 5-star reviews over time for the standalone Gutenberg plugin. As you can see, we were really close – really close(!) – to a tipping point, but negative reviews have started creeping up again. So, is the block editor actually improving, or are users starting to get frustrated again? Depending on how deep you want to go, I have two choices for you: 💪 “I’m interested in the whole thing! I want to see all the opinions, plus the potential implications for the WordPress ecosystem as we know it.” → Go to the main post on Themeisle 🤩 “I just want a compilation of some interesting/ridiculous/insightful/surprising comments.” → Keep reading Now, the chart I showed above tells just part of the story. While the percentage ratio of negative to positive opinions is what it is, it’s also important to note that Gutenberg has been getting significantly fewer reviews each year. In 2024, for example, only 37 reviews have been added so far (eight months into the year at the time of writing). Given that early reviews came in much larger numbers, it’s difficult to say with confidence whether the WordPress community has been enjoying Gutenberg more (or less) over time. What we can say for sure, though, is that people aren’t any less passionate about it. 🤩 Here are some of the most interesting opinions I found (according to my subjective assessment). [ad_2] Source link
Continue readingBut what about the gains?
[ad_1] But what about the gains? [ad_2] View Reddit by ThisGonnaHurt – View Source
Continue readingHas David de Gea got over his penalty hoodoo? Ex-Man United star produces epic save from the spot to send nine-man Fiorentina through to the Europa Conference League main draw
[ad_1] David de Gea joined Fiorentina earlier this summer on a free transfer He produced an excellent save to help his side beat Puskas Academia LISTEN NOW: It’s All Kicking Off!, available wherever you get your podcasts. New episodes every Monday and Thursday By Ed Carruthers Published: 02:08 EDT, 30 August 2024 | Updated: 02:11 EDT, 30 August 2024 David de Gea produced several clutch saves to help a nine-man Fiorentina qualify for the Europa Conference League on Thursday evening, beating Puskas Academia on penalties. It was also a chaotic affair, with the Serie A side having three players sent off, including Lucas Martinez Quarta, who was given a straight red card in extra time, even when he wasn’t on the pitch. With both sides settling for a 3-3 draw in Florence last week, Raffaele Palladino’s side travelled to Hungary to take on Puskas, but it was the heroics of De Gea who secured them a spot in Europe this season. During his time at Man United, De Gea had not held the greatest record when it came to saving spot-kicks, having faced 33 penalties in the Premier League while saving four. In fact, the Spanish goalkeeper, at one stage of his time at Old Trafford, went nine years without saving a penalty, ending his drought by blocking Mark Noble’s strike during a 2-1 victory against West Ham back in 2021. David de Gea produced an epic save to help Fiorentina beat Puskas Academia on penalties The goalkeeper did not have the best penalty record during his time with Manchester United His previous save came in a 2-1 against Everton back in 2014, where he had denied Leighton Baines. The 33-year-old also endured a tough start to life at the Serie A side, following his free transfer to the Italian club earlier this summer. Debuting in his new side’s first leg against Puskas, Fiorentina conceded two goals in the opening 12 minutes against the European minnows – one of which was a penalty. The game was De Gea’s first appearance in 446 days, but it seems he is quickly finding his feet once again, producing an epic save to deny defender Roland Szolnoki in the penalty shootout after both sides could not be separated at extra time. Fiorentina had broken the deadlock in the second half thanks to a goal from Moise Keane and it had seemed like they would go on to win the match. De Gea had endured a tough start to life at Fiorentina after their 3-3 draw against Puskas last week The shot-stopper had been beaten from the spot once in the match but stood up where it mattered most in the shoot-out But they would allow Puskas back into the match, conceding a penalty in the seventh minute of injury time. De Gea was not able to stop Zsolt Nagy’s firey spot-kick but the goalkeeper stepped up when it mattered most – diving to get two hands to Szolnoki’s powerful penalty in the shooutout and seal victory for last season’s Conference League runners-up. Share or comment on this article: Has David de Gea got over his penalty hoodoo? Ex-Man United star produces epic save from the spot to send nine-man Fiorentina through to the Europa Conference League main draw [ad_2] Source link
Continue reading