When trying to invite a someone to the site by using the invite function I get this error:
Parse error: syntax error, unexpected 'function' (T_FUNCTION), expecting identifier (T_STRING) or \\ (T_NS_SEPARATOR) in /Path/to/mysite/domain/vendor/zendframework/zend-mail/src/Header/ListParser.php on line 10
I have searched the forum and googled but cannot find a fix. Any ideas?
I have reuploaded files etc.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- iionly@iionly
iionly - 0 likes
- Gary Sicard@gsicard
Gary Sicard - 0 likes
- Gary Sicard@gsicard
Gary Sicard - 0 likes
You must log in to post replies.Which version of Elgg? I suspect you might have an Elgg 3 installation... If that's the case, is it rc1 or a composer-installed site? Which version of PHP? Do you try to send an invitation to 1 recipient or to more than one (one mail address per line). Any special characters in the mail address?
I have a fresh install of elgg 2.3.8.
I used regular install uploaded files and ran install (can't get the hang of composer)
php version 5.6
sending to one email or trying to create by admin or trying to register throws the same error.
The host tells me zend is installed and configured properly (arvixe.com)
No special characters in the email address.
I will re-upload files today and see what happens. I do not want to do a clean install as I had already started putting in contents. http://wexpat.net
Found out what the problem was. My addon domain was not inheriting the php version from the main domain so I had to add the command "AddType application/x-httpd-php56 .php" to my .htaccess file. Works now.