Home>Support>Focus: Function return value error in page-full-no-title.php template

Focus: Function return value error in page-full-no-title.php template

By dmmilne, 7 years ago. Last reply by Alex S, 7 years ago.

Hi,

This is showing up when selecting the ‘Full width – no title’ in dropdown template option under Page Attributes

Fatal error: Can’t use function return value in write context in /home/content/s01_data01/62/3602862/html/wp-content/themes/focus-child/page-full-no-title.php on line 19

Copied original page-full-no-title.php file, no change. Tried parent version, no change.

Here is the code for line 19: if ( isset( $page_header ) && $page_header && !empty( get_post_meta( get_the_ID(), ‘panels_data’, true ) ) ) {

All plugins have been deactivated except for SiteOrigin ones.

Any help fixing the code would be great.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 11 months ago Alex S
    Hi, I Work Here

    Hi Dmmilne,

    Thanks for letting us know about this. This is actually a bug present on websites using older versions of PHP. Expect an update that will resolve this shortly. Very sorry about this.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More