• I am new to coding…

    I keep getting this error, yet cannot find the issue within the first few lines of the code. Can someone please help?

    Parse error: syntax error, unexpected ‘.’ in /home/content/p3pnexwpnas07_data01/30/2522230/html/wp-content/themes/SimpleShop/functions.php on line 8

    <?php
    
    // include Advanced Custom Fields Plugin
    //define( 'ACF_LITE' , TRUE );
    require_once 'inc/acf/acf.php';
    include_once('inc/acf-repeater/acf-repeater.php');
    include_once('inc/acf-flexible-content/acf-flexible-content.php');
    
    if(function_exists("register_field_group"))
    {
    	register_field_group(array (
    		'id' => 'acf_home',
    		'title' => 'Home',
    		'fields' => array (
    			array (

    Can anyone see the issue?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Is this a new installation or was it working before? Other than the error, what is the site not doing?

    Do you have an up to date Advanced Custom Fields Plugin installed? Simpleshop was updated 4/26 are you using an up to date version of the theme?

    If you answered yes to the last two questions, use another theme as a test. If you don’t have an extra theme, add twenty fifteen. The site will probably look funky – missing menus, images etc. This is just to test to determine of the error goes away.

    what theme are you using?

    is the pasted code from functions.php of your theme?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘please please help!! Can anyone spot the issue?’ is closed to new replies.