• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 04.02.21, 19:15
  • Opened by: juan cantu
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #20666 - AMP error

im trying to migrate my site to SiteGround hosting and I did everything as usual but for some reason I get this error on AMP version
I’m using pruebassenties.com as the testing site (the main site is senties.mx and its hosted in neubox) the credential user password and the BO URL are the same than the one in my account

(1/1) ContextErrorException
Warning: htmlspecialchars() expects parameter 1 to be string, array given

in 06c633d6467624081ace6edf74a62b718dd82146_2.module.pspagebuilderviewstemplat.php line 131
at content_601c37c12588e6_47893180(object(SmartyDevTemplate))
in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base→getRenderedTemplateCode(object(SmartyDevTemplate))
in smarty_template_compiled.php line 114
at Smarty_Template_Compiled→render(object(SmartyDevTemplate))
in smarty_internal_template.php line 216
at Smarty_Internal_Template→render(false, 0)
in smarty_internal_templatebase.php line 232
at Smarty_Internal_TemplateBase→_execute(object(SmartyDevTemplate), null, null, null, 0)
in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase→fetch(null, null, null, null, false, true, false)
in SmartyDevTemplate.php line 40
at SmartyDevTemplateCore→fetch()
in Module.php line 2447
at ModuleCore→fetch(’module:pspagebuilder/views/templates/front/widgets/widget_ampinstagram.tpl’)
in pspagebuilder.php line 529
at PsPageBuilder→getWidgetContent(’key_1540237998088’, ‘ampinstagram’, array(’savepspagebuilder’ ⇒ ‘1’, ‘wkey’ ⇒ ‘key_1540237998088’, ‘wtype’ ⇒ ‘ampinstagram’, ‘widget_name’ ⇒ false, ‘show_title’ ⇒ ‘1’, ‘title_position’ ⇒ ‘title_center’, ‘content_alignment’ ⇒ ‘text-left justify-content-left’, ‘widget_title_1’ ⇒ ‘Instagram’, ‘widget_title_3’ ⇒ ‘Instagram’, ‘widget_title_4’ ⇒ ‘Instagram’, ‘widget_title_5’ ⇒ ‘Instagram’, ‘widget_title_6’ ⇒ ‘Instagram’, ‘widget_title_11’ ⇒ ‘Инстаграм’, ‘widget_title_12’ ⇒ ‘Інстаграм’, ‘widget_title_13’ ⇒ ‘Instagram’, ‘widget_title_14’ ⇒ ‘Instagram’, ‘widget_title_15’ ⇒ false, ‘addition_cls’ ⇒ false, ‘stylecls’ ⇒ false, ‘i_user’ ⇒ ‘promokit.eu’, ‘auto_play’ ⇒ ‘0’, ‘display_mode’ ⇒ ‘normal’, ‘limit’ ⇒ ‘5’, ‘token’ ⇒ ‘23e12850fe0da8c69a3df3881cdbc62e’, ‘controllerUri’ ⇒ ‘AdminPspagebuilderAmp’, ‘widget_heading’ ⇒ ‘Instagram’, ‘items_owl_carousel_tpl’ ⇒ ‘/home/customer/www/pruebassenties.com/public_html/modules/pspagebuilder/views/templates/front/widgets/sub/items_owl_carousel.tpl’, ‘mini_products_tpl’ ⇒ ‘/home/customer/www/pruebassenties.com/public_html/modules/pspagebuilder/views/templates/front/widgets/sub/mini_products.tpl’, ‘items_normal_tpl’ ⇒ ‘/home/customer/www/pruebassenties.com/public_html/modules/pspagebuilder/views/templates/front/widgets/sub/items_normal.tpl’, ‘THEME_SKIN_DIR’ ⇒ ‘/home/customer/www/pruebassenties.com/public_html/themes/alysumsub/themes‘, ‘DEFAULT_THEMESKIN’ ⇒ false, ‘product_style’ ⇒ false, ‘max_height’ ⇒ 640, ‘list_mode_tpl’ ⇒ ‘/home/customer/www/pruebassenties.com/public_html/modulespspagebuilder/views/templates/front/widgets/sub/item_instagram.tpl’, ‘i_images’ ⇒ array(array(’width’ ⇒ 640, ‘height’ ⇒ 640, ‘img’ ⇒ ‘https://scontent-atl3-1.cdninstagram.com/v/t51.2885-15/e15/s640x640/144614992_865439850954694_2249755704985325453_n.jpg?_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=110&_nc_ohc=L8muJidQukEAX9g6-rU&tp=1&oh=b24156dcccd341e51816e994be77f2b4&oe=604405D8‘, ‘link’ ⇒ ‘https://instagram.com/p/CKwiwS5gNPW‘, ‘comments’ ⇒ array(’count’ ⇒ 0), ‘likes’ ⇒ array(’count’ ⇒ 24)), array(’width’ ⇒ 640, ‘height’ ⇒ 640, ‘img’ ⇒ ‘https://scontent-atl3-1.cdninstagram.com/v/t51.2885-15/sh0.08/e35/s640x640/144720027_168751318056268_4075857430604699928_n.jpg?_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=104&_nc_ohc=wRW4JPKW0ckAX-VnP6K&tp=1&oh=070290e33128857be12c9cd2b49198c0&oe=604310C3‘, ‘link’ ⇒ ‘https://instagram.com/p/CKuKgcwM9DE‘, ‘comments’ ⇒ array(’count’ ⇒ 0), ‘likes’ ⇒ array(’count’ ⇒ 36)), array(’width’ ⇒ 640, ‘height’ ⇒ 640, ‘img’ ⇒ ‘https://scontent-atl3-1.cdninstagram.com/v/t51.2885-15/sh0.08/e35/s640x640/145106373_148824547051043_6583504875485378315_n.jpg?_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=111&_nc_ohc=1an5u3rJEuUAX9fqOxu&tp=1&oh=efb3099b8edb08cbdb9f82a32fd3f463&oe=6042D731‘, ‘link’ ⇒ ‘https://instagram.com/p/CKrUEr6AoZ7‘, ‘comments’ ⇒ array(’count’ ⇒ 0), ‘likes’ ⇒ array(’count’ ⇒ 32)), array(’width’ ⇒ 640, ‘height’ ⇒ 640, ‘img’ ⇒ ‘https://scontent-atl3-1.cdninstagram.com/v/t51.2885-15/sh0.08/e35/s640x640/144075994_4255670457793800_7126841932021277422_n.jpg?_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=100&_nc_ohc=X8Mv5IkbHIcAX-aSM4R&tp=1&oh=14591b12edff77feb1638cf6a748f1b1&oe=604326DB‘, ‘link’ ⇒ ‘https://instagram.com/p/CKoxuGIMLZI‘, ‘comments’ ⇒ array(’count’ ⇒ 8), ‘likes’ ⇒ array(’count’ ⇒ 62)), array(’width’ ⇒ 640, ‘height’ ⇒ 640, ‘img’ ⇒ ‘https://scontent-atl3-1.cdninstagram.com/v/t51.2885-15/sh0.08/e35/s640x640/143623537_1081439425691703_3482123859864519148_n.jpg?_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=103&_nc_ohc=Q4MOZROIRDQAX-IkBS7&tp=1&oh=30c4bb986c645aec12f445596d673efc&oe=6043212F‘, ‘link’ ⇒ ‘https://instagram.com/p/CKmKoJAMeZQ‘, ‘comments’ ⇒ array(’count’ ⇒ 0), ‘likes’ ⇒ array(’count’ ⇒ 40)), array(’width’ ⇒ 640, ‘height’ ⇒ 640, ‘img’ ⇒ ‘https://scontent-atl3-1.cdninstagram.com/v/t51.2885-15/sh0.08/e35/s640x640/142417531_324825035529395_6711460866585282010_n.jpg?_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=111&_nc_ohc=TSz8urNSuFQAX9KVCd9&tp=1&oh=c6dc5a717e0ef5275a2ea3c9f55fee48&oe=60452931‘, ‘link’ ⇒ ‘https://instagram.com/p/CKjp9qtsFUR‘, ‘comments’ ⇒ array(’count’ ⇒ 0), ‘likes’ ⇒ array(’count’ ⇒ 32)), array(’width’ ⇒ 640, ‘height’ ⇒ 640, ‘img’ ⇒ ‘https://scontent-atl3-1.cdninstagram.com/v/t51.2885-15/sh0.08/e35/s640x640/142469037_2913417835597477_8693378857565157613_n.jpg?_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=101&_nc_ohc=1_qlXuV6dcgAX-ai0So&tp=1&oh=e95bb8a43ce7d8efe446bfdd26959f53&oe=60453442‘, ‘link’ ⇒ ‘https://instagram.com/p/CKhFMSxA0tc‘, ‘comments’ ⇒ array(’count’ ⇒ 0), ‘likes’ ⇒ array(’count’ ⇒ 30)), array(’width’ ⇒ 640, ‘height’ ⇒ 640, ‘img’ ⇒ ‘https://scontent-atl3-1.cdninstagram.com/v/t51.2885-15/sh0.08/e35/s640x640/142746627_141780917673842_1092594077500638361_n.jpg?_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=102&_nc_ohc=6EAOpyG1fm8AX8IMNtI&tp=1&oh=10d85254497beb68d6a369fa0d4881a2&oe=6044A70E‘, ‘link’ ⇒ ‘https://instagram.com/p/CKekRXVsOUL‘, ‘comments’ ⇒ array(’count’ ⇒ 2), ‘likes’ ⇒ array(’count’ ⇒ 34)), array(’width’ ⇒ 640, ‘height’ ⇒ 640, ‘img’ ⇒ ‘https://scontent-atl3-1.cdninstagram.com/v/t51.2885-15/sh0.08/e35/s640x640/142538536_466527357840040_7676422248971936578_n.jpg?_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=104&_nc_ohc=rqxOfAZUepQAX_a-F33&tp=1&oh=4d4d2c977079d49ce8435b11c3a42c70&oe=6042BD04‘, ‘link’ ⇒ ‘https://instagram.com/p/CKcksbPsHkn‘, ‘comments’ ⇒ array(’count’ ⇒ 0), ‘likes’ ⇒ array(’count’ ⇒ 30)), array(’width’ ⇒ 640, ‘height’ ⇒ 640, ‘img’ ⇒ ‘https://scontent-atl3-1.cdninstagram.com/v/t51.2885-15/sh0.08/e35/s640x640/141065397_112871987391852_2908220055941215026_n.jpg?_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=100&_nc_ohc=GuI5inz18ykAX-chh2-&tp=1&oh=0b882af34f5e390b8880bedf2173ef68&oe=6042D709‘, ‘link’ ⇒ ‘https://instagram.com/p/CKZlQY1gDov‘, ‘comments’ ⇒ array(’count’ ⇒ 0), ‘likes’ ⇒ array(’count’ ⇒ 46)), array(’width’ ⇒ 640, ‘height’ ⇒ 640, ‘img’ ⇒ ‘https://scontent-atl3-1.cdninstagram.com/v/t51.2885-15/sh0.08/e35/s640x640/141410832_114262827255862_8330104386090207924_n.jpg?_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=110&_nc_ohc=0pFKxBDt8GQAX-BUNDZ&tp=1&oh=bd6759a811c15b836d8497735e7c63d0&oe=6042CC4C‘, ‘link’ ⇒ ‘https://instagram.com/p/CKXSwh4gGXy‘, ‘comments’ ⇒ array(’count’ ⇒ 0), ‘likes’ ⇒ array(’count’ ⇒ 20)), array(’width’ ⇒ 640, ‘height’ ⇒ 640, ‘img’ ⇒ ‘https://scontent-atl3-1.cdninstagram.com/v/t51.2885-15/sh0.08/e35/s640x640/140384484_119140546739612_7538369496722335925_n.jpg?_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=108&_nc_ohc=sMt2uuUlFKAAX91xF0l&tp=1&oh=03958961ce774aa171057b08edc9658a&oe=60433362‘, ‘link’ ⇒ ‘https://instagram.com/p/CKU5laBAtXu‘, ‘comments’ ⇒ array(’count’ ⇒ 0), ‘likes’ ⇒ array(’count’ ⇒ 27))), ‘id_lang’ ⇒ 1))
in pspagebuilder.php line 497

Comments

Fred 05 Feb 2021, 11:02

Hi, juan cantu.
Where I can see the issue? You mobile page https://senties.mx/mobile works fine for me

juan cantu 05 Feb 2021, 19:45

as i said in the message the testing site its https://pruebassenties.com/mobile its an exact copy of senties.mx but when the migration was made and the httacces file was made with the new URI that error came out

Fred 06 Feb 2021, 10:47

Ok, I see.
Go to Page builder layout and remove Instagram widget

juan cantu 08 Feb 2021, 21:55

But then i wont be able to use instagram widget?

Fred 09 Feb 2021, 11:07

Please update credentials in your profile https://support.promokit.eu/index.php?do=myprofile I’ll update Instagram module for you

juan cantu 24 Feb 2021, 22:26

they are updated now :)

Fred 25 Feb 2021, 00:10

I have updated Instagram module, now you need to do the following
- reset Instagram module
- configure Instagram module
- clear prestashop cache