Last modified: 2014-11-15 13:03:59 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T75113, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73113 - PHP notice in hhvm.log
PHP notice in hhvm.log
Status: PATCH_TO_REVIEW
Product: MediaWiki extensions
Classification: Unclassified
Echo (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-07 01:10 UTC by Sam Reed (reedy)
Modified: 2014-11-15 13:03 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sam Reed (reedy) 2014-11-07 01:10:04 UTC
Nov  6 23:39:31 mw1028:  #012Notice: Undefined index: 0 in /srv/mediawiki/php-1.25wmf6/extensions/Echo/includes/DiscussionParser.php on line 873
Comment 1 Sam Reed (reedy) 2014-11-07 01:36:32 UTC
		// Step 2: Generalise it
		// Trim off the timezone to replace at the end
		$output = $exemplarTimestamp;
		$tzRegex = '/\s*\(\w+\)\s*$/';
		$tzMatches = array();
		preg_match( $tzRegex, $output, $tzMatches );
		$output = preg_replace( $tzRegex, '', $output );
		$output = preg_quote( $output, '/' );
		$output = preg_replace( '/[^\d\W]+/u', '[^\d\W]+', $output );
		$output = preg_replace( '/\d+/u', '\d+', $output );

		$output .= preg_quote( $tzMatches[0] );


I guess it means the regex didn't match...
Comment 2 Gerrit Notification Bot 2014-11-15 13:03:57 UTC
Change 173506 had a related patch set uploaded by Reedy:
Fix Undefined index: 0

https://gerrit.wikimedia.org/r/173506

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links