Updated third site Same error
Disabled all plugins On an empty theme, everything works (on other themes, also -cadence)
Ошибка с типом E_ERROR возникла на строке 481 файла /home/h/hxrkxqj/bgbuilding.ru/public_html/wp-content/themes/oceanwp/functions.php. Сообщение об ошибке: Uncaught Error: Call to undefined function wc_get_current_admin_url() in /home/h/hxrkxqj/bgbuilding.ru/public_html/wp-content/themes/oceanwp/functions.php:481
Stack trace:
#0 [internal function]: OCEANWP_Theme_Class::theme_js('')
#1 /home/h/#########/bgbuilding.ru/public_html/wp-includes/class-wp-hook.php(303): call_user_func_array(Array, Array)
#2 /home/h/#########/bgbuilding.ru/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
#3 /home/h/#########/bgbuilding.ru/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
#4 /home/h/#########/bgbuilding.ru/public_html/wp-includes/script-loader.php(2083): do_action('wp_enqueue_scri...')
#5 [internal function]: wp_enqueue_scripts('')
#6 /home/h/#########/bgbuilding.ru/public_html/wp-includes/class-wp-hook.php(303): call_user_func_array('wp_enqueue_scri...', Array)
#7 /home/h/#########/bgbuilding.ru/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
#8 /home/h/#########/bgbuilding.ru/public_html/wp-incl
___________________________________________________
== Server Environment ==
Operating System: Linux
Software: Apache/2.4.10 (Unix)
MySQL version: (LTD BeGet) v5.7.21-20
PHP Version: 7.4.8
PHP Max Input Vars: 5000
PHP Max Post Size: 1047527424
GD Installed: Yes
ZIP Installed: Yes
Write Permissions: All right
Elementor Library: Connected
== WordPress Environment ==
Version: 5.8
Site URL: https://bgbuilding.ru
Home URL: https://bgbuilding.ru
WP Multisite: No
Max Upload Size: 999 МБ
Memory limit: 268435456
Permalink Structure: /%category%/%postname%
Language: ru-RU
Timezone: 3
Debug Mode: Inactive
== Theme ==
Name: OceanWP Child 02
Version: 3.0.0.1626790246
Author: Nick
Child Theme: Yes
Parent Theme Name: OceanWP
Parent Theme Version: 3.0.0
Parent Theme Author: Nick
== User ==
Role: administrator
WP Profile lang: ru_RU
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36
== Active Plugins ==
Advanced Automatic Updates
Version: 1.0.2
Author: pento
Advanced Editor Tools (previously TinyMCE Advanced)
Version: 5.6.0
Author: Automattic
All 404 Redirect to Homepage
Version: 1.21
Author: Fakhri Alsadi
All In One WP Security
Version: 4.4.9
Author: Tips and Tricks HQ, Peter Petreski, Ruhul, Ivy
Easy FancyBox
Version: 1.8.18
Author: RavanH
Elementor
Version: 3.3.1
Author: Elementor.com
Markup (JSON-LD) structured in schema.org
Version: 4.8.1
Author: Kazuya Takami
Ocean Extra
Version: 1.7.8
Author: OceanWP
Rank Math SEO
Version: 1.0.68
Author: Rank Math
WP-Optimize - Clean, Compress, Cache
Version: 3.1.11
Author: David Anderson, Ruhani Rabin, Team Updraft
== Elementor - Compatibility Tag ==
== Elements Usage ==
wp-post : 0
divider : 22
heading : 13
html : 3
image : 26
image-box : 1
image-gallery : 1
text-editor : 13
wp-page : 13
divider : 131
heading : 78
html : 13
icon-box : 1
image : 87
image-box : 6
image-gallery : 7
text-editor : 64
== Log ==
Log: showing 20 of 432021-03-10 16:29:39 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.1.3',
'to' => '3.1.4',
)]
2021-04-22 13:32:31 [info] elementor::elementor_updater Started
2021-04-22 13:32:31 [info] Elementor/Upgrades - _v_3_2_0_migrate_breakpoints_to_new_system Start
2021-04-22 13:32:31 [info] Elementor/Upgrades - _v_3_2_0_migrate_breakpoints_to_new_system Finished
2021-04-22 13:32:31 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.1.4',
'to' => '3.2.1',
)]
2021-04-22 13:32:31 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor',
'from' => '3.1.4',
'to' => '3.2.1',
)]
2021-04-26 14:58:14 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.2.1',
'to' => '3.2.2',
)]
2021-05-05 08:55:27 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.2.2',
'to' => '3.2.3',
)]
2021-05-27 03:43:41 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.2.3',
'to' => '3.2.4',
)]
2021-06-17 03:27:26 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.2.4',
'to' => '3.2.5',
)]
2021-07-13 15:02:26 [info] elementor::elementor_updater Started
2021-07-13 15:02:26 [info] Elementor/Upgrades - _on_each_version Start
2021-07-13 15:02:26 [info] Elementor/Upgrades - _on_each_version Finished
2021-07-13 15:02:26 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.2.5',
'to' => '3.3.0',
)]
2021-07-13 15:02:26 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor',
'from' => '3.2.5',
'to' => '3.3.0',
)]
2021-07-20 17:35:33 [info] elementor::elementor_updater Started
2021-07-20 17:35:33 [info] Elementor/Upgrades - _on_each_version Start
2021-07-20 17:35:33 [info] Elementor/Upgrades - _on_each_version Finished
2021-07-20 17:35:33 [info] Elementor data updater process has been completed. [array (
'plugin' => 'Elementor',
'from' => '3.3.0',
'to' => '3.3.1',
)]
2021-07-20 17:35:33 [info] Elementor data updater process has been queued. [array (
'plugin' => 'Elementor',
'from' => '3.3.0',
'to' => '3.3.1',
)]