The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 4 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get simple 3.3.16 support for php 8.0
#92
(2022-12-21, 18:20:29)Oleg06 Wrote:
(2022-12-10, 22:21:35)linden Wrote: Would anyone be able to update I18N Special Pages to support PHP 8?

When trying to save pages I get these errors.
Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc()

Also want to thank everyone for keeping this cms and plugins alive.

I think I managed to fix this plugin. Anyway, the errors are gone and it works. Since I had to edit a lot of lines, I am posting the entire code of the conf_edit.php file.


Please test, look for errors and we will work further.

Thank you so much I will check when I get a chance Smile

---- 

Tested and still getting errors from magic_quotes.

Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /www/plugins/i18n_specialpages/backend.class.php(125): I18nSpecialPagesBackend:Confusedtrip('short-order, _s...') #1 /www/plugins/i18n_specialpages.php(254): I18nSpecialPagesBackend:Confusedave() #2 /www/admin/inc/plugin_functions.php(293): i18n_specialpages_save() #3 /www/admin/changedata.php(179): exec_action('changedata-save') #4 {main} thrown in /www/plugins/i18n_specialpages/backend.class.php on line 113
Reply


Messages In This Thread
RE: Get simple 3.3.16 support for php 8.0 - by linden - 2022-12-21, 19:24:34



Users browsing this thread: 1 Guest(s)