Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected 'list' (T_LIST) #23

Open
matteo-greco opened this issue Nov 17, 2018 · 0 comments
Open

Unexpected 'list' (T_LIST) #23

matteo-greco opened this issue Nov 17, 2018 · 0 comments

Comments

@matteo-greco
Copy link

Hi. I cloned the repo to test a few functionality (the ability to edit User profiles in particular, which can't be done with the wordpress.org version) and I ran into this error while trying to add a container:

Parse error: syntax error, unexpected 'list' (T_LIST), expecting identifier (T_STRING) in /wp-content/plugins/ultimate-fields/core/classes/Helper/Missing_Features.php on line 139

I dug around and found that you created a function named "list", which is a PHP reserved word. Renaming that to something else (and /wp-content/plugins/ultimate-fields/core/classes/Helper/Missing_Features.php lines 80 and 85, where you make the calls) seems to solve it - even though I ran into more PHP errors later.

Is this plugin being actively developed and maintained?

focus-at added a commit to focus-at/ultimate-fields that referenced this issue Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant