Marco Aurelio Posted January 24, 2023 Posted January 24, 2023 I get this error when starting background tasks manually: ParseError: syntax error, unexpected identifier "em", expecting "->" or "?->" or "{" or "[" (0) #0 /var/www/html/system/Theme/Theme.php(4599): IPS\_Theme::runProcessFunction('\tfunction email...', 'email__core_not...') #1 /var/www/html/system/Email/Email.php(1050): IPS\_Theme::makeProcessFunction('Novo {$email->l...', 'email__core_not...', '$container, $me...', false) #2 /var/www/html/system/Email/Email.php(543): IPS\_Email::devProcessTemplate('email__core_not...', 'Novo {$email->l...', Array, 'plaintext') #3 /var/www/html/system/Email/Email.php(874): IPS\_Email->compileSubject(Object(IPS\Member), Object(IPS\Lang)) #4 /var/www/html/system/Notification/Notification.php(941): IPS\_Email->mergeAndSend(Array, NULL, NULL, Array, Object(IPS\Lang)) #5 /var/www/html/system/Notification/Notification.php(921): IPS\_Notification->sendEmails(Array, Array) #6 /var/www/html/applications/gallery/sources/Image/Image.php(897): IPS\_Notification->send() #7 /var/www/html/applications/gallery/extensions/core/Queue/Follow.php(39): IPS\gallery\_Image::_sendNotificationsBatch(Object(IPS\gallery\Category), Object(IPS\gallery\Album), Object(IPS\Member), 0) #8 /var/www/html/system/Task/Task.php(47): IPS\gallery\extensions\core\Queue\_Follow->run(Array, 0) #9 /var/www/html/applications/core/modules/admin/system/background.php(87): IPS\_Task::runQueue() #10 /var/www/html/system/Helpers/MultipleRedirect/MultipleRedirect.php(93): IPS\core\modules\admin\system\_background->IPS\core\modules\admin\system\{closure}(Array) #11 /var/www/html/applications/core/modules/admin/system/background.php(138): IPS\Helpers\_MultipleRedirect->__construct(Object(IPS\Http\Url\Internal), Object(Closure), Object(Closure)) #12 /var/www/html/system/Dispatcher/Controller.php(107): IPS\core\modules\admin\system\_background->process() #13 /var/www/html/applications/core/modules/admin/system/background.php(42): IPS\Dispatcher\_Controller->execute() #14 /var/www/html/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\admin\system\_background->execute() #15 /var/www/html/admin/index.php(13): IPS\_Dispatcher->run() #16 {main} Invision Community Version 4.7.6 PHP Version 8.0.27
Jim M Posted January 24, 2023 Posted January 24, 2023 Please check all customizations in your email templates and temporarily revert them. Seems to be an issue sending out notification emails.
Marco Aurelio Posted January 24, 2023 Author Posted January 24, 2023 I don't have any personalization in the email templates.
Randy Calvert Posted January 24, 2023 Posted January 24, 2023 I assume you've done the basics of disabling all of your 3rd party applications/plugins to make sure one of those is not interfering with the operation?
Marco Aurelio Posted January 24, 2023 Author Posted January 24, 2023 (edited) I already did that and it didn't work. Edited January 24, 2023 by Marco Aurelio
Jim M Posted January 24, 2023 Posted January 24, 2023 We would need to look further into this for you, however the access details on file appear to be incorrect or missing. Could you please update these details by visiting your client area, selecting the relevant purchase, then clicking "Review/Update Access Information" under the "Stored Access Information" section. We look forward to further assisting you.
Marco Aurelio Posted January 24, 2023 Author Posted January 24, 2023 10 minutes ago, Jim M said: We would need to look further into this for you, however the access details on file appear to be incorrect or missing. Could you please update these details by visiting your client area, selecting the relevant purchase, then clicking "Review/Update Access Information" under the "Stored Access Information" section. We look forward to further assisting you. Done!
Solution Jim M Posted January 24, 2023 Solution Posted January 24, 2023 Is your custom language pack compatible with the release you're on?
Marco Aurelio Posted January 24, 2023 Author Posted January 24, 2023 (edited) It worked now. Thanks! Edited January 24, 2023 by Marco Aurelio
Jim M Posted January 24, 2023 Posted January 24, 2023 7 minutes ago, Marco Aurelio said: I installed a compatible translation and the problem persists. Was your existing pack upgraded? Unfortunately, it would be based on what the user who is receiving the notification. If not, may need to change it to the default translation. If that doesn’t work, we’ll need to investigate further. Please ensure FTP access on file is valid. Thanks.
Randy Calvert Posted January 24, 2023 Posted January 24, 2023 29 minutes ago, Jim M said: Was your existing pack upgraded? Unfortunately, it would be based on what the user who is receiving the notification. If not, may need to change it to the default translation. If that doesn’t work, we’ll need to investigate further. Please ensure FTP access on file is valid. Thanks. It looks like he edited his post to say that it works now. 🙂 1 hour ago, Marco Aurelio said: It worked now. Thanks!
Recommended Posts