E_ERROR caused in line 69… functions.php
-
Greetings all!
For some time I’ve had an issue with our WordPress site which has gone unresolved. I get an error message when logging in, either at the back or front, but am then able to login once I refresh.
Maybe it’s simply a matter of editing some code and someone is able to assist.
Many thanks in advance.
Error details are as follows:
When seeking help with this issue, you may be asked for some of the following information: WordPress version 6.2.2 Active theme: X – Child Theme (version 1.0.0) Current plugin: (version ) PHP version 8.1.20 Error Details An error of type E_ERROR was caused in line 69 of the file /usr/www/users/compudp/pibella.co.za/wp-content/themes/x-child/functions.php. Error message: Uncaught Error: Call to undefined function x_is_shop() in /usr/www/users/compudp/pibella.co.za/wp-content/themes/x-child/functions.php:69 Stack trace: 0 /usr/www/users/compudp/pibella.co.za/wp-includes/class-wp-hook.php(310): {closure}(NULL, 1358, '_wp_attached_fi…', true) 1 /usr/www/users/compudp/pibella.co.za/wp-includes/plugin.php(205): WP_Hook->apply_filters(NULL, Array) 2 /usr/www/users/compudp/pibella.co.za/wp-includes/meta.php(633): apply_filters('get_post_metada…', NULL, 1358, '_wp_attached_fi…', true, 'post') 3 /usr/www/users/compudp/pibella.co.za/wp-includes/meta.php(572): get_metadata_raw('post', 1358, '_wp_attached_fi…', true) 4 /usr/www/users/compudp/pibella.co.za/wp-includes/post.php(2492): get_metadata('post', 1358, '_wp_attached_fi…', true) 5 /usr/www/users/compudp/pibella.co.za/wp-includes/post.php(723): get_post_meta(1358, '_wp_attached_fi…', true) 6 /usr/www/users/compudp/pibella.co.za/wp-includes/post.php(6733): get_attached_file(1358) 7 /usr/www/users/compudp/pibella.co.za/wp-includes/post.php(6786): wp_attachment_is('image', Object(WP_Post)) 8 /usr/www/users/compudp/pibella.co.za/wp-content/plugins/woocommerce/includes/class-wc-install.php(1787): wp_attachment_is_image('1358') 9 /usr/www/users/compudp/pibella.co.za/wp-content/plugins/woocommerce/includes/class-wc-install.php(1772): WC_Install::create_placeholder_image() 10 /usr/www/users/compudp/pibella.co.za/wp-content/plugins/woocommerce/includes/class-wc-install.php(405): WC_Install::create_files() 11 /usr/www/users/compudp/pibella.co.za/wp-content/plugins/woocommerce/includes/class-wc-install.php(265): WC_Install::install() 12 /usr/www/users/compudp/pibella.co.za/wp-includes/class-wp-hook.php(308): WC_Install::check_version('') 13 /usr/www/users/compudp/pibella.co.za/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 14 /usr/www/users/compudp/pibella.co.za/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 15 /usr/www/users/compudp/pibella.co.za/wp-settings.php(623): do_action('init') 16 /usr/www/users/compudp/pibella.co.za/wp-config.php(95): require_once('/usr/www/users/…') 17 /usr/www/users/compudp/pibella.co.za/wp-load.php(50): require_once('/usr/www/users/…') 18 /usr/www/users/compudp/pibella.co.za/wp-login.php(12): require('/usr/www/users/…') 19 {main} thrown
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘E_ERROR caused in line 69… functions.php’ is closed to new replies.