Jump to content

asigno

Clients
  • Joined

  • Last visited

  1. Hi all, Hoping for some help with this issue, I'm running 5.0.5 and created a new template when upgrading. This is the error I'm gettting: [[Template gallery/front/view/imageFrame is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] Thanks in advance.
  2. Hi @Marc I'm afraid I'm still getting the same errors even with deleting and adding a new unaltered language pack.
  3. I did have a modified language pack, I was renaming some of the registration terminonlogy to subscriptions. Was seeing them in the logs. I've removed this and added a stanadard UK language pack. Will update post if errors stop. Thanks
  4. Hi after upgradig to 5.0.4 I'm now getting the following error: TypeError: IPS\gallery\Image::get__notes(): Return value must be of type array, null returned in /home/yamahaclub/htdocs/yamahaclub.com/applications/gallery/sources/Image/Image.php:319 Stack trace: #0 /home/yamahaclub/htdocs/yamahaclub.com/system/Patterns/ActiveRecord.php(360): IPS\gallery\Image->get__notes() #1 /home/yamahaclub/htdocs/yamahaclub.com/applications/gallery/sources/Image/Image.php(330): IPS\Patterns\ActiveRecord->__get() #2 /home/yamahaclub/htdocs/yamahaclub.com/system/Patterns/ActiveRecord.php(360): IPS\gallery\Image->get__notes_json() #3 /home/yamahaclub/htdocs/yamahaclub.com/static/templates/gallery_front_view.php(1032): IPS\Patterns\ActiveRecord->__get() #4 /home/yamahaclub/htdocs/yamahaclub.com/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_gallery_front_view->imageFrame() #5 /home/yamahaclub/htdocs/yamahaclub.com/static/templates/gallery_front_view.php(357): IPS\Theme\SandboxedTemplate->__call() #6 /home/yamahaclub/htdocs/yamahaclub.com/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_gallery_front_view->image() #7 /home/yamahaclub/htdocs/yamahaclub.com/applications/gallery/modules/front/gallery/view.php(376): IPS\Theme\SandboxedTemplate->__call() #8 /home/yamahaclub/htdocs/yamahaclub.com/system/Dispatcher/Controller.php(139): IPS\gallery\modules\front\gallery\view->manage() #9 /home/yamahaclub/htdocs/yamahaclub.com/system/Content/Controller.php(124): IPS\Dispatcher\Controller->execute() #10 /home/yamahaclub/htdocs/yamahaclub.com/applications/gallery/modules/front/gallery/view.php(109): IPS\Content\Controller->execute() #11 /home/yamahaclub/htdocs/yamahaclub.com/system/Dispatcher/Dispatcher.php(169): IPS\gallery\modules\front\gallery\view->execute() #12 /home/yamahaclub/htdocs/yamahaclub.com/index.php(16): IPS\Dispatcher->run() #13 {main}
  5. Hi, Since upgrading from 5.0.3 to 5.0.4 I'm encountering a new error: UnderflowException: lang_not_exists__core_emoticon_group_default (0) #0 /home/yamahaclub/htdocs/yamahaclub.com/applications/core/modules/front/system/editor.php(339): IPS\Lang->get() #1 /home/yamahaclub/htdocs/yamahaclub.com/system/Dispatcher/Controller.php(128): IPS\core\modules\front\system\editor->emoji() #2 /home/yamahaclub/htdocs/yamahaclub.com/system/Dispatcher/Dispatcher.php(169): IPS\Dispatcher\Controller->execute() #3 /home/yamahaclub/htdocs/yamahaclub.com/index.php(16): IPS\Dispatcher->run() #4 {main} Thanks Alex
  6. Just an update, I'm still seeing the same error TypeError: IPS\Http\Url\Friendly::setPage(): Argument #2 ($number) must be of type ?int, However I'm also getting three new errors I didn't get in 5.0.2 TypeError: IPS\Content\Item::getRedirectFrom(): Argument #1 ($id) must be of type int, string given, called in /home/yamahaclub/htdocs/yamahaclub.com/system/Content/Controller.php on line 417 (0) #0 /home/yamahaclub/htdocs/yamahaclub.com/system/Content/Controller.php(417): IPS\Content\Item::getRedirectFrom() #1 /home/yamahaclub/htdocs/yamahaclub.com/applications/forums/modules/front/forums/topic.php(94): IPS\Content\Controller->manage() #2 /home/yamahaclub/htdocs/yamahaclub.com/system/Dispatcher/Controller.php(139): IPS\forums\modules\front\forums\topic->manage() #3 /home/yamahaclub/htdocs/yamahaclub.com/system/Content/Controller.php(124): IPS\Dispatcher\Controller->execute() #4 /home/yamahaclub/htdocs/yamahaclub.com/applications/forums/modules/front/forums/topic.php(82): IPS\Content\Controller->execute() #5 /home/yamahaclub/htdocs/yamahaclub.com/system/Dispatcher/Dispatcher.php(169): IPS\forums\modules\front\forums\topic->execute() #6 /home/yamahaclub/htdocs/yamahaclub.com/index.php(16): IPS\Dispatcher->run() #7 {main} UnderflowException: lang_not_exists__core_emoticon_group_default (0) #0 /home/yamahaclub/htdocs/yamahaclub.com/applications/core/modules/front/system/editor.php(339): IPS\Lang->get() #1 /home/yamahaclub/htdocs/yamahaclub.com/system/Dispatcher/Controller.php(128): IPS\core\modules\front\system\editor->emoji() #2 /home/yamahaclub/htdocs/yamahaclub.com/system/Dispatcher/Dispatcher.php(169): IPS\Dispatcher\Controller->execute() #3 /home/yamahaclub/htdocs/yamahaclub.com/index.php(16): IPS\Dispatcher->run() #4 {main} TypeError: IPS\gallery\Image::get__notes(): Return value must be of type array, null returned in /home/yamahaclub/htdocs/yamahaclub.com/applications/gallery/sources/Image/Image.php:319 Stack trace: #0 /home/yamahaclub/htdocs/yamahaclub.com/system/Patterns/ActiveRecord.php(360): IPS\gallery\Image->get__notes() #1 /home/yamahaclub/htdocs/yamahaclub.com/applications/gallery/sources/Image/Image.php(330): IPS\Patterns\ActiveRecord->__get() #2 /home/yamahaclub/htdocs/yamahaclub.com/system/Patterns/ActiveRecord.php(360): IPS\gallery\Image->get__notes_json() #3 /home/yamahaclub/htdocs/yamahaclub.com/static/templates/gallery_front_view.php(1032): IPS\Patterns\ActiveRecord->__get() #4 /home/yamahaclub/htdocs/yamahaclub.com/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_gallery_front_view->imageFrame() #5 /home/yamahaclub/htdocs/yamahaclub.com/static/templates/gallery_front_view.php(357): IPS\Theme\SandboxedTemplate->__call() #6 /home/yamahaclub/htdocs/yamahaclub.com/system/Theme/SandboxedTemplate.php(68): IPS\Theme\class_gallery_front_view->image() #7 /home/yamahaclub/htdocs/yamahaclub.com/applications/gallery/modules/front/gallery/view.php(376): IPS\Theme\SandboxedTemplate->__call() #8 /home/yamahaclub/htdocs/yamahaclub.com/system/Dispatcher/Controller.php(139): IPS\gallery\modules\front\gallery\view->manage() #9 /home/yamahaclub/htdocs/yamahaclub.com/system/Content/Controller.php(124): IPS\Dispatcher\Controller->execute() #10 /home/yamahaclub/htdocs/yamahaclub.com/applications/gallery/modules/front/gallery/view.php(109): IPS\Content\Controller->execute() #11 /home/yamahaclub/htdocs/yamahaclub.com/system/Dispatcher/Dispatcher.php(169): IPS\gallery\modules\front\gallery\view->execute() #12 /home/yamahaclub/htdocs/yamahaclub.com/index.php(16): IPS\Dispatcher->run() #13 {main}
  7. Thanks @Esther E. I've just upgraded to 5.0.4, will comment back if not fixed. Cheers
  8. Thanks for the response, I don't know where they are coming from, but they are all generated on the member profile page. E.g. The log entry was triggered by a guest (Guests) 31 minutes ago The URL of page the error occurred on was https://yamahaclub.com/profile/3827-muckywillow/content/?page=1%5Cu0026sortby=image_last_comment%5Cu0026sortdirection=desc%5Cu0026type=gallery_image TypeError: IPS\Http\Url\Friendly::setPage(): Argument #2 ($number) must be of type ?int, string given, called in /home/yamahaclub/htdocs/yamahaclub.com/applications/core/modules/front/members/profile.php on line 611 (0) #0 /home/yamahaclub/htdocs/yamahaclub.com/applications/core/modules/front/members/profile.php(611): IPS\Http\Url\Friendly->setPage() #1 /home/yamahaclub/htdocs/yamahaclub.com/system/Dispatcher/Controller.php(128): IPS\core\modules\front\members\profile->content() #2 /home/yamahaclub/htdocs/yamahaclub.com/applications/core/modules/front/members/profile.php(130): IPS\Dispatcher\Controller->execute() #3 /home/yamahaclub/htdocs/yamahaclub.com/system/Dispatcher/Dispatcher.php(169): IPS\core\modules\front\members\profile->execute() #4 /home/yamahaclub/htdocs/yamahaclub.com/index.php(16): IPS\Dispatcher->run() #5 {main} Backtrace #0 /home/yamahaclub/htdocs/yamahaclub.com/init.php(827): IPS\Log::log() #1 [internal function]: IPS\IPS::exceptionHandler() #2 {main}
  9. TypeErrors which I believe is caused from the gallery changes which removed sort by specific variables which have been deprecated. Such as: The URL of page the error occurred on was .../content/?page=1%5Cu0026sortby=image_comments%5Cu0026sortdirection=desc%5Cu0026type=gallery_image The URL of page the error occurred on was .../content/?page=1%5Cu0026sortby=image_last_comment%5Cu0026sortdirection=desc%5Cu0026type=gallery_image
  10. Thanks, I thought they may have been a way like uninstalling/disabling an app.
  11. Thanks @Jim M that's sure an easier way to do it. Now I've learnt about the security risks of dev mode, how do I uninstall it from a production site!
  12. I'm really not sure as to why you can't enable it from the mod screen, you need to edit your constants.php file. Oddly, you can't even leave the enable debug line commented out in the file as it'll give errors.
  13. @Marc There are hundreds of them, but from quickly looking at the URL requests, it looks like it's due to the requests containing sort parameters which no longer exist in Gallery. Such as sort by image views, image date, last comment, image comments, image caption, image updated etc.
  14. Thanks @Jim sorry do you mean there is an issue in how these are being logged by IPB, or that this is correct in how they are being logged as errors? How can I work out how these URLs are being requested?