Home Forums Free WordPress Themes Help Soma Theme Help Fatal error: Can't use function return value in write context

This topic contains 1 reply, has 1 voice, and was last updated by  Spiracle Themes 5 months, 2 weeks ago.

  • Author
    Posts
  • #1357 Reply

    Leslie Paton

    I am currently using Somalite non-Pro version with a child theme, and trying to upgrade to Soma Pro. I uploaded the Pro version zip file and next tried to upload the Child theme zip file. I received this message:

    Installing Theme from uploaded file: somapro-child.zip

    Unpacking the package…

    Installing the theme…

    This theme requires a parent theme. Checking if it is installed…

    The parent theme, Somapro 1.2.0, is currently installed.

    Theme installed successfully.

    But when I hit “Activate” for the child theme I got:

    Fatal error: Can’t use function return value in write context in /home1/parkerpaton/cogentsupport.com/wp-content/themes/somapro/inc/header-functions.php on line 46

    Should I uninstall the child theme and create one manually?

  • #1359 Reply

    Spiracle Themes

    Hi Leslie,

    Its a PHP version error. PHP version should be at least 5.5 or greater. Please check your email. We have also mailed you regarding the same

    Best Regards

Reply To: Fatal error: Can't use function return value in write context
Your information: