Can not update or install new addons

[ad_1]

Hello everyone,
I’m new here so first of all I want to say hello. I don’t know where else to turn, so I’m creating this post. The problem is that I can’t update or install plugins. An error message appears after starting the update process and nothing happens. “The update process has been started. It may take a while on some servers, so please be patient. Enabling maintenance mode… -1” – after a while the page crashes and an error is displayed error
Fatal error: Uncaught Error: Call to undefined function trailingslashit() in /home/platne/serwer173924/public_html/autoinstalator/insecret.pl/wordpress9026/wp-includes/class-wp-textdomain-registry.php:103 Stack trace: #0 /home/platne/serwer173924/public_html/autoinstalator/insecret.pl/wordpress9026/wp-includes/l10n.php(784): WP_Textdomain_Registry->set() #1 /home/platne/serwer173924/public_html/autoinstalator/insecret.pl/wordpress9026/wp-includes/load.php(1401): load_textdomain() #2 /home/platne/serwer173924/public_html/autoinstalator/insecret.pl/wordpress9026/wp-includes/load.php(278): wp_load_translations_early() #3 /home/platne/serwer173924/public_html/autoinstalator/insecret.pl/wordpress9026/wp-settings.php(74): wp_maintenance() #4 /home/platne/serwer173924/public_html/autoinstalator/insecret.pl/wordpress9026/wp-config.php(81): require_once(‘…’) #5 /home/platne/serwer173924/public_html/autoinstalator/insecret.pl/wordpress9026/wp-load.php(50): require_once(‘…’) #6 /home/platne/serwer173924/public_html/autoinstalator/insecret.pl/wordpress9026/wp-admin/admin.php(34): require_once(‘…’) #7 /home/platne/serwer173924/public_html/autoinstalator/insecret.pl/wordpress9026/wp-admin/update-core.php(10): require_once(‘…’) #8 {main} thrown in /home/platne/serwer173924/public_html/autoinstalator/insecret.pl/wordpress9026/wp-includes/class-wp-textdomain-registry.php on line 103

I should also mention that my hosting provider is unable to solve the problem – they’ve been telling me to wait for the WP update to 6.1.2 for a week now. I also tried to fix the critical file myself by modifying the code – I found some suggestions on GITHUB.

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer