It is most likely coming from a plugin. However, the error should not be displayed if you don't have the WP_DEBUG enabled in wp-config.php
The WP_DEBUG should be set to false unless you want to debug errors.I changed it to true
Not fixed yet, still broke
I created a new page that's ok no error
but these pages are old
The WP_DEBUG should be set to false unless you want to debug errors.
Did this problem appear after a wordpress update?
Not fixed or anything same brokeThe WP_DEBUG should be set to false unless you want to debug errors.
Did this problem appear after a wordpress update?
Yeah, I see it.@nahid133 Try right click inspect the error shown in your website. Then get the full text it should contain a file path and line where that error originated.
Go to your hosting, in cPanel there is a menu where you can find access logs and error logs. Read them both and you will find what causes the error. The fix will come naturally
Ok, you said it does this on old pages. Is there any shortcode used on old pages and not on new ones?
Also, try changing post template, see what happens