Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #1495913

    Hello guys,

    I can’t publish a page / post but publishing a product is OK. When I use the by defaut editor I can.
    Before going further, I’d like to update the theme. I am on version 7.3 instead of 4 but when I click on check manually, nothing happens. How can I find the files to set the new version manually (and if you have the documentation).
    I am on the latest version of WP, PHP 8.3 on my hosting and my database is not full…
    Tx for your help,
    Marine

    #1495924

    Hey newki75,
    Thanks for the login, when I tested I was able to publish your test page with no errors.
    To manually update Enfold you will need to download the latest installable WP version from your Theme Forest account and upload it to your WordPress ▸ Appearance ▸ Themes ▸ Add Themes ▸ Add New
    after you choose the zip file and click install, you will see a This theme is already installed message because you are updating, you can continue,
    then you will see the Theme updated successfully message.

    Best regards,
    Mike

    #1495944

    Hello Mike,

    Tx for your quick answer. Here is a video for you, to reproduce my issue. https://www.loom.com/share/4cf5a04a727f4ebcb83fffda72c058ef
    Tx a lot
    Marine

    #1495957

    Hi,
    Thanks for the video, I see first that you used the classic editor to save the page and then you switched to the ALB editor on the same page and added more elements and saved again. Please note that this can cause issues. Please do not switch between editors, only use one editor per page. Also note that if a corrupt page is saved as a template it can not be repaired, you will need to remove the template and rebuild a new page and create a new template.
    Was the page that you tried to add the template to also saved in both editors?

    Best regards,
    Mike

    #1495959

    Yes but when I only use Enfold editor, I have the same issue. Thats why wanted to show you it work with the by default one and te issue comes from the Template example adding. Can u try to create a false page, TestB, add my Ballotins model template and publish? U will have the same issue.
    Tx for your help
    Marine

    #1495961

    Hi newki75,

    Thank you for the clarification.

    We were able to reproduce the issue when loading your Ballotins template on a new page. Since you’re experiencing this problem consistently when using the template, there may be conflicting code or a server-side issue preventing the publish action. To help us investigate further, we need to enable debug logging.

    Please add these lines to your wp-config.php file:

    
    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );
    

    Once added, WordPress will create a debug.log file in your wp-content folder. Check that file for any error messages when you attempt to publish a page with your template. Please share a screenshot of the relevant errors with us.

    Let us know what you find.

    Best regards,
    Ismael

    #1495966

    OK will do it today.
    First, I could update the theme as I am on 7.3 instead of 7.4. Can u cofirm that each time I upload it from Themeforest I get the latest version? (see my question in the video I have sent)
    And please read the email I have received during your reproducing test:
    Détails de l’erreur
    ======================
    Une erreur de type E_ERROR a été causée dans la ligne 2502 du fichier /home/chauduncij/www/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php. Message d’erreur : Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, string given in /home/chauduncij/www/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php:2502
    Stack trace:
    #0 /home/chauduncij/www/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-parser.php(1598): aviaShortcodeTemplate->is_self_closing()
    #1 /home/chauduncij/www/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-parser.php(862): ShortcodeParser->get_closing_tags_array(Array)
    #2 /home/chauduncij/www/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-parser.php(666): ShortcodeParser->balance_shortcode_array(Array)
    #3 /home/chauduncij/www/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-parser.php(442): ShortcodeParser->balance_shortcode(‘[av_section min…’)
    #4 /home/chauduncij/www/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-helper.php(511): ShortcodeParser->parse_shortcode(‘[av_section min…’)
    #5 /home/chauduncij/www/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-template-builder.php(2551): ShortcodeHelper::clean_up_shortcode(‘[av_section min…’, ‘balance_only’)
    #6 /home/chauduncij/www/wp-includes/class-wp-hook.php(341): AviaBuilder->handler_before_save_alb_post_data(Array, Array)
    #7 /home/chauduncij/www/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
    #8 /home/chauduncij/www/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-meta-box.php(357): apply_filters(‘avf_before_save…’, Array, Array)
    #9 /home/chauduncij/www/wp-includes/class-wp-hook.php(343): MetaBoxBuilder->handler_wp_insert_post_data(Array, Array)
    #10 /home/chauduncij/www/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
    #11 /home/chauduncij/www/wp-includes/post.php(4886): apply_filters(‘wp_insert_post_…’, Array, Array, Array, true)
    #12 /home/chauduncij/www/wp-includes/post.php(5296): wp_insert_post(Array, false, true)
    #13 /home/chauduncij/www/wp-admin/includes/post.php(453): wp_update_post(Array)
    #14 /home/chauduncij/www/wp-admin/post.php(227): edit_post()
    #15 {main}
    thrown

    #1495972

    Hi,
    Yes each time you upload it from Themeforest you get the latest version.
    I believe your error is related to what I posted above.

    Best regards,
    Mike

    #1496021

    Hello,
    I’ve updated the theme and you were right, no change.
    But here is the result with a video: https://www.loom.com/share/0c7fff247810412589687468be58c6ca
    Tx a lot for your help, I can send you the FTP access if needed.
    Marine

    #1496050

    Hey newki75,

    Thank you for the short clip.

    The error is a php fatal error in the template builder’s shortcode parser. It’s happening because the Ballotins template contains shortcode data that is not structured as expected, likely due to the mixed editor usage that Mike mentioned earlier. Since the template itself appears to be corrupt, the most reliable fix is to rebuild it from scratch using only the ALB editor.

    Regarding the theme update, yes, downloading from Themeforest always gives you the latest available version.

    Let us know the result.

    Best regards,
    Ismael

    #1496130

    Hello,

    I am trying to create a new page from scratch with the advanced builder and I soon as I save the page, I have the error message…

    #1496155

    Hey newki75,

    Thank you for the update.

    We were able to reproduce the issue on a fresh page using only the ALB editor, which means the problem is not related to the mixed editor usage or any custom shortcode. To proceed, we will need access to your server via S/FTP. Please provide the login credentials in the private field below.

    Before we begin testing, please make sure you have a full site backup in place, as we may need to temporarily disable or modify files while investigating. Please confirm that the backup has been made before sharing the credentials.

    Best regards,
    Ismael

    #1496163

    Hello,

    I have my backup.
    FYI, Ive just tried again to desactivate all plugins except Classic Editor and I have the issue(I dont have it without it but I dont have the same presentation).

    (private field)
    Tx for your help

    #1496253

    Hello guys,

    I have sent y my credentials with private message on the 19th, any news?
    Txxxxx

    #1496254

    More details: the bug appears when I add a column (not an item and not a section color)

    #1496314

    Hello guys,

    Anyone can help me? It is a bit urgent now.
    Tx

    #1496325

    Hi,

    Sorry for the delay. We’re now able to publish a page without issue. We edited the enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php file around line 2502:

    $this->config['self_closing'] = is_array( $params ) && array_key_exists( 'content',  $params ) && is_null( $params['content'] )  ? 'yes' : 'no';
    

    Please confirm if the fix is working on your end.

    Best regards,
    Ismael

Viewing 17 posts - 1 through 17 (of 17 total)
  • You must be logged in to reply to this topic.