Deprecated: Creation of dynamic property ACF::$fields is deprecated in /home/sirdev/public_html/app/mu-plugins/advanced-custom-fields-pro/includes/fields.php on line 138

Deprecated: Creation of dynamic property acf_loop::$loops is deprecated in /home/sirdev/public_html/app/mu-plugins/advanced-custom-fields-pro/includes/loop.php on line 28

Deprecated: Creation of dynamic property ACF::$loop is deprecated in /home/sirdev/public_html/app/mu-plugins/advanced-custom-fields-pro/includes/loop.php on line 269

Deprecated: Creation of dynamic property ACF::$revisions is deprecated in /home/sirdev/public_html/app/mu-plugins/advanced-custom-fields-pro/includes/revisions.php on line 397

Deprecated: Creation of dynamic property acf_validation::$errors is deprecated in /home/sirdev/public_html/app/mu-plugins/advanced-custom-fields-pro/includes/validation.php on line 28

Deprecated: Creation of dynamic property ACF::$validation is deprecated in /home/sirdev/public_html/app/mu-plugins/advanced-custom-fields-pro/includes/validation.php on line 214

Deprecated: Creation of dynamic property acf_form_customizer::$preview_values is deprecated in /home/sirdev/public_html/app/mu-plugins/advanced-custom-fields-pro/includes/forms/form-customizer.php on line 28

Deprecated: Creation of dynamic property acf_form_customizer::$preview_fields is deprecated in /home/sirdev/public_html/app/mu-plugins/advanced-custom-fields-pro/includes/forms/form-customizer.php on line 29

Deprecated: Creation of dynamic property acf_form_customizer::$preview_errors is deprecated in /home/sirdev/public_html/app/mu-plugins/advanced-custom-fields-pro/includes/forms/form-customizer.php on line 30

Deprecated: Creation of dynamic property ACF::$form_front is deprecated in /home/sirdev/public_html/app/mu-plugins/advanced-custom-fields-pro/includes/forms/form-front.php on line 598

Deprecated: Creation of dynamic property acf_form_widget::$preview_values is deprecated in /home/sirdev/public_html/app/mu-plugins/advanced-custom-fields-pro/includes/forms/form-widget.php on line 34

Deprecated: Creation of dynamic property acf_form_widget::$preview_reference is deprecated in /home/sirdev/public_html/app/mu-plugins/advanced-custom-fields-pro/includes/forms/form-widget.php on line 35

Deprecated: Creation of dynamic property acf_form_widget::$preview_errors is deprecated in /home/sirdev/public_html/app/mu-plugins/advanced-custom-fields-pro/includes/forms/form-widget.php on line 36

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/sirdev/public_html/wp/wp-includes/functions.php on line 6114

Deprecated: Creation of dynamic property Yoast\WP\SEO\Main::$helpers is deprecated in /home/sirdev/public_html/app/plugins/wordpress-seo/lib/abstract-main.php on line 65

Deprecated: Optional parameter $routes declared before required parameter $prefix is implicitly treated as a required parameter in /home/sirdev/public_html/app/mu-plugins/xeader-plugin/src/XeaderPlugin/Routing/Processor.php on line 61

Deprecated: Optional parameter $routes declared before required parameter $prefix is implicitly treated as a required parameter in /home/sirdev/public_html/app/mu-plugins/xeader-plugin/src/XeaderPlugin/Routing/Processor.php on line 75

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/sirdev/public_html/app/mu-plugins/bluelabs-form-builder/src/BluelabsFormBuilder/Fields/FieldKitAddress.php on line 67

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/sirdev/public_html/app/mu-plugins/bluelabs-personal-fundraising/src/BluelabsPersonalFundraising/Subscriber/CreateCampaignSubscriber.php on line 182

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /home/sirdev/public_html/app/mu-plugins/bluelabs-personal-fundraising/src/BluelabsPersonalFundraising/Subscriber/CreateCampaignSubscriber.php on line 183
Call to undefined function is_account_page() (500 Internal Server Error)

Symfony Exception

Error

HTTP 500 Internal Server Error

Call to undefined function is_account_page()

Exception

Error

  1. /**
  2.  * Add custom WC class to page body.
  3.  */
  4. add_filter'body_class''custom_class' );
  5. function custom_class$classes ) {
  6.     if (is_account_page()) {
  7.         $classes[] = 'woocommerce-block-theme-has-button-styles';
  8.     }
  9.     return $classes;
  10. }
custom_class(array('home', 'page-template-default', 'page', 'page-id-25', 'wp-embed-responsive')) in /home/sirdev/public_html/wp/wp-includes/class-wp-hook.php (line 326)
  1.                 if ( === $the_['accepted_args'] ) {
  2.                     $value call_user_func$the_['function'] );
  3.                 } elseif ( $the_['accepted_args'] >= $num_args ) {
  4.                     $value call_user_func_array$the_['function'], $args );
  5.                 } else {
  6.                     $value call_user_func_array$the_['function'], array_slice$args0$the_['accepted_args'] ) );
  7.                 }
  8.             }
  9.         } while ( false !== next$this->iterations$nesting_level ] ) );
  10.         unset( $this->iterations$nesting_level ] );
WP_Hook->apply_filters(array('home', 'page-template-default', 'page', 'page-id-25', 'wp-embed-responsive'), array(array('home', 'page-template-default', 'page', 'page-id-25', 'wp-embed-responsive'), array())) in /home/sirdev/public_html/wp/wp-includes/plugin.php (line 205)
  1.     }
  2.     // Pass the value to WP_Hook.
  3.     array_unshift$args$value );
  4.     $filtered $wp_filter$hook_name ]->apply_filters$value$args );
  5.     array_pop$wp_current_filter );
  6.     return $filtered;
  7. }
