This error is due that you have some plugins use an outdated function of elementor.
A way to solve this problem, is that you can try to update your plugins. If it doesn’t solve your problem, you may need to fix the changes in the code of the plugin that triggers the error. You can add the query monitor plugin to have the traceback of the error.
In terms of code, if you want to do fix it yourself you only need to change register_widget_type into registerelse you can contact the support of the plugin that use the function register_widget_typethanks to the query monitor.
A temporary fix is to rollback to a previous version of elementor.
If the error displays on your website you can disable it in the wp-config.php file. See : https://ww.wp.xz.cn/documentation/article/debugging-in-wordpress/#:~:text=debugging%20in%20wordpress