Critical Error Message

  • Unknown's avatar

    So I recently upgraded my plan from Premium to Business and decided to also change the theme of my website to one that worked better with my business. However, only recently, have I been getting a ‘therebhas been a critical error’ message any time I go to edit my website or use some of the functioning buttons on my admin home page bar such as certain settings. I’ve had theme issues in the past that WordPress Support has taken care of but I would rather not have to change themes because of this issue. I did install the Elementer plug in as well so not sure if maybe that could be part of it. I would like to be able to work on my website again but cannot because it keeps giving me this error code. What should I do?

    WP.com: Yes
    Jetpack: Yes
    Correct account: Yes

    The blog I need help with is: (visible only to logged in users)

  • Hi there,

    After taking a closer look at our server logs I was able to uncover the following error, which seems to be related to your 3rd party theme:

    PHP Fatal error:  Uncaught Error: Undefined constant "FOTAWP_URL" in /srv/htdocs/wp-content/themes/fotawp/patterns/about-block-full.php:9
    Stack trace:
    #0 /wordpress/core/6.3/wp-includes/block-patterns.php(480): include()
    #1 /wordpress/core/6.3/wp-includes/class-wp-hook.php(310): _register_theme_block_patterns('')
    #2 /wordpress/core/6.3/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
    #3 /wordpress/core/6.3/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #4 /wordpress/core/6.3/wp-settings.php(632): do_action('init')
    #5 /srv/htdocs/wp-config.php(83): require_once('/wordpress/core...')
    #6 /wordpress/core/6.3/wp-load.php(55): require_once('/srv/htdocs/wp-...')
    #7 /srv/htdocs/jetpack-temp/jp-helper-YVCA0rtaVX.php(156): require_once('/wordpress/core...')
    #8 /srv/htdocs/jetpack-temp/jp-helper-YVCA0rtaVX.php(492): load_wp()
    #9 /srv/htdocs/jetpack-temp/jp-helper-YVCA0rtaVX.php(118): action_paths(Array)
    #10 /srv/htdocs/jetpack-temp/jp-helper-YVCA0rtaVX.php(6050): jpr_action('paths', Array)
    #11 /srv/htdocs/jetpack-temp/jp-helper-YVCA0rtaVX.php(6055): main()
    #12 {main}
      thrown in /srv/htdocs/wp-content/themes/fotawp/patterns/about-block-full.php on line 9

    Beacause the Fota theme was created by an outside provider that we are not connected with, we’re not familiar with the coding of this theme and not able to troubleshoot.

    The good news is that the makers of this theme do provide support for issues you have with getting it set up. You can find them here: https://cozythemes.com/fotawp/

    Hope that helps. Please let us know if you have any more questions.

  • The topic ‘Critical Error Message’ is closed to new replies.