apply_filters('body_class', array('home', 'page-template-default', 'page', 'page-id-25', 'wp-embed-responsive'), array()) in /home/sirdev/public_html/wp/wp-includes/post-template.php (line 859)
  1.      * @since 2.8.0
  2.      *
  3.      * @param string[] $classes   An array of body class names.
  4.      * @param string[] $css_class An array of additional class names added to the body.
  5.      */
  6.     $classes apply_filters'body_class'$classes$css_class );
  7.     return array_unique$classes );
  8. }
  9. /**
  1.             ->getPossibleViewNameFromPath($file realpath($file));
  2.         $view trim($view'\\/.');
  3.         /** Gather data to be passed to view */
  4.         $data array_reduce(get_body_class(), function ($data$class) use ($view$file) {
  5.             return apply_filters("sage/template/{$class}/data"$data$view$file);
  6.         }, []);
  7.         $this->app['sage.view'] = $this->view->exists($view) ? $view $file;
  8.         $this->app['sage.data'] = $data;
Sage->filterTemplateInclude('/home/sirdev/public_html/app/themes/bluelabs/resources/views/front-page.blade.php') in /home/sirdev/public_html/wp/wp-includes/class-wp-hook.php (line 324)
  1.                 // Avoid the array_slice() if possible.
  2.                 if ( === $the_['accepted_args'] ) {
  3.                     $value call_user_func$the_['function'] );
  4.                 } elseif ( $the_['accepted_args'] >= $num_args ) {
  5.                     $value call_user_func_array$the_['function'], $args );
  6.                 } else {
  7.                     $value call_user_func_array$the_['function'], array_slice$args0$the_['accepted_args'] ) );
  8.                 }
  9.             }
  10.         } while ( false !== next$this->iterations$nesting_level ] ) );
WP_Hook->apply_filters('/home/sirdev/public_html/app/themes/bluelabs/resources/views/front-page.blade.php', array('/home/sirdev/public_html/app/themes/bluelabs/resources/views/front-page.blade.php')) in /home/sirdev/public_html/wp/wp-includes/plugin.php (line 205)
  1.     }
  2.     // Pass the value to WP_Hook.
  3.     array_unshift$args$value );
  4.     $filtered $wp_filter$hook_name ]->apply_filters$value$args );
  5.     array_pop$wp_current_filter );
  6.     return $filtered;
  7. }
apply_filters('template_include', '/home/sirdev/public_html/app/themes/bluelabs/resources/views/front-page.blade.php') in /home/sirdev/public_html/wp/wp-includes/template-loader.php (line 104)
  1.      *
  2.      * @since 3.0.0
  3.      *
  4.      * @param string $template The path of the template to include.
  5.      */
  6.     $template apply_filters'template_include'$template );
  7.     if ( $template ) {
  8.         include $template;
  9.     } elseif ( current_user_can'switch_themes' ) ) {
  10.         $theme wp_get_theme();
  11.         if ( $theme->errors() ) {
require_once('/home/sirdev/public_html/wp/wp-includes/template-loader.php') in /home/sirdev/public_html/wp/wp-blog-header.php (line 19)
  1.     // Set up the WordPress query.
  2.     wp();
  3.     // Load the theme template.
  4.     require_once ABSPATH WPINC '/template-loader.php';
  5. }
require('/home/sirdev/public_html/wp/wp-blog-header.php') in /home/sirdev/public_html/index.php (line 6)
  1. <?php
  2. /**
  3.  * WordPress View Bootstrapper
  4.  */
  5. define('WP_USE_THEMES'true);
  6. require __DIR__ '/wp/wp-blog-header.php';

Stack Trace

Error
Error:
Call to undefined function is_account_page()

  at /home/sirdev/public_html/app/themes/bluelabs/app/Filters/woocommerce.php:78
  at custom_class(array('home', 'page-template-default', 'page', 'page-id-25', 'wp-embed-responsive'))
     (/home/sirdev/public_html/wp/wp-includes/class-wp-hook.php:326)
  at WP_Hook->apply_filters(array('home', 'page-template-default', 'page', 'page-id-25', 'wp-embed-responsive'), array(array('home', 'page-template-default', 'page', 'page-id-25', 'wp-embed-responsive'), array()))
     (/home/sirdev/public_html/wp/wp-includes/plugin.php:205)
  at apply_filters('body_class', array('home', 'page-template-default', 'page', 'page-id-25', 'wp-embed-responsive'), array())
     (/home/sirdev/public_html/wp/wp-includes/post-template.php:859)
  at get_body_class()
     (/home/sirdev/public_html/app/themes/bluelabs/vendor/roots/acorn/src/Roots/Acorn/Sage/Concerns/FiltersTemplates.php:36)
  at Roots\Acorn\Sage\Sage->filterTemplateInclude('/home/sirdev/public_html/app/themes/bluelabs/resources/views/front-page.blade.php')
     (/home/sirdev/public_html/wp/wp-includes/class-wp-hook.php:324)
  at WP_Hook->apply_filters('/home/sirdev/public_html/app/themes/bluelabs/resources/views/front-page.blade.php', array('/home/sirdev/public_html/app/themes/bluelabs/resources/views/front-page.blade.php'))
     (/home/sirdev/public_html/wp/wp-includes/plugin.php:205)
  at apply_filters('template_include', '/home/sirdev/public_html/app/themes/bluelabs/resources/views/front-page.blade.php')
     (/home/sirdev/public_html/wp/wp-includes/template-loader.php:104)
  at require_once('/home/sirdev/public_html/wp/wp-includes/template-loader.php')
     (/home/sirdev/public_html/wp/wp-blog-header.php:19)
  at require('/home/sirdev/public_html/wp/wp-blog-header.php')
     (/home/sirdev/public_html/index.php:6)