Okay
  Public Ticket #2851428
FATAL ERROR WHEN I TRY TO GET TO WIDGET
Closed

Comments

  • valemassa started the conversation

    I am receiveing this email after i try to get into Widgets on wordpress admin.

    Hello!

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

    In this case, WordPress has detected an error with one of your plugins, Clubio Core.

    First, visit your website (https://boldmadeproductions.com/) and check if there are any visible problems. Then visit the page where the error was detected (https://boldmadeproductions.com/wp-admin/admin-ajax.php) and check if there are any visible problems.

    Please contact your property to help you further investigate this issue.

    If your site seems broken and you cannot access your desktop normally, WordPress now has a special "recovery mode". This allows you to safely access your desktop and investigate further.

    https://boldmadeproductions.com/wp-login.php?action=enter_recovery_mode&rm_token=oV5yG32q9b60vg6uNPpAuJ&rm_key=1duGMN9AYYsHNnHtnSv2G3

    To keep your site safe, this link will expire in 1 day. However, don't worry about this: you will receive a new link by email if the error occurs again after it expires.

    When looking for help with this problem, you may be asked for the following information:
    WordPress version 5.8
    Current theme: Clubio (version 1.2.0)
    Current plugin: Clubio Core (version 1.2.0)
    PHP version 7.3.12

    Error details
    ==================
    An E_ERROR error occurred on line 267 of the /var/www/wp-content/plugins/theme-core/theme-core.php file. Error message: Uncaught Error: Call to undefined function wc_get_products () in /var/www/wp-content/plugins/theme-core/theme-core.php:267
    Stack trace:
    # 0 /var/www/wp-content/plugins/theme-core/theme-core.php(302): alispx_get_type_posts_data ()
    # 1 /var/www/wp-includes/class-wp-hook.php(303): rsgallery_vc_map_init ('')
    # 2 /var/www/wp-includes/class-wp-hook.php(327): WP_Hook-> apply_filters (NULL, Array)
    # 3 /var/www/wp-includes/plugin.php(470): WP_Hook-> do_action (Array)
    # 4 /var/www/wp-content/plugins/js_composer/include/classes/core/class-vc-manager.php(251): do_action ('vc_after_init')
    # 5 /var/www/wp-includes/class-wp-hook.php(303): Vc_Manager-> init ('')
    # 6 /var/www/wp-includes/class-wp-hook.php(327): WP_Hook-> apply_filters (NULL, Array)
    # 7 /var/www/wp-includes/plugin.php(470): WP_Hook-> do_action (Array)
    # 8 /var/www/wp-settings.php(578): do_action ('init')
    # 9 /var/www/wp-config.php(103): require_once ('/ var / www / wp-set ...')
    # 10 /var/www/wp-load.php(50): require_once ('/ var / www / wp-con ...')
    # 11 /var/www/wp-admin/admin-ajax.php(22): require_

  •  60
    Olga replied

    Hello,

    this error is fixed in our latest package .  It will be placed on the Envato in 1-2 days.

    but for now you can make fixes:


    Please, download the file - https://www.dropbox.com/s/xhre2ponz8z52iw/mini-cart.zip?dl=0

    and replace the existing file - clubio\woocommerce\cart\mini-cart.php with it.





    thanks!

  • valemassa replied

    Thanks, it worked.


    I have another question. In the ticket gallery, how do I keep the buy modal ticket inteat od add to cart, and how I could add a link intead of add to cart or the modal? Thanks

  •  60
    Olga replied

    Hello,

    you can enter any content or use our default content and change links in the buttons as you need.

    Please, read - https://clubio.softali.net/wp/documentation/pages.html#pages_tickets_product

    item 4 Use the custom html for buttons?

    events_btns_custom_html.png

    about linking the modal blocks with buttons please read - https://clubio.softali.net/wp/documentation/structure.html#structure-modal


    thanks!

  • valemassa replied

    Thanks for your response, I jave another question.

    How can I change language of the ticket page single event? It is in English and I need it in spanish. I try with Loco plugin, but it doesnt work.


  • valemassa replied

    I refer to the language of the date


  •   valemassa replied privately
  • valemassa replied

    Sorry, I have another question. How can I add different buy ticket modals to the buy ticket option in the ticket widged? Because it just let me add a single modal with a single event information,

    Update about the modal: The html code  just work on the columm setting, not in the rows setting of the ticket widget.


    Please I would appreciate the helo in this issues.

  •  60
    Olga replied

    Hello,

    1- if I've correctly understood you mean the buttons in the block 

    PRÓXIMOS EVENTOS

    the custom html code for buttons if you enable using of custom html leads to the modal blocks

    events_btns_custom_html.png

    you should enable the custom html for each block

    2- sizes of images are set as for default Woo in Customizer -> 

    Product Images
    5647994922.png


    3- regarding the translation we've tested only such plugin for translation - https://clubio.softali.net/wp/documentation/installation.html#translation

    The files with generated translation variables are placed in such paths:

    • wp-content/themes/clubio/languages/clubio.pot
    • wp-content/plugins/theme-core/languages/theme-core.pot



    thanks!

  • valemassa replied

    Thanks for your reply.

    I still dont have it clear about the html buttons.

    I enable the custom html and already added the modal html code, but nothing happens.

    YOu SAID:you should enable the custom html for each block (I dont know what do you mean by this).

  • valemassa replied

    The PROXIMOS EVENTOS buttons still add the product to cart instead of showing the modal.

  • valemassa replied

    And I cannnot translate the date in Rows type tickets widgets.

    And where can I  change the image in the Buy ticket modal?

    This theme is beginning to be a headache for me!

  • valemassa replied

    I have create different modals in Appareance-Widgets for different events, but i dont know how to add the diferent modals to the buy ticket separately for each event, because i just see one space in the visual composer option.

  •  60
    Olga replied

    Hello,

    1-unfortunately, date format can't be changed in the admin. 

    You can do this in the code of file - theme-core\vc_templates\clubio_ticket_element.php

    2- about linking the button and a block. They are connected by id of block and data-target parameter of button.

    this is described with details - https://clubio.softali.net/wp/documentation/structure.html#structure-modal

    So, if you need to link the buttons, they should have data-target="#modalblock1", data-target="#modalblock2" ....  etc

    and blocks should have: id="modalblock1", id="modalblock2"... etc.




    thanks!

  • valemassa replied

    ok, and how I change the modal by ticket picture?


  • valemassa replied

    the buy ticket modal picture


  • valemassa replied

    about linking the button and a block. They are connected by id of block and data-target parameter of button. Do you mean i have to add each event in a different block?

  • valemassa replied

    What I mean is that if I select ROWS type of ticket block, the ustom html code for the buttons stop working. I need help solving this.

  •  60
    Olga replied

    Hello,

    thanks for your notice!

    Please, use for the Row type of tickets block the following html:

    <div class="tickets-col__btn"><a class="tt-btn" tabindex="0" href="#" data-toggle="modal" data-target="#modalBayTickets1"><span class="ch">buy tickets</span></a><br class="ch" /><a class="tt-btn" tabindex="0" href="#" data-toggle="modal" data-target="#modalVipTables"><span class="ch">VIP tables</span></a></div>


    and upload the file attached to the path: 

    theme-core\vc_templates\clubio_ticket_element.php


    thanks!

  •  60
    Olga replied

    for now the event block is the same. So, after clicking on the button you see the same block. 

    its content is located in the Appearance -> Widgets -> Theme forms

    If you need to have different blocks you will have to add them.

    The image are also in the content of this widget

    8236951161.png


    To make it more convenient, you can create these blocks in Pages. Then you're able to upload images via WPBakery composer. And copy the generated shortcodes into Widgets


    thanks!

  • valemassa replied

    Thanks for your reply.


  • valemassa replied

    Sorry, but I have another question.


    I am using the Homepage, Block: "Additional Services" HTLM,  but it doesnt look right on mobile, the texts on the column of the services list doesnt adjust well to the screen. In your demo website look good, but not on my website. Please could you take a look and see what i am doing wrong.

    Thanks

    https://boldmadeproductions.com/gallery-2/


  •  60
    Olga replied

    Hello,

    If you mean the block with image it has own css which is arranged with the demo image.

    You can use the css to arrange it to your own image

    7109509957.png


    .events-wide .events-wide__img a {

    margin-top: 70px;

    height: 540px;

    width: 100%;

    }