Okay
  Public Ticket #2334869
Errors everytime
Closed

Comments

  • alvaroreyesacebal started the conversation

    Hi guys,

    After installing your theme, I try to visit some pages in backend and I get the following error (please see image attached):

    There has been a critical error on your website.

    Learn more about debugging in WordPress.

    How to fix that?

    Thanks,

    Alvaro




  •  675
    Neuron replied

    Hi Alvaro,

    I am very sorry for the late reply.

    Can you please provide me with your wp-admin, I will have a quick look to see what's going on.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • alvaroreyesacebal replied

    Hi,

    Thanks for your reply. User details below:

    USER: developer

    PSWD: Developer01

    Alvaro

  • alvaroreyesacebal replied

    Just another error, find attached.

  •  675
    Neuron replied

    Hi,

    1) It seems like you've removed the issue: https://prnt.sc/rlty5q

    It should be related to any image that was missing in the Bifrost.

    2) To edit the header, please hover onto the button Edit with Elementor: https://prnt.sc/rltx9j

    In the theme you can either use the header that comes as default where you can upload the logo from Customizer and manage it from there or via Elementor where you can create headers and assign them to different pages, so please hover onto button Edit with Elementor and see if there appears a header template. https://prnt.sc/ppaaad

    Click onto the template and the editor for that template will be opened where you can easily edit it.

    - Video Tutorials about header builder.

    3) I have also spotted a low setting on the maximum execution time. https://prnt.sc/rlu06g

    PHP Recommendations

    Memory Size: memory_limit = 256M
    Script execution time: max_execution_time = 400
    Number of input variables: max_input_vars = 4000
    

    If you don’t have access to the php.ini file, you can add the following values in your .htaccess file:

    php_value max_execution_time 400
    php_value memory_limit 256M
    php_value upload_max_filesize 10M
    

    Be careful using these settings, some hosting companies don’t allow users to change php settings, if you experience any problem after making these changes, please revert these in your .htaccess file, using your FTP client.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • alvaroreyesacebal replied

    Hi,

    1) I haven't done anything to remove the issue, and I haven't done anything neither to cause the issue. Apparently, it was temporary, which worries me since this has not been the only temporary issue I I've seen since installation. Also, why an image should be missing when I imported the whole thing?

    2) I have removed the toolbar in front-end, what is another way to edit the header fast without it? I saw the Templates menu option but I see like 36 headers...

    3) I have already my htaccess file tuned up for php variables plus I the I followed indications in your documentation page (https://neuronthemes.com/documentation/bifrost/) but max_input_time as you marked in image is not mentioned anywhere in it. See image attached for my php settings.

    Looking forward to your replies.

    Thanks

  • alvaroreyesacebal replied

    Now, my site got broken when clicking on "Publish" button in Appearance > Customize section. After enabling "WP_DEBUG" variable, this is the info it dropped:

    ___________________________________________________________________________________________________

    Fatal error: Uncaught Error: Array callback has to contain indices 0 and 1 in /var/www/html/wp-content/themes/bifrost/functions.php:319 Stack trace: #0 /var/www/html/wp-includes/class-wp-hook.php(288): bifrost_widgets_init('') #1 /var/www/html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #2 /var/www/html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /var/www/html/wp-includes/widgets.php(1765): do_action('widgets_init') #4 /var/www/html/wp-includes/class-wp-hook.php(288): wp_widgets_init('') #5 /var/www/html/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array) #6 /var/www/html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #7 /var/www/html/wp-settings.php(523): do_action('init') #8 /var/www/html/wp-config.php(93): require_once('/var/www/html/w...') #9 /var/www/html/wp-load.php(37): require_once('/var/www/html/w...') #10 /var/www/html/wp-blog-header.php(13): require_once('/var/www/html/w...') #11 /var/www/html/index.php(17): require('/var/www/html/w...') #12 in /var/www/html/wp-content/themes/bifrost/functions.php on line 319

    ___________________________________________________________________________________________________

    Line 319 of your file reads:

    if (!empty($sidebar['sidebar_title'] && !empty($sidebar('sidebar_description')))) {
    

    So, I removed temporarily this conditional and I managed to see the website again with the following message:

    ___________________________________________________________________________________________________

    Notice: register_sidebar was called incorrectly. No id was set in the arguments array for the "" sidebar. Defaulting to "". Manually set the id to "" to silence this notice and keep existing sidebar content. Please see Debugging in WordPress for more information. (This message was added in version 4.2.0.) in /var/www/html/wp-includes/functions.php on line 4986

    ___________________________________________________________________________________________________

    As far as I see now, the problem is your function to create sidebars under Appearance > Customize > General > Settings > "Add new sidebar area" option.

    Need a fix ASAP, please.

    Alvaro

     

  • alvaroreyesacebal replied

    .

  •   Neuron replied privately
  • alvaroreyesacebal replied

    Hi,

    Well, I don't wish to cause you guys troubles but definitely I need more frequent replies, more than 1 per day, since as mentioned before, I purchased the theme on friday and I haven't been able to start working on this project since then due to issues arising every time.

    I passed you the wp-admin info in this same ticket, so you could have gained time starting to check right today. Now, I have missed this day too because off the bad follow up on this ticket. FTP login details is not possible, but you have your theme files to replicate the issue in a local environment:

    PHP 7.3

    MySQL 8.0.17

    Wordpress 5.3.2

    Steps to reproduce:

    1. Go to Appearance > Customize > General > Settings > "Add new sidebar area"
    2. Fill in name and description fields
    3. Click on "Publish" button
    4. Next, you should see the error page and the website should become unavailable in any page.

    Once you have fixed it, just send me the file to replace in my setup. 

    Guys please, I need you to understand that working with your theme is causing me more troubles than it should, and that if I don't get started working on this project tomorrow morning (thursday morning - Mexico time) I will ask you for a refund and will use another theme for my project.

    Again, hope you understand me and thanks for the support.

    Alvaro


  •  675
    Neuron replied

    Hi Alvaro,

    I am very sorry for these late replies, in these time this is the best we can dofrown.png

    I understand your concern, the issue is very strange and we did not face before.

    I have disabled the sidebar feature for the moment, so if you need sidebars, we can add them via child theme.

    Please replace the functions.php on your main theme.

    Feel free to ask for anything you need.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • alvaroreyesacebal replied

    Hi guys,

    Honestly, I cannot make it with this theme, it delays my work because of the issues that comes up and it's documentation is not clear. I will start looking for another theme, so please issue a refund soon as possible and let me know if you wish me to handle it also through Envato.

    Sorry and thank you for understanding,

    Alvaro



  •  675
    Neuron replied

    Hi Alvaro,

    I am very sorry for your experience with Bifrost, we really hope in the future that our paths will cross again.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • alvaroreyesacebal replied

    Hi guys,

    Thanks for the refund. Yes, I also regret having these issues with the theme, maybe in a future I come back and knock.

    Wish you all the very best and take care!

    Alvaro

  •  675
    Neuron replied

    Thanks Alvaro, stay safe and good luck building the websitesmile.png

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.