• Hi!

    Ever since I transferred my site on the server from my computer, I have an odd error message displaying when I want to save changes.

    Changes are still saves but I have to hit the back button and don’t understand what the message means.

    Anyone around to help?

    Thank you!!

    /* THIS IS THE SITE */

    /* error message below */
    Warning: SimpleXMLElement::addChild() expects parameter 2 to be string, array given in /homepages/17/d654898628/htdocs/wp-content/themes/lawyer-theme/include/theme-components/cs-posttypes/pt_practice.php on line 241

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/17/d654898628/htdocs/wp-content/themes/lawyer-theme/include/theme-components/cs-posttypes/pt_practice.php:241) in /homepages/17/d654898628/htdocs/wp-admin/post.php on line 197

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/17/d654898628/htdocs/wp-content/themes/lawyer-theme/include/theme-components/cs-posttypes/pt_practice.php:241) in /homepages/17/d654898628/htdocs/wp-includes/pluggable.php on line 1174

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator t-p

    (@t-p)

    Your “lawyer-theme” seems to be the error.

    To confirm, try switching to the unedited default Theme (Twenty Sixteen) for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins). If you don’t have access to your admin area, use FTP , or your web-host’s cPanel or whatever file management application your host provides (no Dashboard access required). Navigate to /wp-content/themes/ and switch to the default theme by renaming your current theme’s folder by adding “-old” to the end of the folder name. Alternately, you can remove other themes except the default theme. That will force your site to use it.

    Thread Starter paulinelephew

    (@paulinelephew)

    Thanks for your reply but I’m not sure I understand everything:
    – install twenty-sixteen
    – activate twenty-sixteen

    ==> done

    Then what?

    Thank you!

    Moderator t-p

    (@t-p)

    Can you replicate the problem switching to the default Theme (Twenty Sixteen)?

    Thread Starter paulinelephew

    (@paulinelephew)

    no because I’m trying to modify something that doesn’t exist in the other theme :/
    It’s practices, that is to say a type of pages proper to the theme that then sync together and show exerpt in homepage

    Should I re upload the theme?

    Thanks for your help

    Moderator t-p

    (@t-p)

    Where did you download this “lawyer-theme” from?

    Thread Starter paulinelephew

    (@paulinelephew)

    themeforest, paid $44 for it!

    Moderator t-p

    (@t-p)

    Since that is a commercial theme or plugin, we ask that you please go to their official support channel, so you can get support from the people who know it best.

    Themeforest: https://themeforest.net/

    Forum volunteers are also not given access to commercial products, so they would not know why it is not working properly. Other community members who may have faced your issue might be able to help you but your best bet is your product’s developer. Keep in mind we encourage you to use the official support venues, as it allows the developers to be aware of issues with their code and gives back to the community in a more robust way.

    Thread Starter paulinelephew

    (@paulinelephew)

    I know but the support SUCKS!!! They are horrible and last time I gave them access to my back office they deleted half of my website. And they barely speak english. Thanks for your help anyway!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Error message while saving changes’ is closed to new replies.