Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
php 8.x plugin support repo
#4
(2022-10-17, 01:24:01)celextel Wrote:
(2022-10-11, 20:43:37)multicolor Wrote:
I started fix plugins for community. Today i18n - what next?
or our project with Islander get simple community edition website
 

Dear @multicolor,

Thanks for providing Get Simple Community Edition and also for Plugin Fixes.

We have noticed following Error Message in i18n_navigation Plugin [after applying Fixes]:
[16-Oct-2022 18:29:06 Asia/Kolkata] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/xxxx/public_html/plugins/i18n_navigation/editextras.php on line 11
PHP Code:
    foreach (preg_split('/\s*,\s*/'trim(@$page['tags'])) as $t$tags[$t] = true

We are also noticing following Error Messages in other Plugins:
[16-Oct-2022 18:20:51 Asia/Kolkata] PHP Deprecated:  htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in /home/xxxx/public_html/plugins/i18n_search/searchform.php on line 80
PHP Code:
  <input type="text" name="words" class="search-words" value="<?php echo htmlspecialchars(@$_REQUEST['words']); ?>" <?php if ($placeholderText) echo 'placeholder="'.htmlspecialchars($placeholderText).'"'?>/> 
[16-Oct-2022 18:27:19 Asia/Kolkata] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/xxxx/public_html/plugins/i18n_search/searcher.class.php on line 261
PHP Code:
$this->tags is_array($tags) ? $tags : (trim($tags) != '' preg_split("/\s+/"trim($tags)) : array()); 
[16-Oct-2022 18:27:19 Asia/Kolkata] PHP Deprecated:  trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/xxxx/public_html/plugins/i18n_search/searcher.class.php on line 264  
PHP Code:
$order trim($order); 
[16-Oct-2022 18:21:15 Asia/Kolkata] PHP Deprecated:  preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /home/xxxx/public_html/plugins/pagify.php on line 96
PHP Code:
if (!preg_match('/^hr|(\d+)\s*([a-zA-Z]*)$/',$pageSize,$match)) return $content

Please guide us in this regard.

Thanks,

What version php you test it? I test only i18n - soon i i18n search and rest i18n support. Maybe this is why you saw error.
Reply


Messages In This Thread
php 8.x plugin support repo - by multicolor - 2022-10-11, 20:43:37
RE: php 8.x plugin support repo - by Oleg06 - 2022-10-12, 16:45:04
RE: php 8.x plugin support repo - by celextel - 2022-10-17, 01:24:01
RE: php 8.x plugin support repo - by multicolor - 2022-10-17, 06:16:30
RE: php 8.x plugin support repo - by celextel - 2022-10-17, 11:17:35
RE: php 8.x plugin support repo - by kdxfi - 2022-10-21, 18:54:54
RE: php 8.x plugin support repo - by multicolor - 2022-10-22, 01:33:20
RE: php 8.x plugin support repo - by multicolor - 2022-10-25, 20:09:34
RE: php 8.x plugin support repo - by shawn_a - 2022-10-27, 06:00:28
RE: php 8.x plugin support repo - by multicolor - 2022-10-27, 08:21:59
RE: php 8.x plugin support repo - by shawn_a - 2022-10-27, 06:03:18
RE: php 8.x plugin support repo - by multicolor - 2022-10-27, 08:19:12
RE: php 8.x plugin support repo - by shawn_a - 2022-10-27, 23:18:46
RE: php 8.x plugin support repo - by celextel - 2022-10-29, 17:03:46
RE: php 8.x plugin support repo - by Felix - 2022-10-28, 00:31:14
RE: php 8.x plugin support repo - by shawn_a - 2022-10-28, 00:45:49
RE: php 8.x plugin support repo - by shawn_a - 2022-10-28, 02:22:53
RE: php 8.x plugin support repo - by vanfruniken - 2022-11-01, 09:24:51
RE: php 8.x plugin support repo - by shawn_a - 2022-10-30, 00:06:30
RE: php 8.x plugin support repo - by Felix - 2022-10-30, 02:14:34
RE: php 8.x plugin support repo - by shawn_a - 2022-11-01, 02:02:12
RE: php 8.x plugin support repo - by shawn_a - 2022-11-01, 02:06:23
RE: php 8.x plugin support repo - by shawn_a - 2022-11-01, 12:24:29
RE: php 8.x plugin support repo - by multicolor - 2022-11-10, 03:53:37
RE: php 8.x plugin support repo - by shawn_a - 2022-11-13, 02:42:01
RE: php 8.x plugin support repo - by shawn_a - 2022-11-13, 02:44:00
RE: php 8.x plugin support repo - by davetest - 2022-11-13, 05:44:14
RE: php 8.x plugin support repo - by islander - 2022-11-13, 18:53:12
RE: php 8.x plugin support repo - by davetest - 2022-11-13, 19:45:28
RE: php 8.x plugin support repo - by shawn_a - 2022-11-16, 07:29:47



Users browsing this thread: 1 Guest(s)