Okay
  Public Ticket #2354390
Theme activation issue
Closed

Comments

  • sinaiem started the conversation

    Recently when I try to log in to wp-admin I get an error "Unknown error (invalid-json). Please contact an administrator for more info.” I’ve since used ftp to disable all plugins and re-add them one by one until I found which plugin (if any) was at fault, and found the issue to be with thefox. 

    I’m getting the following error: [08-Apr-2020 02:00:12 UTC] PHP Fatal error: Call to undefined function vc_set_default_editor_post_types() in /home/sinaiem/public_html/wp-content/themes/thefox/functions/vc-functions.php on line 32
    [08-Apr-2020 02:00:12 UTC] PHP Fatal error: Call to undefined function vc_set_default_editor_post_types() in /home/sinaiem/public_html/wp-content/themes/thefox/functions/vc-functions.php on line 32
    [08-Apr-2020 02:00:12 UTC] PHP Fatal error: Call to undefined function vc_set_default_editor_post_types() in /home/sinaiem/public_html/wp-content/themes/thefox/functions/vc-functions.php on line 32

    Previously I had received this error: [04-Apr-2020 22:26:46 UTC] PHP Catchable fatal error: Object of class WP_Error could not be converted to string in /home/sinaiem/public_html/wp-content/themes/thefox/functions/rd_theme_functions/rd-custom-breadcrumbs.php on line 109
    [04-Apr-2020 23:41:27 UTC] PHP Catchable fatal error: Object of class WP_Error could not be converted to string in /home/sinaiem/public_html/wp-content/themes/thefox/functions/rd_theme_functions/rd-custom-breadcrumbs.php on line 109

    Please advise.

  •  892
    TheFox replied

    Hello Sinaiem,

    Did you installed any new plugin recently?

    For example I know that the plugin Better WordPress ReCaptcha plugin can create this issue http://betterwp.net/wordpress-plugins/bwp-recaptcha/

    Try to delete the plugin you installed from wp-content/plugins

    For the fatal error you have from the theme.

    go edit the page vc-functions.php and remove the line 32

    It seems that you have an issue with the plugin you are using, maybe a conflict or plugin that should have been installed not installed ( the one our theme needs ) or theme / plugin not being up to date.

    Waiting for more information.

    Best regards