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

500 error enabling Islandora Webform Embargo #54

Open
bondjimbond opened this issue Apr 8, 2020 · 2 comments
Open

500 error enabling Islandora Webform Embargo #54

bondjimbond opened this issue Apr 8, 2020 · 2 comments

Comments

@bondjimbond
Copy link

Trying to enable Islandora Webform Embargo, I get a 500 error. Apache logs show:

[Wed Apr 08 14:27:53.221241 2020] [:error] [pid 6007] [client 10.0.2.2:54695] PHP Parse error: syntax error, unexpected '?' in /var/www/drupal/sites/all/modules/islandora_webform/submodules/islandora_webform_embargo/islandora_webform_embargo.module on line 25, referer: http://localhost:8000/admin/modules

Problem code is here: https://github.com/Islandora-Collaboration-Group/islandora_webform/blob/7.x/submodules/islandora_webform_embargo/islandora_webform_embargo.module#L25

@noahwsmith
Copy link
Member

Looks like a PHP 7 function. @emudojo will look into a patch for old PHPs.

@noahwsmith
Copy link
Member

@bondjimbond patch: #56

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

2 participants