uncaught error when importing template
-
Hi,
I’m getting this error each time i try to import a starter template whether logged in to my Templately account or not.PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /home/myusrname/public_html/wp-content/plugins/templately/includes/Core/Platform/Elementor.php:290
Ive imported some without problems but it just seems to be a few templates within the same Pack.
any ideas??
-
Hi @trutherone ,
Sorry to hear that you’re facing an issue while importing some templates from Templately.
May I know which template you were trying to import and getting this error? That would be awesome if you provide me the Template name or Pack name. This will help us to reproduce the issue on our end.
I’m looking forward to hearing from you.
Thank you!Yes just the 3 from the same pack:
Pack: EleHealth Website Template * EleHealth Website Template Header * EleHealth Website Template Footer * EleHealth Website Template Header Section
Thanks
Hi @trutherone ,
I’ve tried these templates on my setup and didn’t find the issue that you’ve mentioned.
However since the Fatal Error throws from Templately plugin end, it should not happen and I’ve just forwarded to the dev team to investigate this. I will keep you updated with this.
In the meantime, can you please provide us your Site Health Information from Dashboard > Tools > Site Health > Info > Copy site info to clipboard: https://d.pr/i/KDbAny
And simply just paste it here. This will help us to understand your environment where you getting this issue.
Thank you!
Hi,
Also note that ‘My Cloud’ menu link displays the ‘No Item’ image yet I’ve been logging in using this for a few days now. Now its not showing. However, i can log into ‘my cloud’ when i go to the Templately website and login directly.Here’s my site Health:
### wp-core ### version: 6.1.1 site_language: en_GB user_language: en_GB timezone: +00:00 permalink: /%postname%/ https_status: true multisite: false user_registration: 0 blog_public: 1 default_comment_status: open environment_type: production user_count: -1 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /home/xxxxxxxx/public_html wordpress_size: 527.10 MB (552707526 bytes) uploads_path: /home/xxxxxxxx/public_html/wp-content/uploads uploads_size: 49.66 MB (52075694 bytes) themes_path: /home/xxxxxxxx/public_html/wp-content/themes themes_size: 2.86 MB (3001740 bytes) plugins_path: /home/xxxxxxxx/public_html/wp-content/plugins plugins_size: 134.81 MB (141362849 bytes) database_size: 15.34 MB (16089088 bytes) total_size: 729.79 MB (765236897 bytes) ### wp-dropins (1) ### object-cache.php: true ### wp-active-theme ### name: xxxx xxxxx Child (xxxxxxxxx-child) version: 1.0 author: xxxx xxxxxxxx author_website: https://xxxx.xxx parent_theme: xxxx xxxxx Official Theme (xxxxxxxxx) theme_features: core-block-patterns, widgets-block-editor, title-tag, post-thumbnails, automatic-feed-links, html5, custom-logo, widgets, menus theme_path: /home/xxxxxxxx/public_html/wp-content/themes/xxxxxxxxx-child auto_update: Disabled ### wp-parent-theme ### name: xxxx xxxxx Official Theme (xxxxxxxxx) version: 1.0.5 author: xxxx xxxxxxxx author_website: https://xxxx.xxx theme_path: /home/xxxxxxxx/public_html/wp-content/themes/xxxxxxxxx auto_update: Disabled ### wp-themes-inactive (1) ### Twenty Twenty-Three: version: 1.0, author: the WordPress team, Auto-updates disabled ### wp-plugins-active (28) ### Advanced Custom Fields: version: 6.0.5, author: WP Engine, Auto-updates disabled Advanced Custom Fields: Table Field: version: 1.3.17, author: Johann Heyne, Auto-updates disabled Archives Calendar Widget: version: 1.0.14, author: Aleksei Polechin (alek′), Auto-updates disabled Branda: version: 3.4.8.1, author: WPMU DEV, Auto-updates disabled Classic Editor: version: 1.6.2, author: WordPress Contributors, Auto-updates disabled Classic Widgets: version: 0.3, author: WordPress Contributors, Auto-updates disabled Contact Form 7: version: 5.6.4, author: Takayuki Miyoshi, Auto-updates disabled CookieYes | GDPR Cookie Consent: version: 3.0.5, author: CookieYes, Auto-updates disabled Custom Sidebars: version: 3.35, author: WebFactory Ltd, Auto-updates disabled Defender: version: 3.4.1, author: WPMU DEV, Auto-updates disabled Duplicate Post Page Menu & Custom Post Type: version: 2.2.0, author: Inqsys Technology, Auto-updates disabled Elementor: version: 3.8.1, author: Elementor.com, Auto-updates disabled Elementor Addons by WPZOOM: version: 1.1.20, author: WPZOOM, Auto-updates disabled Elementor Header & Footer Builder: version: 1.6.13, author: Brainstorm Force, Nikhil Chavan, Auto-updates disabled Enable Media Replace: version: 4.0.1, author: ShortPixel, Auto-updates disabled Envato Market: version: 2.0.7, author: Envato, Auto-updates disabled Essential Addons for Elementor: version: 5.4.4, author: WPDeveloper, Auto-updates disabled Fluent Forms: version: 4.3.22, author: Contact Form - WPManageNinja LLC, Auto-updates disabled Fonts Plugin | Google Fonts Typography: version: 3.2.5, author: Fonts Plugin, Auto-updates disabled LiteSpeed Cache: version: 5.3, author: LiteSpeed Technologies, Auto-updates disabled Plugins Garbage Collector (Database Cleanup) Old!: version: 0.14, author: Vladimir Garagulya, Auto-updates disabled Regenerate Thumbnails: version: 3.1.5, author: Alex Mills (Viper007Bond), Auto-updates disabled SAR Friendly SMTP: version: 1.2.6, author: Samuel Aguilera, Auto-updates disabled Scroll To Top: version: 1.5, author: Ga Satrya, Auto-updates disabled Sidebar Manager: version: 1.1.7, author: Brainstorm Force, Auto-updates disabled Simple Page Ordering: version: 2.4.3, author: Jake Goldman, 10up, Auto-updates disabled Smush: version: 3.12.4, author: WPMU DEV, Auto-updates disabled Templately: version: 2.0.4, author: Templately, Auto-updates disabled ### wp-media ### image_editor: WP_Image_Editor_Imagick imagick_module_version: 1808 imagemagick_version: ImageMagick 7.1.0-2 Q16 x86_64 2021-06-25 https://imagemagick.org imagick_version: 3.7.0 file_uploads: File uploads is turned off post_max_size: 1024M upload_max_filesize: 1024M max_effective_size: 1 GB max_file_uploads: 20 imagick_limits: imagick::RESOURCETYPE_AREA: 157 GB imagick::RESOURCETYPE_DISK: 9.2233720368548E+18 imagick::RESOURCETYPE_FILE: 37500 imagick::RESOURCETYPE_MAP: 157 GB imagick::RESOURCETYPE_MEMORY: 79 GB imagick::RESOURCETYPE_THREAD: 1 imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, ASHLAR, AVI, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUBE, CUR, CUT, DATA, DCM, DCR, DCRAW, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FARBFELD, FAX, FF, FILE, FITS, FL32, FLV, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, KERNEL, LABEL, M2V, M4V, MAC, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORA, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PHM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGB565, RGBA, RGBO, RGF, RLA, RLE, RMF, RSVG, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TM2, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YAML, YCbCr, YCbCrA, YUV gd_version: 2.3.3 gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM ghostscript_version: 8.70 ### wp-server ### server_architecture: Linux 2.6.32-954.3.5.lve1.4.89.el6.x86_64 x86_64 httpd_software: LiteSpeed php_version: 7.4.33 64bit php_sapi: litespeed max_input_variables: 2000 time_limit: 1500 memory_limit: 1024M max_input_time: 1500 upload_max_filesize: 1024M php_post_max_size: 1024M curl_version: 7.71.0 OpenSSL/1.1.1p suhosin: false imagick_availability: true pretty_permalinks: true htaccess_extra_rules: true ### wp-database ### extension: mysqli server_version: 10.3.36-MariaDB-cll-lve client_version: mysqlnd 7.4.33 max_allowed_packet: 268435456 max_connections: 151 ### wp-constants ### WP_HOME: https://xxxx.xxx WP_SITEURL: https://xxxx.xxx WP_CONTENT_DIR: /home/xxxxxxxx/public_html/wp-content WP_PLUGIN_DIR: /home/xxxxxxxx/public_html/wp-content/plugins WP_MEMORY_LIMIT: 40M WP_MAX_MEMORY_LIMIT: 1024M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: true CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_ENVIRONMENT_TYPE: Undefined DB_CHARSET: utf8mb4 DB_COLLATE: undefined ### wp-filesystem ### wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable
Hi @trutherone ,
We’re still unable to reproduce this issue on our end with the similar environment that you’ve shared ??
Also, the My Cloud issue that you’ve mentioned is strange. It’s really hard to say the possible issue without knowing the account details of Templately. As per WordPress Org rules, let’s not share it here.
Can you please contact our support channel from here: https://wpdeveloper.com/support/new-ticket/
(Just put this thread URL in the Message area and we will catch it)We will reach back to you and assist you both Uncaught Error and My Cloud issue don’t worry.
Thank you!
When i use the import/download button on another page it tells me i can’t import header templates unless I’m using Elementor Pro; which i am not. This, then is the problem. You should make it clear somewhere in the Templately plugin interface that this is the case.
Hi @trutherone ,
You’re correct! Our dev team already identified the issue and fixed this in one of the dev branches. You can download and replace Templately from here to resolve the Fatal Error issue: https://d.pr/f/3m2YCu
We’re planning to release this version as soon as possible.
Regarding importing the Header and Footer template without Elementor Pro, you can just create a page and then import those templates on that page separately like this video: https://d.pr/v/OOyqMT
If you follow my procedure, you can’t set the condition to populate the header all around your website though. You need to import it on every page.
However, I can give you another idea. From your Site Health, I can see that you’re using Elementor Header & Footer Builder plugin. So all you can do is, after importing the header template on your page, you can copy the whole section and then paste that on that plugin and set conditions from there. This will also solve your purpose I believe.
Cheers!
- The topic ‘uncaught error when importing template’ is closed to new replies.