Debug error when clicking Re-check all versions

Get help with installation and running phpBB 3.1.x here. Please do not post bug reports, feature requests, or extension related questions here.
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: phpBB 3.1.x is at its End of Life stage and support will NOT be provided after July 1st, 2018.
Locked
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Debug error when clicking Re-check all versions

Post by Jessica » Mon Oct 27, 2014 9:13 pm

I get these errors when clicking on Re-Check all versions in Manage Extensions:

Code: Select all

[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/version_helper.php on line 274: Undefined index: announcement
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/version_helper.php on line 274: Undefined index: announcement
[phpBB Debug] PHP Notice: in file [ROOT]/phpbb/version_helper.php on line 274: Undefined index: announcement
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: Debug error when clicking Re-check all versions

Post by Jessica » Wed Oct 29, 2014 2:48 am

Still got this issue...
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

rxu
Extensions Development Team
Posts: 2956
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: Debug error when clicking Re-check all versions

Post by rxu » Wed Oct 29, 2014 2:58 am

That sounds like some version check file(s) for extension(s) don't have the announcement topic info.
Try the following:

Code: Select all

OPEN
[ROOT]/phpbb/version_helper.php

FIND (at line 274)
$info[$stability][$branch]['announcement'] = str_replace('&', '&', $branch_data['announcement']);

REPLACE WITH
if(isset($info[$stability][$branch]['announcement']))
{
	$info[$stability][$branch]['announcement'] = str_replace('&', '&', $branch_data['announcement']);
}

omniError
Registered User
Posts: 15
Joined: Sat Jul 05, 2014 6:41 pm

Re: Debug error when clicking Re-check all versions

Post by omniError » Wed Oct 29, 2014 4:51 am

Please add this to the bug tracker if it's not there already: http://tracker.phpbb.com/
The PHP notices can be safely ignored but it does look ugly though.

rxu
Extensions Development Team
Posts: 2956
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: Debug error when clicking Re-check all versions

Post by rxu » Wed Oct 29, 2014 8:02 am


User avatar
noth
Registered User
Posts: 2472
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Re: Debug error when clicking Re-check all versions

Post by noth » Wed Oct 29, 2014 9:15 am

in addition to that ... if you go to the ACP of a 3.0.12 board and look at Board Statistics it shows Board version: 3.0.12 << in green

rxu
Extensions Development Team
Posts: 2956
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: Debug error when clicking Re-check all versions

Post by rxu » Wed Oct 29, 2014 10:51 am

This is correct as 3.0.x is a different branch and there's no version newer than 3.0.12 for it now.

User avatar
noth
Registered User
Posts: 2472
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Re: Debug error when clicking Re-check all versions

Post by noth » Wed Oct 29, 2014 11:55 am

maybe it should go to amber :lol:

:twisted: neither green nor red

Locked

Return to “[3.1.x] Support Forum”