Not so fast, earp. The plugin does indeed work, but creates numerous error logs that say this:
Code:
[16-Apr-2023 18:46:16 America/Detroit] PHP Warning: Undefined global variable $_SESSION in /home/thatearp/public_html/includes/extra_configures/enable_error_logging.php on line 84
[16-Apr-2023 18:46:16 America/Detroit] PHP Warning: Trying to access array offset on value of type null in /home/thatearp/public_html/includes/extra_configures/enable_error_logging.php on line 84
[16-Apr-2023 18:46:16 America/Detroit] Request URI: /index.php?main_page=product_info&products_id=5, IP address: 52.167.144.73, Language id
#0 /home/thatearp/public_html/includes/modules/extra_functions.php(36): zen_debug_error_handler()
#1 /home/thatearp/public_html/includes/modules/extra_functions.php(36): include()
#2 /home/thatearp/public_html/includes/init_includes/init_general_funcs.php(38): include('/home/thatearp/...')
#3 /home/thatearp/public_html/includes/autoload_func.php(40): require_once('/home/thatearp/...')
#4 /home/thatearp/public_html/includes/application_top.php(237): require('/home/thatearp/...')
#5 /home/thatearp/public_html/index.php(25): require('/home/thatearp/...')
--> PHP Deprecated: Optional parameter $parent_id declared before required parameter $show_subcategories is implicitly treated as a required parameter in /home/thatearp/public_html/includes/functions/extra_functions/categories_select.php on line 11.
If I switch to PHP 7.4, it still works and there are no errors, so I guess this non-programmer's question is: do I use PHP 7.4 (deprecated, I know)or switch back to PHP 8.1 and live with cleaning out the logs folder every day?
Bookmarks