Hi, I disabled the snippet with the code and checked Limit to Local Pickup Shipping Methods checkbox but it didn’t work. The Expired or invalid submission! error message was shown again. Maybe it’s some other plugins that are causing this problem.
Yes, I found a topic named Disable the pickup time for other shipping methods and I used its code and it is working so far. I hope it keeps doing so. Thanks for replying.