Error after activate

This solution works for me but it yields another error in admin panel:

Warning: Cannot modify header information - headers already sent by (output started at /home/spiekikwarc/ftp/2016/wp-content/themes/shapely/inc/widgets/widget-home-clients.php:1) in /home/spiekikwarc/ftp/2016/wp-includes/option.php on line 823

Warning: Cannot modify header information - headers already sent by (output started at /home/spiekikwarc/ftp/2016/wp-content/themes/shapely/inc/widgets/widget-home-clients.php:1) in /home/spiekikwarc/ftp/2016/wp-includes/option.php on line 824

Any ideas how to deal with it?
Theme worked like charm on localhost, problems occured after migration to server&updating wordpress to 4.5 (?)

Hi no1dea

That might be my fault, at the start of the code I see ".

Try removing that, or replace the file widget-home-clients.php, with the following file. Let my know if this fixes the issue.

https://drive.google.com/file/d/0Bw-QmtXy1a1QSlFjRkRFX25taGM/view?usp=sharing

Hi no1dea

I just renamed the file.

https://drive.google.com/file/d/0Bw-QmtXy1a1QN3hlT3I5aFM3TXc/view?usp=sharing

@gburdett @no1dea

It’s the issue that occurs due to old PHP version so to resolve it you can either try updating the PHP version to the latest PHP version or use the custom solution posted in the following reply.

https://colorlibsupport.com/t/error-after-activate/page/2/#post-51377

This forum is not letting me download the altered widget-home-clients.php file… says I do not have permission to download?

kermur

@kermur

If you can’t download the file then change the code of your theme file with the modified code shared in the following reply of this thread.

https://colorlibsupport.com/t/error-after-activate/page/2/#post-51377

“It’s the issue that occurs due to old PHP version so to resolve it you can either try updating the PHP version to the latest PHP version.”

How?

@sylsha,

“It’s the issue that occurs due to old PHP version so to resolve it you can either try updating the PHP version to the latest PHP version.”

How?

You can update PHP version on your web hosting server by following the instructions provided on the web host site as described on the following pages or you can contact your web host to update it.

https://my.bluehost.com/cgi/help/447
http://support.hostgator.com/articles/hosting-guide/hardware-software/what-version-of-php-are-you-using

Hello gcneal. I’m having the same issue. My host’s PHP version is 5.4 and they don’t plan to upgrade anytime soon :frowning:

I tried to download the attached file of the updated widget-home-clients.php but it’s secured by sucuri. Is there another way to download it to try this solution?

Thanks for your help.

Samantha

Hi samantha

Can you download the file from the post/link above (#post-51645, relinked below).

https://drive.google.com/file/d/0Bw-QmtXy1a1QN3hlT3I5aFM3TXc/view?usp=sharing

Load the page, then click the download button (top centre).

Hope this helps.

If anybody can’t download the shared file then please try downloading it from this reply.

I’m trying to download the attachment to fix the shapely install, can somebody tell me why I keep getting a firewall error? Or can somebody just post the code for the widget to eliminate the error?

“Parse error: syntax error, unexpected ‘[’ in /home/patri113/public_html/AP/wp-content/themes/shapely/inc/widgets/widget-home-clients.php on line 65”

Try downloading the file from this URL https://colorlib.com/wp/wp-content/uploads/sites/2/widget-home-clients-1.zip or download the latest version of shapely theme from the following page and use it in which the issue is fixed.

Oi, instalei o tema shapely e depois disso não consegui mais acessar meu site. Ele apresenta a mensagem:
Parse error: syntax error, unexpected ‘[’ in /home/xxxxx/public_html/wp-content/themes/shapely/inc/widgets/widget-home-clients.php on line 65

Já apaguei e instalei o tema de novo, mas o erro persiste.

Por favor, preciso de ajuda, pois não entendo muito de linguagem php e estou precisando colocar meu site online. Meu trabalho depende disso!

@crisglaudma To help us keep support thread separates could you please create your own thread for your question here https://colorlibsupport.com/c/shapely/ instead of replying on others thread as it makes the thread messy and hard to read.

If you want to you can also add reference of this thread in your newly created thread.

We would be more than happy to help you on your new thread.

Also it’s English forum and most of the members including me here only understand English language so it would be better if you post on the forum in English.

If you don’t know English then you can translate your Portuguese statements in English using the following Google translator and then add here the translated English text.

https://translate.google.co.in/