1 amoun May 18, 2019 18:42
3 yurabakhtin May 22, 2019 14:24
@amoun Hi, I tested what you wrote, even with same url format with dates in url and &disp=single
, but could not reproduce.
I see your url has the param &disp=single
, I don't know why you have this in urls but it doesn't matter, so as I understand you try to open permanent url of "Post" when it was already updated to "Standalone Page" and you see an expected message like "nothing to display..." and the warning above.
I checked the code in the _results.class.php
on the line 2500
and there is no wrong code.
The warning may appears only if your own skin has a wrong code, I think you should go to your skin files and find function display_if_empty()
, this function may has a single param and it must be an array, i.e. your code must be like display_if_empty( array( 'msg_empty' => '...' ) )
. Please check especially files _single.disp.php
and single.main.php
, if you don't have them then check index.main.php
for the same function display_if_empty()
. It seems your skin uses a not array param there.
Thanks.
4 amoun May 22, 2019 17:59
@yurabakhtin will check my skin out as you suggested. Thanks
5 amoun May 22, 2019 18:36
@yurabakhtin
So far I've found display_if_empty();
in as you suggested, my ancient skin from 2008, an old modified simple-zen
in 6.10.8 as examples
/skins
. . . evopress/single.main.php
. . . basic/index.main.php
. . . bootstrap_manual/_single.disp.php
. . . dating_mood/index.main.php
/skins/fallback_v6/_single.disp.php
in fact I haven't found an instance where there is any with array content.
I was thinking it was the array issue so I will try and replicate and then change the code by adding a constant and message.
6 yurabakhtin Sep 06, 2019 10:12
@amoun Did you fix the warning in your skin?
7 amoun Sep 06, 2019 10:21
Sorry no! Busy building a cabin. Will look sometime hopefully so thanks for the reminder
We'll check, thanks.