• Resolved vaka2vaka

    (@vaka2vaka)


    An error with the E_ERROR type occurred on line 481 of the //wp-content/themes/oceanwp/functions.php file. Error message: Uncaught Error: Call to undefined function wc_get_current_admin_url () in /wp-content/themes/oceanwp/functions.php:481
    Stack trace:

    #0 /home/users/a/***/domains/*****************.ru/wp-includes/class-wp-hook.php(303): OCEANWP_Theme_Class::theme_js('')
    #1 /home/users/a/***/domains/*****************.ru/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #2 /home/users/a/***/domains/*****************.ru/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #3 /home/users/a/***/domains/*****************.ru/wp-includes/script-loader.php(2083): do_action('wp_enqueue_scri...')
    #4 /home/users/a/***/domains/*****************.ru/wp-includes/class-wp-hook.php(303): wp_enqueue_scripts('')
    #5 /home/users/a/***/domains/*****************ru/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #6 /home/users/a/***/domains/*****************.ru/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #7 /home/users/a/***/domains/*****************.ru/wp-includes/general-template.php(3015): do_action
    • This topic was modified 3 years, 8 months ago by vaka2vaka.
    • This topic was modified 3 years, 8 months ago by vaka2vaka.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter vaka2vaka

    (@vaka2vaka)

    Another site

    Ошибка с типом E_ERROR возникла на строке 481 файла /home/users/***_wp1/site/wp-content/themes/oceanwp/functions.php. Сообщение об ошибке: Uncaught Error: Call to undefined function wc_get_current_admin_url() in /home/users/ak0_wp1/site/wp-content/themes/oceanwp/functions.php:481
    Stack trace:
    #0 /home/users/***/site/wp-includes/class-wp-hook.php(303): OCEANWP_Theme_Class::theme_js(”)
    #1 /home/users/***/site/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #2 /home/users/a***/site/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #3 /home/users/a***/site/wp-includes/script-loader.php(2083): do_action(‘wp_enqueue_scri…’)
    #4 /home/users/a***/site/wp-includes/class-wp-hook.php(303): wp_enqueue_scripts(”)
    #5 /home/users/***/site/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
    #6 /home/users/***/site/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #7 /home/users/***/site/wp-includes/general-template.php(3015): do_action(‘wp_head’)
    #8 /home/users/***/site/wp-includes/blocks/legacy-widget.php(104): wp_head()
    #9 /home/users/***/site/wp-includes/class-wp-ho

    Hello,

    That seems code/plugin conflict issue.

    Kindly try to switch to the parent theme, remove the custom codes if you have added any, and check.

    and also go to Elementor > System Info and share the report with us so that we can take a look.

    Thread Starter vaka2vaka

    (@vaka2vaka)

    Server Environment
    Operating System: Linux
    Software: Apache
    MySQL version: MariaDB Server v5.6.44-86.0
    PHP Version: 7.4.21
    PHP Max Input Vars: 1000
    PHP Max Post Size: 50M
    GD Installed: Yes
    ZIP Installed: Yes
    Write Permissions: All right
    Elementor Library: Connected
    WordPress Environment
    Version: 5.8
    Site URL: https://***********.ru
    Home URL: https://***********.ru
    WP Multisite: No
    Max Upload Size: 50 МБ
    Memory limit: 512M
    Permalink Structure: /%category%/%postname%
    Language: ru-RU
    Timezone: 3
    Admin Email: [email protected]
    Debug Mode: Inactive
    Theme
    Name: OceanWP Child 03
    Version: 3.0.0.1626783082
    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 – 1.0.2 By pento
    Advanced Editor Tools (previously TinyMCE Advanced) – 5.6.0 By Automattic
    Akismet Anti-Spam – 4.1.10 By Automattic
    All 404 Redirect to Homepage – 1.21 By Fakhri Alsadi
    All in one Favicon – 4.7 By Arne Franken
    All In One WP Security – 4.4.9 By Tips and Tricks HQ, Peter Petreski, Ruhul, Ivy
    Contact Form 7 – 5.4.2 By Takayuki Miyoshi
    Contact Form 7 – Phone mask field – 1.4.2 By Ruslan Heorhiiev
    Easy FancyBox – 1.8.18 By RavanH
    Easy WP SMTP – 1.4.7 By wpecommerce, alexanderfoxc
    Elementor – 3.3.1 By Elementor.com
    Markup (JSON-LD) structured in schema.org – 4.8.1 By Kazuya Takami
    Ocean Extra – 1.7.8 By OceanWP
    Rank Math SEO – 1.0.68 By Rank Math
    RSS for Yandex Turbo – 1.30 By Flector
    WP-Optimize – Clean, Compress, Cache – 3.1.11 By David Anderson, Ruhani Rabin, Team Updraft

    • This reply was modified 3 years, 8 months ago by vaka2vaka.
    Thread Starter vaka2vaka

    (@vaka2vaka)

    I disabled all plugins. Moved to an empty topic. There is no mistake

    As soon as I turn on okean wp – the widget panel is not available

    Thread Starter vaka2vaka

    (@vaka2vaka)

    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',
    )]

    I apologize for your trouble, I have passed the issue to the concerned dev team to look into it and will update you soon.

    Thread Starter vaka2vaka

    (@vaka2vaka)

    Version 3.0.1. solved the problem. Thank you.

    Glad to hear that issue has been fixed now.??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘WordPress found a bug with theme – OceanWP.’ is closed to new replies.