Support Forum
but that would explain the notices being from long ago... pre 5.2... think I have a handle on why it might not be clearing for you... if it tests well, will be in the 5.2.1 update in next day or two...
Visit Cruise Talk Central and Mr Papa's World
Cool. Happy to test on our dev install. Remember, we run a multisite network, if it matters.
Simple:Press powers the Tripawds Discussion Forums.
It's better to hop on three legs than to limp on four.
The Tripawds Blogs Community is made possible by The Tripawds Foundation.
Mr Papa said
but that would explain the notices being from long ago... pre 5.2...
You mean these? More than 300 since I posted here last...
(5, '2012-12-26 14:12:47', 'php', 'file: /simple-press/forum/content/classes/sp-member-view-class.php<br />line: 348<br />function: sp_memberslist_query<br />Warning | Creating default object from empty value'),
(4, '2012-12-26 11:33:51', 'php', 'file: /simple-press/sp-api/sp-api-primitives.php<br />line: 600<br />function: Unavailable<br />Notice | Uninitialized string offset: 0'),
(6, '2012-12-26 14:12:47', 'php', 'file: /simple-press/forum/content/classes/sp-member-view-class.php<br />line: 348<br />function: sp_memberslist_query<br />Warning | Creating default object from empty value'),
(7, '2012-12-26 14:12:47', 'php', 'file: /simple-press/forum/content/classes/sp-member-view-class.php<br />line: 348<br />function: sp_memberslist_query<br />Warning | Creating default object from empty value'),
(8, '2012-12-26 14:12:47', 'php', 'file: /simple-press/forum/content/classes/sp-member-view-class.php<br />line: 348<br />function: sp_memberslist_query<br />Warning | Creating default object from empty value'),
(9, '2012-12-26 14:12:47', 'php', 'file: /simple-press/forum/content/classes/sp-member-view-class.php<br />line: 348<br />function: sp_memberslist_query<br />Warning | Creating default object from empty value'),
Simple:Press powers the Tripawds Discussion Forums.
It's better to hop on three legs than to limp on four.
The Tripawds Blogs Community is made possible by The Tripawds Foundation.
Its possible that some of those are ones that we have not changed yet - we fix them as we come across with though 5.2 was a concerted effort on the php default object warning... I will check the specifics...
but wow, your forum users must spend most of their time looking at the members list if you have 300 like those which are largely from the members view...
Visit Cruise Talk Central and Mr Papa's World
btw, the ones listed here are fixed in 5.2.1...
Visit Cruise Talk Central and Mr Papa's World
Mr Papa said
wow, your forum users must spend most of their time looking at the members list...
Perhaps, but I doubt enough to cause the error volume I'm seeing. Can that only be thrown by actual page views by members or might something else cause that particular error. Could bots be hammering it?
You may recall I added a snippet of code you provided to our Members View template so we only show certain groups, depending on the user. Might that have caused something? I just want to rule out any factors I may be able to address.
FYI: The SP Admin Error Log tab was unresponsive again so I viewed the table and there was only one entry, compared to the hundreds earlier, but still odd behavior.
Simple:Press powers the Tripawds Discussion Forums.
It's better to hop on three legs than to limp on four.
The Tripawds Blogs Community is made possible by The Tripawds Foundation.
yes, that members list query is only executed on a member list page... sure, it could be bots, but something is hitting those pages... same for the members view template - only ran on members list pages...
what do you mean by error log tab unresponsive? When you click on that, nothing happens? spinning icon? nothing loads? errors?
Visit Cruise Talk Central and Mr Papa's World
Mr Papa said
what do you mean by error log tab unresponsive?
The blocks just keep spinning by and the error log sub tab never loads. Only the primary admin tabs load from the Forum menu, but I can't access the specific sub tabs. Looking into this further just now, it appears to be happening on all the sub tabs, in both Firefox and Safari.
Similar to the old ahah error=0 issue we used to have long ago, but with no error. Firebug error console shows the following GET in red, but never a response:
my.domain/index.php?sp_ahah=toolbox-loader&sfnonce=23b90479f4&loadform=errorlog&reload=sfreloadel&rnd=1356579587829
Pasting that into a new tab does load the pane by itself, but it never loads where it should, blocks just keep spinning and spinning...
When I did load it in a new tab, I noticed another 100+ member-view-class errors/notices, all with the same timestamp. As if the error is just being constantly thrown, so any help troubleshooting that is greatly appreciated.
Simple:Press powers the Tripawds Discussion Forums.
It's better to hop on three legs than to limp on four.
The Tripawds Blogs Community is made possible by The Tripawds Foundation.
if you have mod_security going which I seem to remember, but could be thinking of different topic, its known to fail on ajax requests because of its high false alarm rate...
Visit Cruise Talk Central and Mr Papa's World
OK, so mod_security may be causing Ajax to fail causing the Admin tabs to hang. I suppose the only suggestion for that is to turn off mod_security? If so, that is likely not going to happen.
Now, what can I do to help troubleshoot all these errors/notices being written to the log? Could the code I added to selectively show usergroups have anything to do with that? The Members list clearly isn't getting viewed 100 times a minute.
Thanks again.
Simple:Press powers the Tripawds Discussion Forums.
It's better to hop on three legs than to limp on four.
The Tripawds Blogs Community is made possible by The Tripawds Foundation.