I altered some functions in the php file of my website (regrettably!) and now not only has my website been destroyed, but also the wordpress dashboard. I cannot access anything on there that allows me to edit the website, such as Appearance > Editor, or Pages > All Pages, NOTHING!
The error I get when I try and access the dashboard editor pages is below. I get the same error when I type the url of my website into my browser as well:
Fatal error: Cannot redeclare twentyseventeen_widget_tag_cloud_args()
Note that I cannot even access the php file that I altered becauase of the above error.
Any help is greatly appreciated
This is exactly why you shouldn't really use the WordPress Appearance -> Editor.
Your website is not 'destroyed' though. Simply login to your web hosting control panel and use the file manager to remove whatever code you entered (the call to the
twentyseventeen_widget_tag_cloud_args() function, or use an FTP client to edit your files and remove the function call.