Comments eyupguzel started the conversationJanuary 15, 2018 at 11:40amGives error message for installation. Message (Fatal error: Can't use function return value in write context in /home/abundanc/public_html/wp-content/themes/bakery/functions.php on line 132) 228Milingona repliedJanuary 15, 2018 at 12:51pmThat is because of your PHP version of your site. You should change it to v5.6 or later version.If you cannot change that you need to make the following changes in order to fix the issue.1. Replace line 132 of bakery/functions.php file with the code below: $color_overlay = ( !empty($bakery_page_header_settings['color-overlay']) ) ? $bakery_page_header_settings['color-overlay'] : ( (trim(bakery_get_option('page-header-color-overlay') != '') ) ? 'rgba('. bakery_hex2rgb( bakery_get_option('page-header-color-overlay'), true ) .','. bakery_get_option('page-header-color-overlay-opacity') .')' : '' ); 2. Replace line 225 of bakery/includes/action.php file with the code below: if ( bakery_get_option('footer-type') == 'page' and trim( bakery_get_option('footer-page') ) != '' ) { 3. Replace line 24 of bakery/footer.php file with the code below: <?php elseif ( bakery_get_option('footer-type') == 'page' and trim( bakery_get_option('footer-page') ) != '' ) : ?> Kind regards, Milingona Support Follow on Envato Facebook Twitter Sign in to reply ...
Gives error message for installation. Message (Fatal error: Can't use function return value in write context in /home/abundanc/public_html/wp-content/themes/bakery/functions.php on line 132)
That is because of your PHP version of your site. You should change it to v5.6 or later version.
If you cannot change that you need to make the following changes in order to fix the issue.
1. Replace line 132 of bakery/functions.php file with the code below:
2. Replace line 225 of bakery/includes/action.php file with the code below:
3. Replace line 24 of bakery/footer.php file with the code below:
Kind regards,
Milingona Support
Follow on Envato Facebook Twitter