Jump to content

Giray

Clients
  • Posts

    651
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by Giray

  1. On 2/8/2023 at 7:33 AM, Giray said:

    Absolutely no idea if related but I've updated to IPS 4.7.7 and I'm getting a cron club rebuild error. IPS support suggested it might be third party and this is my only clubs-related app that I know of. Anyone else?

    I posted this problem on Feb 8, that was just about two weeks ago, and still no word. Note that thanks to @Adriano Faria I just deleted over 100 pages of logs related to this error. Would love to know if, at the very least, @InvisionHQ knows of the error.

    If it's not an ICE problem, I am truly sorry for raising it here. I hate pointing fingers, I'm just trying to find out where the problem is and I can't seem to get anyone to figure it out.

    As a reminder, these are the various errors I'm still getting.

    - An out of range exception with no log but with this backtrace:

    #0 /home/mysite/public_html/system/Member/Club/Club.php(1370): IPS\Patterns\_ActiveRecord::load(1)
    #1 /home/mysite/public_html/init.php(935) : eval()'d code(226): IPS\Member\_Club->nodes()
    #2 /home/mysite/public_html/applications/core/tasks/clubrebuild.php(58): IPS\Member\clubsenhancements_hook_ceClub->nodes()
    #3 /home/mysite/public_html/system/Task/Task.php(375): IPS\core\tasks\_clubrebuild->IPS\core\tasks\{closure}()
    #4 /home/mysite/public_html/applications/core/tasks/clubrebuild.php(80): IPS\_Task->runUntilTimeout(Object(Closure))
    #5 /home/mysite/public_html/system/Task/Task.php(274): IPS\core\tasks\_clubrebuild->execute()
    #6 /home/mysite/public_html/system/Task/Task.php(237): IPS\_Task->run()
    #7 /home/mysite/public_html/applications/core/interface/task/task.php(72): IPS\_Task->runAndLog()
    #8 {main}

    Also now, I've discovered that just one of my clubs has an error on top:

    [[Template core/front/clubs/header is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

    Note that when I deactivate ICE it gets worse, I get:

    OutOfRangeException:  (0)
    #0 /home/mysite/public_html/system/Member/Club/Club.php(1370): IPS\Patterns\_ActiveRecord::load(5)
    #1 /home/mysite/public_html/system/Member/Club/Club.php(1906): IPS\Member\_Club->nodes()
    #2 /home/mysite/public_html/system/Member/Club/Club.php(2046): IPS\Member\_Club->tabs()
    #3 /home/mysite/public_html/applications/core/modules/front/clubs/view.php(138): IPS\Member\_Club->firstTab()
    #4 /home/mysite/public_html/system/Dispatcher/Controller.php(118): IPS\core\modules\front\clubs\_view->manage()
    #5 /home/mysite/public_html/applications/core/modules/front/clubs/view.php(128): IPS\Dispatcher\_Controller->execute()
    #6 /home/mysite/public_html/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\clubs\_view->execute()
    #7 /home/mysite/public_html/index.php(13): IPS\_Dispatcher->run()
    #8 {main}

    Look, I don't know if these are related (forgot to mention the constant CRON messages, but at this point all this is way above my pay grade. I can't figure it out. All I know is that all the errors keep mentioning clubs and 'clubsenhancement'.

    Any help would be truly appreciated.

  2. 10 minutes ago, LiquidFractal said:

    @Giray, apologies as I haven't had time to follow this entire thread, but: have you tried disabling ICE and, if so, did that address the System Log issues?

    I give up. It still does it with ICE disabled 🥵 so I really don't know anymore. All I know is that even with it disabled, the cron error I just got was with clubrebuild.php and the core. So I really don't know if ICE is still at fault or something left over or in Clubs. I'll stop polluting this support thread and just wait for the next updates and see if the error goes away.

  3. 1 hour ago, wegorz23 said:

    Like always improved clubs plugin crash someone forums 🙂 Had it like 5 times and not waiting for update just fixing it by my self for faster response. 

    Well, you’re lucky because I’m not good enough a programmer to fix it myself.

  4. 6 hours ago, LiquidFractal said:

    No sir you are not!  In fact, I manually searched out Tasks in the adminCP - saw that according to the system the task clubrebuild has never been run before.  I tried triggering it manually and got an error that the task "could not be found." 🤨

    Checked again just now and it seems to be running, but I don't know if it will succeed.

    Same. Clubrebuild had never run. But when I try it hangs.

  5. 58 minutes ago, LiquidFractal said:

    I'm receiving exactly the same error with exactly the same line numbers (it's listed in the System Log as type uncaught_exception, but viewing the error includes OutOfRangeException::0).

    The one difference in my backtrace is that the end of my line #0 reads load(0) instead of load(1).
     

    When I updated I don't think I removed anything, although I'm not sure if the system disabled anything incompatible during this update cycle (it hasn't in the past AFAIK).

    Good to know, I’m not alone, and therefore not entirely crazy.

  6. 31 minutes ago, Daniel F said:

    Have you removed any 3rd party apps recently? Are you familiar with MySQL/phpMyAdmin? You'll need to take a look at the core_clubs_node_map table and find the orphaned record(s)

    Now that I think of it, I actually did. I removed two plugins as I was doing the update. One was an advertising add-on and the other was to remove image extensions. Maybe that did it... I'll try to dig into php myadmin and see if I can locate the orphaned records. If I break something, fortunately, my server has good backups 😅

  7. 3 hours ago, Daniel F said:

    That's caused by a mapped club node, where the node doesn't exist anymore (AKA a club feature like a forum, gallery category, 3rd party category) was deleted, without being deleted from the club.

    I've seen this with few 3rd party application, where  $contentItemClass::$application was actually not using the correct application id.

    I wouldn’t know how to begin to look for it. I mean I will try, but does anyone have any suggestions?

    And why did this start happening just when I upgraded to 4.7.7?

  8. I seem to be getting an incessant error and cron failure since upgrading to IPS 4.7.7 (my club rebuild cron is stuck and says it has never run since the 4.7.7 upgrade). The current thinking is that it might be ICE. I’m pasting the backtrace of one of the errors that occurs every half hour or so. Thoughts?

    #0 /home/mysite/public_html/system/Member/Club/Club.php(1370): IPS\Patterns\_ActiveRecord::load(1)
    #1 /home/mysite/public_html/init.php(935) : eval()'d code(226): IPS\Member\_Club->nodes()
    #2 /home/mysite/public_html/applications/core/tasks/clubrebuild.php(58): IPS\Member\clubsenhancements_hook_ceClub->nodes()
    #3 /home/mysite/public_html/system/Task/Task.php(375): IPS\core\tasks\_clubrebuild->IPS\core\tasks\{closure}()
    #4 /home/mysite/public_html/applications/core/tasks/clubrebuild.php(80): IPS\_Task->runUntilTimeout(Object(Closure))
    #5 /home/mysite/public_html/system/Task/Task.php(274): IPS\core\tasks\_clubrebuild->execute()
    #6 /home/mysite/public_html/system/Task/Task.php(237): IPS\_Task->run()
    #7 /home/mysite/public_html/applications/core/interface/task/task.php(72): IPS\_Task->runAndLog()
    #8 {main}

    I opened a support thread and the thinking is that it might be ICE?? Would love to know.

    https://invisioncommunity.com/forums/topic/472101-477-cron/#comment-2926204

     

  9. Half agree. Don't get me started 😇 The goal is to have a great marketplace with great developers who are in sync with a great IPS platform... harmony is the goal. But yes, there are incompatibilities to be expected as we all try to stay at the cutting edge. As long as the problems are quickly resolved, all good.

    Thanks for your usual quick response Marc.

  10. Ok. I'll start digging.

    I now just got this also:

    A configuration issue has been detected on your community which requires your attention.
    
    Locked Task: clubrebuild
    
    One of the routine maintenance tasks which run in the background has failed several times, which may indicate a configuration issue. 

     

  11. Just upgraded to 4.7.7. Nice job on the Gallery.

    Getting a Cron error. Thoughts? Hook or Core?

    Thx.

    Exception:
    OutOfRangeException Object
    (
       [message:protected] => 
       [string:Exception:private] => 
       [code:protected] => 0
       [file:protected] => /home/mysite/public_html/system/Patterns/ActiveRecord.php
       [line:protected] => 142
       [trace:Exception:private] => Array
           (
               [0] => Array
                   (
                       [file] => /home/mysite/public_html/system/Member/Club/Club.php
                       [line] => 1370
                       [function] => load
                       [class] => IPS\Patterns\_ActiveRecord
                       [type] => ::
                       [args] => Array
                           (
                               [0] => 1
                           )
    
                   )
    
               [1] => Array
                   (
                       [file] => /home/mysite/public_html/init.php(935) : eval()'d code
                       [line] => 226
                       [function] => nodes
                       [class] => IPS\Member\_Club
                       [type] => ->
                       [args] => Array
                           (
                           )
    
                   )
    
               [2] => Array
                   (
                       [file] => /home/mysite/public_html/applications/core/tasks/clubrebuild.php
                       [line] => 58
                       [function] => nodes
                       [class] => IPS\Member\clubsenhancements_hook_ceClub
                       [type] => ->
                       [args] => Array
                           (
                           )
    
                   )
    
               [3] => Array
                   (
                       [file] => /home/mysite/public_html/system/Task/Task.php
                       [line] => 375
                       [function] => IPS\core\tasks\{closure}
                       [class] => IPS\core\tasks\_clubrebuild
                       [type] => ->
                       [args] => Array
                           (
                           )
    
                   )
    
               [4] => Array
                   (
                       [file] => /home/mysite/public_html/applications/core/tasks/clubrebuild.php
                       [line] => 80
                       [function] => runUntilTimeout
                       [class] => IPS\_Task
                       [type] => ->
                       [args] => Array
                           (
                               [0] => Closure Object
                                   (
                                       [this] => IPS\core\tasks\clubrebuild Object
                                           (
                                               [caches:protected] => Array
                                                   (
                                                   )
    
                                               [_data:protected] => Array
                                                   (
                                                       [id] => 3849
                                                       [app] => core
                                                       [key] => clubrebuild
                                                       [frequency] => P0Y0M0DT0H20M0S
                                                       [next_run] => 1675853461
                                                       [running] => 1
                                                       [enabled] => 1
                                                       [plugin] => 
                                                       [lock_count] => 0
                                                       [last_run] => 0
                                                   )
    
                                               [_new:protected] => 
                                               [changed] => Array
                                                   (
                                                       [running] => 1
                                                       [next_run] => 1675853461
                                                   )
    
                                               [skipCloneDuplication] => 
                                           )
    
                                   )
    
                           )
    
                   )
    
               [5] => Array
                   (
                       [file] => /home/mysite/public_html/system/Task/Task.php
                       [line] => 274
                       [function] => execute
                       [class] => IPS\core\tasks\_clubrebuild
                       [type] => ->
                       [args] => Array
                           (
                           )
    
                   )
    
               [6] => Array
                   (
                       [file] => /home/mysite/public_html/system/Task/Task.php
                       [line] => 237
                       [function] => run
                       [class] => IPS\_Task
                       [type] => ->
                       [args] => Array
                           (
                           )
    
                   )
    
               [7] => Array
                   (
                       [file] => /home/mysite/public_html/applications/core/interface/task/task.php
                       [line] => 72
                       [function] => runAndLog
                       [class] => IPS\_Task
                       [type] => ->
                       [args] => Array
                           (
                           )
    
                   )
    
           )
    
       [previous:Exception:private] => 
    )

     

  12. 6 minutes ago, Adriano Faria said:

    You can use Extra Fields in Classifieds. Isn’t this the goal of Templates System?

    Absolutely, however, I have about thirty extra fields which I have broken down into five major categories. Thirty fields in a row makes it hard to 'read', so to speak. Yes, as a fallback, that is what I will do. However, with Template System, I can put the fields into categories (she calls them 'Sets') thus making the visualization of the fields more comfortable. My final alternative is to name my fields: "Category A :: Field 1 ; Category A :: Field 2 ; Category B :: Field 1... and so on". Not the best, but maybe what I'll end up doing if I can't integrate the two.

    As always Adriano, thanks for coming up with answers...

  13. 9 hours ago, Michael.J said:

    Does it need to be per category option or just all categories? Can probably give you a file edit to do this now if you want?

    Either works in my case. I would probably opt for per category, kinda: "show what's below" as a concept.

    No rush. If you plan on putting it in, I'll wait for the next release.

    THANKS.

×
×
  • Create New...