Recent Topics

1 Jun 04, 2015 00:49    

Hi
Just updated to 6.4.3 from 5.2.2 and have had a number of issues, many due to my skin, but I am stuck with a warning at the top of the comments bottom of the post as in the subject above.

See problem at http://calstock.org.uk/elf.php/2001/01/01/victron-75-15

Warning: date() expects parameter 1 to be string, array given in /home/calstock/public_html/inc/_core/_misc.funcs.php on line 1334

This is the code referred to in [/inc/_core/inc/_core/_misc.funcs.php]


$protected_dateformatstring = preg_replace( '/(?<!\\\)([blDeFM])/', '@@@\\\$1@@@', $dateformatstring );
#echo $protected_dateformatstring, '<br />';
$r = date( $protected_dateformatstring, $unixtimestamp );

So any ideas folks?
EDIT 1 changed place where I thought it was, now think it is on single.main.php so hopefully can find the exact location
EDIT 2 In /skins/*****/single.main.php have commented out

$Item->mod_date( array(
'time_format' => 'F jS, Y',
'before' => '<span class="lastedit">'. '&nbsp; Last edited: &nbsp;',
'after' => '</span>',
) );

and all is good

Thanks

My blog of update issues is at http://rogerlovejoy.net/blog/b2evo.php/upgrade-o-6-4-3?page=2 (This one is a 5.2.0 version)

2 05 Jun 2015 08:51

Hi @amoun, thanks for sharing!

Let's check that warning documented in your blog of update issues to see if it appears somewhere else.

3 06 Jun 2015 00:36

Thanks mgsolipa

I have had quite a few problems many sorted by pulling some skin files from fallbacks 5 or 6 and puting them in my custom skin.
Will have another look down that route again.


Form is loading...