- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 23.07.23, 17:48
- Opened by: Mariano Scalcon
- Closed by: Anonymous Submitter
- Closed on:
- Reason: Not a bug
Ticket #24851 - Error on preview saved templates
I have many error on the preview of some saved templates, for example:
Warning: Undefined array key “pkconfig” in /web/htdocs/www.fallomio.com/home/var/cache/dev/smarty/compile/alysumchild/07/61/b6/0761b66ec4af0720449eafd3ba0f26d9baef3ce0_2.module.pkelementsviewstemplatespkminiatureimage.tpl.php on line 25
or:
Fatal error: Uncaught Error: Cannot use object of type Language as array in /web/htdocs/www.fallomio.com/home/var/cache/dev/smarty/compile/alysumchildlayouts_layout_full_width_tpl/49/87
But I can edit the templates without problems.
Comments
Hi, Mariano Scalcon.
Have you customized theme files? I’m asking because we never had such error before.
Yes, I export the delight theme’s files and import with other name, to keep the original theme files for future purposes.
The home’s template works and also the footer’s template works.
If I remove the “language header” component in the header’s template, the error doesnt’t appear.
I have the error on preview of the “product-miniature”, but I don’t customized it,
and It works on site, the error just appears in preview mode.
I have no problem to edit all template files.
Please fill out all necessary fields in your profile https://support.promokit.eu/myprofile to access to your Back-office and FTP Server to let me check out what’s wrong
okay,
the remore folder for FTP is: /www.fallomio.com
Ok, I have access now, but I don’t see any problems here https://www.fallomio.com/en/, Could you please give me direct link to a page with the issue?
The problems are on preview of the “Saved templates” (Creative elements).
For example, the preview of “fallomio header” (preview_id=55010000) or “product miniature” (preview_id=50010000)
Attachments:
ok, I see, but when you select that template for product miniature, your front office works fine with no errors?
Yes the front end works but I started creating this site a few days ago and I don’t want to have errors in the future.
I’d like to understand if there’s a bug in the template preview or if it’s just a problem with my site.
ok, that’s good there is no errors in the front page. We are trying to figure out what’s wrong in preview mode