sulervo Posted January 1, 2023 Posted January 1, 2023 Hi, processes (over 400) and tasks in stuck at least two weeks. Please help?
Jim M Posted January 1, 2023 Posted January 1, 2023 When running background tasks manually, it is resulting in a 500 Internal Server Error. You will need to obtain the Server Error log entry for this error from your hosting provider and provide it here for us to provide further guidance.Â
sulervo Posted January 1, 2023 Author Posted January 1, 2023 My server guy said: "After the upgrade we see the automated tasks to not get completed. And share with them access so they can check it. As we can’t do anything with there tasks scheduler." Â
Jim M Posted January 1, 2023 Posted January 1, 2023 Sorry, I am a little confused by that statement, we are not asking them to resolve the issue but merely provide us the log in question from your server error log. Without it, we cannot assist. As this is a server management task, it would be something you or them would need to provide as we only support our software, not the server management items.
Daniel F Posted January 1, 2023 Posted January 1, 2023 Make sure you’re using the same PHP version for the Webserver and CLI if you’re using cron jobs to run tasksÂ
sulervo Posted January 1, 2023 Author Posted January 1, 2023 (edited) 10 minutes ago, Daniel F said: Make sure you’re using the same PHP version for the Webserver and CLI if you’re using cron jobs to run tasks Yes the same is in use.@Jim M No other errors than this PHP error: PHP Fatal error:  Declaration of IPS\gallery\_Image::getItemsWithPermission($where = [], $order = null, $limit = 10, $permissionKey = 'read', $includeHiddenItems = null, $queryFlags = 0, ?IPS\Member $member = null, $joinContainer = false, $joinComments = false, $joinReviews = false, $countOnly = false, $joins = null, $skipPermission = false, $joinTags = true, $joinAuthor = true, $joinLastCommenter = true, $showMovedLinks = false) must be compatible with IPS\Content\_Item::getItemsWithPermission($where = [], $order = null, $limit = 10, $permissionKey = 'read', $includeHiddenItems = IPS\Content\Hideable::FILTER_AUTOMATIC, $queryFlags = 0, ?IPS\Member $member = null, $joinContainer = false, $joinComments = false, $joinReviews = false, $countOnly = false, $joins = null, $skipPermission = false, $joinTags = true, $joinAuthor = true, $joinLastCommenter = true, $showMovedLinks = false, $location = null) in /home/nginx/domains/xxx.com/public/applications/gallery/sources/Image/Image.php on line 1882 Would you like to check in the server? Edited January 1, 2023 by sulervo
Jim M Posted January 1, 2023 Posted January 1, 2023 3 minutes ago, sulervo said: Yes the same is in use.@Jim M No other errors than this PHP error: PHP Fatal error: Â Declaration of IPS\gallery\_Image::getItemsWithPermission($where = [], $order = null, $limit = 10, $permissionKey = 'read', $includeHiddenItems = null, $queryFlags = 0, ?IPS\Member $member = null, $joinContainer = false, $joinComments = false, $joinReviews = false, $countOnly = false, $joins = null, $skipPermission = false, $joinTags = true, $joinAuthor = true, $joinLastCommenter = true, $showMovedLinks = false) must be compatible with IPS\Content\_Item::getItemsWithPermission($where = [], $order = null, $limit = 10, $permissionKey = 'read', $includeHiddenItems = IPS\Content\Hideable::FILTER_AUTOMATIC, $queryFlags = 0, ?IPS\Member $member = null, $joinContainer = false, $joinComments = false, $joinReviews = false, $countOnly = false, $joins = null, $skipPermission = false, $joinTags = true, $joinAuthor = true, $joinLastCommenter = true, $showMovedLinks = false, $location = null) in /home/nginx/domains/xxx.com/public/applications/gallery/sources/Image/Image.php on line 1882 Would you like to check in the server? Please make sure all files on your server are up to date and that all third-party applications/plugins are compatible with PHP 8.
sulervo Posted January 1, 2023 Author Posted January 1, 2023 All addons updated to the latest versions and they support php8. I did this 2 weeks ago when updated to the latest forum version. Could you please recheck why the tasks are not progressing? I can also provide SSH and FTP creds if needed.
Jim M Posted January 1, 2023 Posted January 1, 2023 You have various applications which are out of date and not running PHP 8 compatible code so you will need to uninstall or renew our software for Blogs, Gallery, and Commerce. Â
sulervo Posted January 1, 2023 Author Posted January 1, 2023 That's fine. I have tried earlier but can't. Any tricks?
Jim M Posted January 1, 2023 Posted January 1, 2023 Please be advised I have switched this to a ticket so we can further assist. Please watch your email for further correspondence.
Solution sulervo Posted January 4, 2023 Author Solution Posted January 4, 2023 Quote Hi, this was caused by a broken record for reported items. I have fixed this for you, which resolved the issue.-- Daniel Invision Community Support 🤩
Marc Posted January 4, 2023 Posted January 4, 2023 Glad to hear my colleague managed to get that sorted for you 🙂 sulervo 1
Recommended Posts