Topic on Project:Support desk

rev_timestamp: must be a valid

7
Erfansol (talkcontribs)

Hello friends good day

I have a very serious problem after updating from 1.28 to 1.33 and it's timestamp error, which makes it impossible to search and many of our encyclopaedia articles to be displayed correctly.

Please help us


ink of 1.32  :http://wikijoo.ir/32

link of 1.28:http://wikijoo.ir

1.32.0
PHP 7.0.33-0ubuntu0.16.04.5 (apache2handler)
MySQL 5.7.25-0ubuntu0.16.04.2
ICU 55.1
Lua 5.1.5

MediaWiki internal error.

Original exception: Wikimedia\Assert\ParameterAssertionException from line 63 of /var/www/html/32/vendor/wikimedia/assert/src/Assert.php: Bad value for parameter $row->rev_timestamp: must be a valid timestamp


best regards

MarkAHershberger (talkcontribs)

How did you upgrade? It looks like you have the wrong version of a library.

Can I ask why you're going to 1.32 instead of the recently-released 1.33?

188.121.147.102 (talkcontribs)

upgrade same upgrade guide in mediawiki(dump sql,install new files,image,...)

i check both version 1.32/1.33 and error still running

MarkAHershberger (talkcontribs)

Could you post the full backtrace of the error?

212.53.226.26 (talkcontribs)

The error comes from this line in RevisionStoreRecord.php line 73 :

       Assert::parameter( is_string( $timestamp ), '$row->rev_timestamp', 'must be a valid timestamp' );

when using timestamps like "20080323009267" for which is_string returns false.


maybedatabase format has changed and not beeing upgraded ? Cann anyone tell the data format from tabe revision.rev_timestamp ?

212.53.226.26 (talkcontribs)

btw. commenting that line helps...but i doubt it is the best idea

MarkAHershberger (talkcontribs)

Are you @Erfansol? If so, could you log in to update the information? If not, please create a new post.

Reply to "rev_timestamp: must be a valid"