Thread Rating:
  • 4 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get simple 3.3.16 support for php 8.0
#89
plugin I18N Search

searchresults.php
line 84
Code:
if (trim($headerText) != '') {
replaced by
Code:
if (trim($headerText ?? '')) {

line 162
Code:
<div class="search-entry-date"><?php echo strftime($dateFormat, $item->pubDate); ?></div>
replaced by
Code:
<div class="search-entry-date"><?php echo date($dateFormat, $item->pubDate); ?></div>

configure.php

line 117
Code:
<tr><td><?php i18n('i18n_search/TRANSLITERATION'); ?></td><td><textarea name="transliteration" style="width:5em; height:100px;" class="text"><?php echo htmlspecialchars(@$params['transliteration']); ?></textarea></td><td></td></tr>
replaced by
Code:
<tr><td><?php i18n('i18n_search/TRANSLITERATION'); ?></td><td><textarea name="transliteration" style="width:5em; height:100px;" class="text"><?php echo htmlspecialchars((string)@$params['transliteration']); ?></textarea></td><td></td></tr>

and as if everything works and the errors have disappeared
Reply


Messages In This Thread
RE: Get simple 3.3.16 support for php 8.0 - by Oleg06 - 2022-12-20, 06:04:55



Users browsing this thread: 1 Guest(s)