Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1346488

    Hello!

    Since WordPress 5.2 is a built-in feature that detects when a plugin or theme causes a fatal error on your site and notifies you with this automated email.

    In this case, WordPress encountered a bug with your theme, Enfold.

    First, visit their website (https://yosoygaia.com/) and check for any visible issues. Then visit the page where the error was detected (https://yosoygaia.com/wp-admin/index.php) and check if there are any visible issues.

    Contact your host for help investigating this issue.

    If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This allows you to securely log in to your panel and investigate further.

    https://yosoygaia.com/wp-login.php?action=enter_recovery_mode&rm_token=C8m6JFWYGtcnw32bozHTLc&rm_key=Ohca7oT73ROP0KvvMjuH5J

    To keep your site secure, this link will expire in 1 day. Don’t worry about it though – a new link will be emailed to you if the error occurs again after it expires.

    When looking for help with this issue, you may be asked for the following information:
    WordPress version 5.9.2
    Current topic: Enfold (version 4.9)
    Current plugin: (version )
    PHP version: 7.4.10

    Error Details
    ==================
    An error of type E_ERROR occurred in line 2015 of the file /hermes/bosnacweb08/bosnacweb08au/b1559/dot.yosoygaiacom/public_html/backupwordpress/wp-content/themes/enfold/functions.php. Error message: Uncaught Error: Call to a member function get_cart() on null in /hermes/bosnacweb08/bosnacweb08au/b1559/dot.yosoygaiacom/public_html/respaldowordpress/wp-content/themes/enfold/functions.php:2015
    Stacktrace:
    #0 /hermes/bosnacweb08/bosnacweb08au/b1559/dot.yosoygaiacom/public_html/supportwordpress/wp-content/themes/enfold/functions.php(1998): woo_cart_has_virtual_product()
    #1 /hermes/bosnacweb08/bosnacweb08au/b1559/dot.yosoygaiacom/public_html/respaldowordpress/wp-includes/class-wp-hook.php(307): payment_gateway_disable_country(Array)
    #2 /hermes/bosnacweb08/bosnacweb08au/b1559/dot.yosoygaiacom/public_html/backupwordpress/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array)
    #3 /hermes/bosnacweb08/bosnacweb08au/b1559/dot.yosoygaiacom/public_html/supportwordpress/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(163): apply_filters(‘woocommerce_ava…’ , array)
    #4 /hermes/bosnacweb08/bosnacweb08au/b1559/dot.yosoygaiacom/public_html/supportwordpress/wp-content/plugins/woocommerc

    #1346552

    Hey MayellaAlmazan,

    Thank you for the inquiry.

    The functions.php file in the theme only contains around 900 lines of code, so there is no line 2015. And it doesn’t contain the woo_cart_has_virtual_product function by default, which is mentioned in the errors above. Did you modify the functions.php file?

    Best regards,
    Ismael

    #1346657

    Yes, I modified it.

    The elements I added in the functions.php file worked fine for me on a previously installed version of Enfold.

    Even deleting them does not allow me to recover the theme.

    Could you share the steps to recover it?

    #1346660

    Its working now, thanks for your help!

    #1346675

    Hi,
    Glad Ismael could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Unable to use wordpress admin’ is closed to new replies.