# Error on Installation of required Shapely widgets

**URL:** <https://colorlibsupport.com/t/error-on-installation-of-required-shapely-widgets/15728>\
**Category:** Shapely\
**Created:** [April 20, 2017, 6:40pm UTC](https://colorlibsupport.com/t/error-on-installation-of-required-shapely-widgets/15728 "2017-04-20T18:40:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cvc505](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/c/8491ac/32.png) [@cvc505](https://colorlibsupport.com/u/cvc505)\
**Post date:** [April 20, 2017, 6:40pm UTC](https://colorlibsupport.com/t/error-on-installation-of-required-shapely-widgets/15728/1 "2017-04-20T18:40:44Z")

</div>

I just tried to install the required shapely widgets and I get the following error:

Parse error: syntax error, unexpected ‘[’ in /home/gtwth/public\_html/wp-content/plugins/shapely-companion/inc/widgets/widget-home-clients.php on line 84

Is there a fix for this?

---

<div class="post-metadata">

**Author:** ![mikesupport17](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/m/bc8723/32.png) [@mikesupport17](https://colorlibsupport.com/u/mikesupport17)\
**Post date:** [April 20, 2017, 11:00pm UTC](https://colorlibsupport.com/t/error-on-installation-of-required-shapely-widgets/15728/2 "2017-04-20T23:00:58Z")

</div>

Hey there,  
Hope you’re doing well today

I’m seeing this error for the third time and I’ve been trying to replicate and diagnose the error.

To regain access to your site, you’ll need to log into your site’s FTP and go to wp-content/plugins/ and remove the shapely companion plugin.

Now, in a step to resolve the issue, What version of PHP are you running on your server? If you’re using lower than PHP 5.6 then you’ll need to update that. That’s the closest I am to a resolution of the issue currently.

Please let me know how that goes.

Best Regards,  
Support

---

<div class="post-metadata">

**Author:** ![cvc505](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/c/8491ac/32.png) [@cvc505](https://colorlibsupport.com/u/cvc505)\
**Post date:** [April 21, 2017, 9:25pm UTC](https://colorlibsupport.com/t/error-on-installation-of-required-shapely-widgets/15728/3 "2017-04-21T21:25:47Z")

</div>

I am currently running PHP 5.6 with just the default options set. I just updated to that version of php and ran the importer for the shapely-demo.xml file. I no longer get the errorr:  
Parse error: syntax error, unexpected ‘[‘ in /home/gtwth/public\_html/wp-content/plugins/shapely-companion/inc/widgets/widget-home-clients.php on line 84

But no I am getting the following errors:  
Failed to import “Project #1”: Invalid post type jetpack-portfolio  
Failed to import “Another Project”: Invalid post type jetpack-portfolio  
Failed to import “Lorem ipsum dolor sit amet”: Invalid post type jetpack-portfolio  
Failed to import “Nulla ut sapien”: Invalid post type jetpack-portfolio  
Failed to import “Maecenas vestibulum”: Invalid post type jetpack-portfolio  
\*\*  
\*  
\*  
Failed to import “Project #5”: Invalid post type jetpack-portfolio  
Failed to import “Project #6”: Invalid post type jetpack-portfolio  
Failed to import “Project #7”: Invalid post type jetpack-portfolio  
Failed to import “Project #8”: Invalid post type jetpack-portfolio  
Failed to import “Project #9”: Invalid post type jetpack-portfolio  
Failed to import “Project #10”: Invalid post type jetpack-portfolio  
Failed to import “Project #11”: Invalid post type jetpack-portfolio  
Failed to import “Project #12”: Invalid post type jetpack-portfolio  
Failed to import “Project #12”: Invalid post type jetpack-portfolio  
Failed to import “Project #13”: Invalid post type jetpack-portfolio  
Failed to import “Project #14”: Invalid post type jetpack-portfolio  
Failed to import “Project #15”: Invalid post type jetpack-portfolio  
Failed to import “Aigars Silkalns”: Invalid post type jetpack-testimonial  
Failed to import “John Doe”: Invalid post type jetpack-testimonial

---

<div class="post-metadata">

**Author:** ![mikesupport17](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/m/bc8723/32.png) [@mikesupport17](https://colorlibsupport.com/u/mikesupport17)\
**Post date:** [April 21, 2017, 11:50pm UTC](https://colorlibsupport.com/t/error-on-installation-of-required-shapely-widgets/15728/4 "2017-04-21T23:50:43Z")

</div>

Hey there,  
Hope you’re doing well today

Do you have the JetPack plugin installed and activated?  
If you don’t have it installed then you will get that error since WordPress doesn’t recognize the JetPack post type without having the plugin enabled.

I hope this helps 🙂

Best Regards,  
Support
