Need help with Deprecated: Non-static error when update PHP 7.4 -> 8.1 with Dyad 2 theme
Do not, under any circumstances, edit core WordPress files. The bug is not in WordPress. If it were the proper way to handle such a bug is not to edit WordPress. The right way is to downgrade PHP to a compatible version that doesn’t cause the error and file a bug report at https://core.trac.wordpress.org, if … Read more