ThemeBurn Support › Forums › OpenCart Themes › Pavilion OpenCart Theme › Migration to new server and domain – errors in visual composer
This topic has been marked as resolved.
Hi there, I’ve just migrated Opencart with Pavillion to a new server and another domain name. Now I the Visual Composer stopped working and I see all kinds op errors: Unknown: Argument 4 passed to Theme_Admin_LayoutBuilderModel::filterRowSettings() must be an array, null given, called in /X/tb_themes/pavilion/admin/controller/WidgetController.php on line 28 and defined in/X/tb_themes/pavilion/admin/model/layoutBuilderModel.php on line 639Unknown: Argument 3 passed to Theme_Admin_LayoutBuilderModel::filterAreaSettings() must be an array, null given, called in /X/tb_themes/pavilion/admin/model/layoutBuilderModel.php on line 644 and defined in /X/tb_themes/pavilion/admin/model/layoutBuilderModel.php on line 631Unknown: Argument 1 passed to TB_ColorSchemer::filterThemeColors() must be an array, null given, called in /X/tb_themes/pavilion/admin/model/layoutBuilderModel.php on line 635 and defined in /X/public_html/tb_themes/pavilion/library/ColorSchemer.php on line 37Unknown: Argument 1 passed to TB_ColorSchemer::filterColors() must be an array, null given, called in /X/tb_themes/pavilion/library/ColorSchemer.php on line 39 and defined in/X/public_html/tb_themes/pavilion/library/ColorSchemer.php on line 66 I would like to change image URLs and hard-copy URLs in the Visual Composer, but I can’t. - What do I need to do? I can find related topics on the forum, however, none of them tells how to solve it step-by-step. Normally, I can wait – but – the site needs to go live as quick as possible Cheers, Frank
|
|
February 23, 2016 at 6:49 pm #45084
|
|
In addition, when I change all the URLs in the database in tables tb_setting and setting, then the Visual Composer says that “There are no saved blocks for …” Notice: unserialize() [function.unserialize]: Error at offset 6878 of 52043 bytes in X/tb_themes/pavilion/library/DbSettingsHelper.php on line 203 |
|
February 24, 2016 at 11:56 am #45093
|
|
Any news on this? Cheers, Frank |
|
February 26, 2016 at 3:03 pm #45132
|
|
The errors were caused by a deprecate PHP directive, called ‘magic_quotes_gpc’. You should switch it off (or ask your server support to do it). We fixed the errors by implementing a workaround. It will be included in our next update. Here’s the explanation for a manual workaround.
You can’t if you don’t know how to modify serialized php arrays. Regards, |
|
February 26, 2016 at 5:46 pm #45144
|
|
Thanks guys! Good and clear explanation. I’ll flag off magic quotes with php_flag magic_quotes_gpc Off by adding it to .htaccess |
|
February 26, 2016 at 6:57 pm #45153
|
|
Will mark this topic as “resolved”. BR, |
|
March 2, 2016 at 6:06 pm #45243
|
|
Hi guys, I’ve disabled magic_quotes_gpc with a php.ini, so it has been disabled. Unfortunately, since yesterday the same errors arose. In the Visual Composer the same errors are shown as before. Unknown: Argument 4 passed to Theme_Admin_LayoutBuilderModel::filterRowSettings() must be an array, null given, called in /X/tb_themes/pavilion/admin/controller/WidgetController.php on line 28 and defined in/X/tb_themes/pavilion/admin/model/layoutBuilderModel.php on line 639Unknown: Argument 3 passed to Theme_Admin_LayoutBuilderModel::filterAreaSettings() must be an array, null given, called in /X/tb_themes/pavilion/admin/model/layoutBuilderModel.php on line 644 and defined in /X/tb_themes/pavilion/admin/model/layoutBuilderModel.php on line 631Unknown: Argument 1 passed to TB_ColorSchemer::filterThemeColors() must be an array, null given, called in /X/tb_themes/pavilion/admin/model/layoutBuilderModel.php on line 635 and defined in /X/public_html/tb_themes/pavilion/library/ColorSchemer.php on line 37Unknown: Argument 1 passed to TB_ColorSchemer::filterColors() must be an array, null given, called in /X/tb_themes/pavilion/library/ColorSchemer.php on line 39 and defined in/X/public_html/tb_themes/pavilion/library/ColorSchemer.php on line 66 This happened after I changed a layer of one my slideshow. All layers has been disappeared and cannot be added again. Nothing happens when I try to save a new layer. This error is shown at the front-end: Warning: Invalid argument supplied for foreach() in /X/public_html/tb_themes/pavilion/extension/fire_slider/catalog/model/defaultModel.php on line 89 Warning: Invalid argument supplied for foreach() in /X/public_html/tb_themes/pavilion/extension/fire_slider/catalog/model/defaultModel.php on line 16 Can you help again? |
|
March 17, 2016 at 1:40 pm #45615
|
|
I’ve set errors to hide, since the web shop is live. Nevertheless, can you help again? I can’t edit the layout right now with the Visual Builder. |
|
March 22, 2016 at 6:35 pm #45752
|
|
Sorry for asking, but do you need anything else from me? |
|
March 25, 2016 at 4:44 pm #45815
|
|
Hello, sorry for the late answer. We marked your topic as resolved, that’s why it escaped our notice. Can you please give us credentials for your new shop so we can check what’s going on ? Regards, |
|
March 28, 2016 at 5:40 pm #45877
|
|
Hi there, Looking forward to your reply. Cheers |
|
March 30, 2016 at 1:02 pm #45988
|
|
Hi, we tested your site several times and were not able to reproduce the error. We have added/removed sliders and layers, we also created new pages – everything works as expected. Could you please describe the exact steps in order to invoke the issue you are referring to above ? Regards, |
|
April 5, 2016 at 6:06 pm #46184
|
|
Hi there, In Visual Composer I’m able to create sliders and layers, but nothing is added to the website. Moreover, when I’ve saved a new slide and/or layer, it disappears after opening Pavilion again. In steps: 1. Click on P (Visual Composer) Me and my client are faced with the same problem. |
|
April 6, 2016 at 12:13 pm #46220
|
|
Hi, We’ve tested again your website and adding layers is working fine. The steps we’ve done: 1) Open slider 2) Go to slide and open layers tab 3) Add layer and click “Save” – the layer appears on the website What we’ve noticed as a bug: 1) Open slider 2) Go to slide and open slide’s layers 3) Add layer and click “Save” 4) Close slide’s layers tab 5) Open slide’s layers tab again – images are missing (they are visible on website though) If you go back to sliders list and open slider slider settings again, then open the slide’s layers tabs, layer images will be there. We will fix this bug with the next release, but unfortunately, do not have a quick patch for the moment. BR, |
|
April 11, 2016 at 10:54 am #46414
|
|
Hi there, I guess you’ve added images as a layer? I’ve added HTML to the slider and again nothing happens, also with the proposed workaround. I’m trying to add a HTML code with DIVs / BRs, etc. Can you give a solution or temporary workaround?
|
|
April 16, 2016 at 11:07 am #46589
|
- You must be logged in to reply to this topic.