• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Error on Lifestyle Pro site – how to fix and can I no longer use this theme

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Retired StudioPress Themes › Error on Lifestyle Pro site – how to fix and can I no longer use this theme

This topic is: not resolved
  • This topic has 4 replies, 2 voices, and was last updated 2 years, 3 months ago by inisheer.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • January 18, 2023 at 2:39 pm #506597
    inisheer
    Participant

    Hi,
    If you open my site https://www.successdegrees.com/, running on Lifestyle Pro, you will not error at tope of page
    Warning: Undefined array key "fonts-url" in /homepages/30/d343166253/htdocs/successdegrees.com/wp-content/themes/lifestyle-pro/functions.php on line 248

    My two questions are
    a) is there a simple fix for this
    b) does this mean I can't use this child theme anymore?

    Thank you

    https://www.successdegrees.com/
    January 18, 2023 at 11:15 pm #506598
    Brad Dalton
    Participant

    What version are you running?

    Looks like the error may relate to custom code you have added to your functions file not default child theme code.


    Tutorials for StudioPress Themes.

    January 19, 2023 at 4:02 pm #506601
    inisheer
    Participant

    Versions:
    Wordpress 6.1.1
    Genesis 3.4.0
    Lifestyle Pro 3.2.4

    Error msg references line 248 in /lifestyle-pro/functions.php

    This problem just popped up. I have recently updated WordPress and php version on this site.

    It's been a long time since I worked on this site and I'm no ace coder. I might have done something here a long time ago which I don't remember. Here is code in that section of that php file. Make any sense to you?

    236 }
    237 //* TN Dequeue Styles - Remove Google Fonts from Genesis Sample WordPress Theme
    238//* add_action( 'wp_print_styles', 'tn_dequeue_google_fonts_style' );
    239 //* function tn_dequeue_google_fonts_style() {
    240 //* wp_dequeue_style( 'genesis-sample-fonts' );
    241 //* }
    242 //* ALTERNATIVE TO REMOVE GOOGLE FONTS
    243 add_action( 'wp_enqueue_scripts', function () {
    244 $appearance = genesis_get_config( 'appearance' );
    245
    246 wp_dequeue_style(
    247 genesis_get_theme_handle() . '-fonts',
    248 $appearance['fonts-url'],
    249 array(),
    250 genesis_get_theme_version()
    251 );
    252
    253 }, 20 );

    Thanks!

    January 25, 2023 at 9:51 am #506631
    inisheer
    Participant

    Sorry just pinging here again. Does my previous post lead you to any conclusion on a possible fix?
    Thanks
    Bob

    January 27, 2023 at 10:23 am #506637
    inisheer
    Participant

    Actually I followed up on your advice and seemed to have found the problem / removed. Thanks

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble