Home Forums WoodMart support forum Woodmart Templates not working

Woodmart Templates not working

Viewing 24 posts - 1 through 24 (of 24 total)
  • Author
    Posts
  • #584022

    order-4211
    Participant

    After installing the plugin “templatera” the “Template Library” is not loading anymore.
    Also it is not possible to insert an own template. If we click on “+” the editor closes and nothing is added to the page!

    [17-Jul-2024 14:47:15 UTC] PHP Warning:  Trying to access array offset on null in /wordpress/wp-content/themes/woodmart/inc/integrations/visual-composer/classes/class-vctemplates.php on line 232
    [17-Jul-2024 14:47:15 UTC] PHP Warning:  Trying to access array offset on null in /wordpress/wp-content/themes/woodmart/inc/integrations/visual-composer/classes/class-vctemplates.php on line 256
    [17-Jul-2024 14:47:15 UTC] PHP Deprecated:  json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /wordpress/wp-content/themes/woodmart/inc/integrations/visual-composer/classes/class-vctemplates.php on line 113
    [17-Jul-2024 14:47:15 UTC] PHP Warning:  Attempt to read property "post_type" on null in /wordpress/wp-content/plugins/templatera/lib/vc_template_manager.php on line 589
    [17-Jul-2024 14:47:15 UTC] PHP Warning:  Trying to access array offset on null in /wordpress/wp-content/themes/woodmart/inc/integrations/visual-composer/classes/class-vctemplates.php on line 232
    [17-Jul-2024 14:47:15 UTC] PHP Warning:  Trying to access array offset on null in /wordpress/wp-content/themes/woodmart/inc/integrations/visual-composer/classes/class-vctemplates.php on line 256
    [17-Jul-2024 14:47:15 UTC] PHP Deprecated:  json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /wordpress/wp-content/themes/woodmart/inc/integrations/visual-composer/classes/class-vctemplates.php on line 113
    [17-Jul-2024 14:47:15 UTC] PHP Warning:  Attempt to read property "post_type" on null in /wordpress/wp-content/plugins/templatera/lib/vc_template_manager.php on line 589
    [17-Jul-2024 14:47:35 UTC] PHP Deprecated:  htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /wordpress/wp-includes/formatting.php on line 4720
    Attachments:
    You must be logged in to view attached files.
    #584027

    order-4211
    Participant

    Click on “+ Add Template”:

    Post Values:

    {
    	"action": "vc_backend_load_template",
    	"template_unique_id": "834",
    	"template_type": "templatera_templates",
    	"vc_inline": "true",
    	"_vcnonce": "eb94217e79"
    }

    Response: none

    Before we installed the plugin templatera the button worked fine and the template library could load correct.

    #584096

    Artem Temos
    Keymaster

    Hello,

    Please disable any plugins not directly related to our theme and provide us with your admin access details. We will log in to your dashboard and investigate the issue. Please ensure that you only keep the following plugins that are necessary for our theme to work correctly:
    – WoodMart core
    – WooCommerce
    – Elementor/WPBakery Page Builder

    Thank you in advance.

    #585113

    order-4211
    Participant

    Your Mail got stuck in the spam folder. Please have a look at the extra information section for access. We can’t deactivate all plugins because the customer is looking at the frontend. But the plugins should not cause this problems, because before installing the templatera plugin it worked fine.

    #585116

    Artem Temos
    Keymaster

    In this case, you need to create a staging development copy of your website. There, you will be able to do such kind of experiments without any harm to your production website.

    Kind Regards

    #585343

    order-4211
    Participant

    #585344

    Artem Temos
    Keymaster

    Please update the theme and WPBakery page builder to the latest version. Then switch to the parent theme in Appearance -> Themes and let me know.

    #585382

    order-4211
    Participant

    The update of WPBakery just released today, minutes ago, and is not even available for install in WordPress as time of writing. WPBakery Page Builder v7.7.2 is installed and the version 7.8 released today is not showing up for installation in the backend yet.
    And as we wrote before, the editor was working correct before installing the templatera plugin and just stopped working after the install.
    We have now deactivated our child theme and activated the parent theme from woodmart, but no changes in behaviour. It is still broken.

    #585386

    Artem Temos
    Keymaster

    You still have an outdated version of the theme. Please update it to the latest version first.

    #585427

    order-4211
    Participant

    … There is no Update for the Theme available. It is running on “Woodmart Version: 7.4.3 ”

    meanwhile the new Version of WPBakery Page Builder v 7.8 is available for installation, which we tried to install, but because this is now a copy under a new domain for your testing purpose, there is no licence for this and the update fails!

    Please see the screenshot.

    Attachments:
    You must be logged in to view attached files.
    #585432

    Artem Temos
    Keymaster

    The latest version of the theme is 7.5.2. You can update it following our instructions here https://xtemos.com/docs-topic/update-the-theme/
    As for the WPBakery page builder, you can always update it to the latest version via Dashboard -> WoodMart -> Plugins.

    #585433

    order-4211
    Participant

    we updated WPBakery on our main site to the new Version, but as expected, there is no change in the behaviour. The problem still exists. Can you please check the error messages we posted earlier which shows an error in /wordpress/wp-content/themes/woodmart/inc/integrations/visual-composer/classes/class-vctemplates.php on line 232 while Trying to access array offset on null.

    #585437

    order-4211
    Participant

    As for the WPBakery page builder, you can always update it to the latest version via Dashboard -> WoodMart -> Plugins.

    As time of writing earlier this option was not available! Now it is and the Update-Button appears. We have updated it on the test-environment.

    ….. There is NO Update available for the Theme and we have registered the Theme with our code. See the Screenshots

    Attachments:
    You must be logged in to view attached files.
    #585450

    Artem Temos
    Keymaster

    Maybe you didn’t activate the theme license. Anyway, you can always update the theme manually. Follow our instructions in the documentation https://xtemos.com/docs-topic/update-the-theme/

    #585462

    order-4211
    Participant

    You can see in the screenshot that the licence is activated?! We cant see any problem on our side why there is no update shown. Why do we not get the update automatically? Why is there no available update shown in the backend. We need the auto update function. Why is it not working?

    #585466

    Artem Temos
    Keymaster

    No, your screenshot doesn’t show anything about the license activation. Moreover, you have disabled this interface in Theme Settings -> White label. Try to enable this interface back and try to deactivate/activate the license.

    Or just update the theme manually, which requires only a few clicks.

    #585476

    order-4211
    Participant

    Thanks for clarification on the license-page.
    We updated the theme, but the problem still persists.

    #585598

    Artem Temos
    Keymaster

    We have fixed this issue on your website. Please check how it works now.

    #585704

    order-4211
    Participant

    There are now several new pages. Can you explain, what have you done? The templates library is now loading again. The problem with adding a template to the page content still persist. We have now created a ticket at wpbakery for further investigation on this topic, because it is only there if the plugin templatera is loaded.

    But please explain, what you have done for “fixing” it. Because we need to apply this fix on the real backend.

    #585713

    Artem Temos
    Keymaster

    We replaced the following code in the file inc/admin/assets/js/vc-templates.js
    var $vcTemplatesBtn = $('#vc_templates-editor-button, #vc_templates-more-layouts'),

    with this one

    var $vcTemplatesBtn = $('#vc_templates-editor-button, #vc_templates-more-layouts, #vc-templatera-editor-button'),

    #586002

    order-4211
    Participant

    Hi, can you please check again the function for adding content elements with “+” on “my templates”, which is not working when the woodmart template is active?

    We heared back from the team at WPBakery, which is directing the error to the woodmart theme:

    Hi,

    Thanks, we were able to see the issue.
    However, the issue seems to be related to the theme which is modifying the template area.
    On site: https://medcheck2.demo.dialoop.de/ we have switched onto a default theme: Twenty Twenty Four and have deactivated plugin related to the theme and you can see that adding the template works fine now.
    Both Templatera and WPBakery Page Builder are active.

    Your ticket (#153551) has been updated. To add additional comments, reply to this email.

    WPBakery Team

    As you can see, the function is working right now, but if the woodmart template is active, the button stops working.

    Attachments:
    You must be logged in to view attached files.
    #586334

    Kate M.
    Keymaster

    Hello,

    You can fix it by applying patch # 586049. To do this, go to Dashboard -> WoodMart -> Patcher, find the corresponding patch and click on the “Apply” button. Let us know if it works for you.

    Kind Regards

    #586423

    order-4211
    Participant

    Hi,

    yes, wonderful. Now it works fine.
    Thank you very much for your support.

    Best Regards

    #586533

    Kate M.
    Keymaster

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

Viewing 24 posts - 1 through 24 (of 24 total)