Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Hi. I keep getting wp-includes/class-wp-hook critical error on my WordPress site. Need help! (Image below)
I made this thread but couldn’t add a screenshot since I forgot to take one. But the same thing happened today at 5 PM. I had to do update the class-wp-hook file from 0 to 1 to 0 to make it work.
So, I just launched my site using Digital Ocean droplet, Linux/Ubuntu/Apache server. And after 3, 4 days, the site keeps getting critical error showing that something is missing on line 294 of the file mentioned in the title. I change the number 1 and then again 0 to make this work.
Is there any permanent solution to this? Would love if anyone could help. Thank you!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×