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

PHP Parse error for folder path in Advanced mode #15

Open
mattmattox opened this issue Jun 20, 2021 · 0 comments
Open

PHP Parse error for folder path in Advanced mode #15

mattmattox opened this issue Jun 20, 2021 · 0 comments

Comments

@mattmattox
Copy link

Error message:

[Sun Jun 20 06:52:00.213229 2021] [php7:error] [pid 35] [client 1.2.3.4:46738] PHP Parse error:  syntax error, unexpected '.' in /var/www/src/include/plugins/archiver/class.ArchiverPlugin.php on line 205, referer: https://example.com

Workaround:

$folder = $path . '/' . @Format::slugify ($dept) . '/' . @Format::slugify ($user) . '/' . @Format::slugify ("{$ticket->getSubject ()}_{$ticket->getNumber ()}");
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

Successfully merging a pull request may close this issue.

1 participant