Help figure out why php8 is not working

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
User avatar
modernmagic
Joomla! Explorer
Joomla! Explorer
Posts: 379
Joined: Mon Aug 10, 2009 3:58 pm
Location: Laguna Beach, CA, USA
Contact:

Help figure out why php8 is not working

Post by modernmagic » Fri Dec 02, 2022 3:23 pm

Can someone help me read the FPA to figure out why my 3.10.11 site is not working with php 8?

When I try to switch to php8, I get this error:
0 - error_reporting(): Argument #1 ($error_level) must be of type ?int, string given

But the Error Reporting is set to None.
And I can see in the config its: public $error_reporting = 'none';


Forum Post Assistant (v1.6.5) : 2-Dec-2022 wrote:
Last PHP Error(s) Reported :: wrote:[02-Dec-2022 01:07:28 UTC] PHP Warning: session_cache_limiter(): Session cache limiter cannot be changed after headers have already been sent in /home/customer/www/retaildisplayusa.com/public_html/libraries/joomla/session/handler/native.php on line 235
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.10.11-Stable (Daraja) 14-August-2022
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Read-Only (444) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: true | .htaccess/web.config: No (ReWrite Enabled but no .htaccess?) | GZip: true | Cache: true | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: true | FTP Layer: false | Proxy: false | LiveSite: | Session lifetime: 15 | Session handler: database | Shared sessions: false | SSL: 2 | Error Reporting: none | Site Debug: true | Language Debug: false | Default Access: Public | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 3.10.11: Yes | Database Supports J! 3.10.11: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 3.12.18-clouder0 | Technology: x86_64 | Web Server: Apache | Encoding: | System TMP Writable: Yes | Free Disk Space : 761.20 GiB |

PHP Configuration :: Version: 8.0.26 | PHP API: apache2handler | Session Path Writable: Yes | Display Errors: 0 | Error Reporting: 30709 | Log Errors To: php_errorlog | Last Known Error: 02nd December 2022 01:07:28. | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 256M | Max. POST Size: 256M | Max. Input Time: 120 | Max. Execution Time: 120 | Memory Limit: 768M

Database Configuration :: Version: 5.7.39-42-log (Client:mysqlnd 8.0.26) | Database Size: 100.11 MiB | #of Tables with config prefix:  290 | #of other Tables:  6 | User Privileges : GRANT ALL
Detailed Environment :: wrote:PHP Extensions :: Core (8.0.26) | date (8.0.26) | libxml (8.0.26) | openssl (8.0.26) | pcre (8.0.26) | sqlite3 (8.0.26) | zlib (8.0.26) | bcmath (8.0.26) | bz2 (8.0.26) | calendar (8.0.26) | ctype (8.0.26) | curl (8.0.26) | dba (8.0.26) | dom (20031129) | enchant (8.0.26) | hash (8.0.26) | fileinfo (8.0.26) | filter (8.0.26) | ftp (8.0.26) | gd (8.0.26) | gettext (8.0.26) | gmp (8.0.26) | SPL (8.0.26) | iconv (8.0.26) | session (8.0.26) | intl (8.0.26) | json (8.0.26) | mbstring (8.0.26) | standard (8.0.26) | mysqlnd (mysqlnd 8.0.26) | mysqli (8.0.26) | PDO (8.0.26) | pdo_mysql (8.0.26) | pdo_pgsql (8.0.26) | pdo_sqlite (8.0.26) | pgsql (8.0.26) | Phar (8.0.26) | posix (8.0.26) | pspell (8.0.26) | Reflection (8.0.26) | imap (8.0.26) | shmop (8.0.26) | SimpleXML (8.0.26) | soap (8.0.26) | sockets (8.0.26) | sodium (8.0.26) | exif (8.0.26) | sysvmsg (8.0.26) | sysvsem (8.0.26) | tidy (8.0.26) | tokenizer (8.0.26) | xml (8.0.26) | xmlreader (8.0.26) | xmlwriter (8.0.26) | xsl (8.0.26) | zip (1.19.5) | apache2handler (8.0.26) | memcached (3.1.5) | Zend OPcache (8.0.26) | Zend Engine (4.0.25-dev) |
Potential Missing Extensions ::

Switch User Environment :: PHP CGI: No | Server SU: No | PHP SU: No | Potential Ownership Issues: No

Apache Modules :: core | mod_authn_file | mod_authn_core | mod_authz_host | mod_authz_groupfile | mod_authz_user | mod_authz_core | mod_access_compat | mod_auth_basic | mod_so | mod_watchdog | mod_include | mod_substitute | mod_deflate | http_core | mod_mime | mod_log_config | mod_env | mod_mime_magic | mod_expires | mod_headers | mod_unique_id | mod_setenvif | mod_version | mod_slotmem_shm | event | mod_unixd | mod_autoindex | mod_cgi | mod_dir | mod_userdir | mod_alias | mod_rewrite | mod_php | mod_dtimeout | mod_filter | mod_robots | mod_rpaf | mod_simpleupdate | mod_backtrace | mod_whatkilledus | mod_idleshutdown | Apache |
Potential Missing Modules :: mod_ssl |
Folder Permissions :: wrote:Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (755) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (755) |

Elevated Permissions (First 10) ::
Database Information :: wrote:Database statistics :: Uptime: 438168 | Threads: 3 | Questions: 238737616 | Slow queries: 4524 | Opens: 20646437 | Flush tables: 1 | Open tables: 3072 | Queries per second avg: 544.854 |
Extensions Discovered :: wrote:Components :: Site ::
Core :: com_mailto (3.0.0) 1 | com_wrapper (3.0.0) 1 |
3rd Party:: WF_CHARMAP_TITLE (2.9.32) ? | WF_IMGMANAGER_TITLE (2.9.32) ? | WF_CONTEXTMENU_TITLE (2.9.32) ? | WF_VISUALBLOCKS_TITLE (2.9.32) ? | WF_SPELLCHECKER_TITLE (2.9.32) ? | WF_FONTSELECT_TITLE (2.9.32) ? | WF_FORMATSELECT_TITLE (2.9.32) ? | JCE - Noneditable (1.0.0) ? | WF_CLIPBOARD_TITLE (2.9.32) ? | WF_SOURCE_TITLE (2.9.32) ? | WF_FONTSIZESELECT_TITLE (2.9.32) ? | WF_STYLESELECT_TITLE (2.9.32) ? | WF_KITCHENSINK_TITLE (2.9.32) ? | WF_ARTICLE_TITLE (2.9.32) ? | WF_HELP_TITLE (2.9.32) ? | WF_BROWSER_TITLE (2.9.32) ? | WF_DIRECTIONALITY_TITLE (2.9.32) ? | WF_LANGCODE_TITLE (2.9.32) ? | WF_STYLE_TITLE (2.9.32) ? | WF_NONBREAKING_TITLE (2.9.32) ? | WF_ANCHOR_TITLE (2.9.32) ? | WF_VISUALCHARS_TITLE (2.9.32) ? | WF_PREVIEW_TITLE (2.9.32) ? | WF_TABLE_TITLE (2.9.32) ? | WF_ATTRIBUTES_TITLE (2.9.32) ? | WF_MEDIA_TITLE (2.9.32) ? | WF_FULLSCREEN_TITLE (2.9.32) ? | WF_REFERENCE_TITLE (2.9.32) ? | WF_LAYER_TITLE (2.8.2) ? | WF_PRINT_TITLE (2.9.32) ? | WF_FONTCOLOR_TITLE (2.9.32) ? | WF_EMOTIONS_TITLE (2.9.32) ? | WF_WORDCOUNT_TITLE (2.9.32) ? | WF_CLEANUP_TITLE (2.9.32) ? | WF_SEARCHREPLACE_TITLE (2.9.32) ? | WF_LISTS_TITLE (2.9.32) ? | WF_HR_TITLE (2.9.32) ? | WF_TEXTCASE_TITLE (2.9.32) ? | WF_AUTOSAVE_TITLE (2.9.32) ? | WF_XHTMLXTRAS_TITLE (2.9.22) ? | WF_LINK_TITLE (2.9.32) ? | WF_FILESYSTEM_JOOMLA_TITLE (2.9.32) ? | WF_LINK_SEARCH_TITLE (2.9.32) ? | WF_POPUPS_JCEMEDIABOX_TITLE (2.9.32) ? | WF_LINKS_JOOMLALINKS_TITLE (2.9.32) ? | WF_AGGREGATOR_VIMEO_TITLE (2.9.32) ? | WF_AGGREGATOR_AUDIO_TITLE (2.9.32) ? | WF_AGGREGATOR_DAILYMOTION_TITLE (2.9.32) ? | WF_AGGREGATOR_VIDEO_TITLE (2.9.32) ? | WF_AGGREGATOR_[youtube]_TITLE (2.9.32) ? |

Components :: Admin ::
Core :: com_modules (3.0.0) 1 | com_search (3.0.0) 1 | com_tags (3.1.0) 1 | com_messages (3.0.0) 1 | com_templates (3.0.0) 1 | com_actionlogs (3.9.0) 1 | com_cpanel (3.0.0) 1 | com_users (3.0.0) 1 | com_categories (3.0.0) 1 | com_banners (3.0.0) 1 | com_newsfeeds (3.0.0) 1 | com_privacy (3.9.0) 1 | com_media (3.0.0) 1 | com_cache (3.0.0) 1 | com_languages (3.0.0) 1 | com_postinstall (3.2.0) 1 | com_joomlaupdate (3.10.1) 1 | com_redirect (3.0.0) 1 | com_login (3.0.0) 1 | com_finder (3.0.0) 1 | com_config (3.0.0) 1 | com_content (3.0.0) 1 | com_ajax (3.2.0) 1 | com_contenthistory (3.2.0) 1 | com_weblinks (3.6.0) 0 | com_menus (3.0.0) 1 | com_associations (3.7.0) 1 | com_installer (3.0.0) 1 | com_admin (3.0.0) 1 | com_checkin (3.0.0) 1 | com_plugins (3.0.0) 1 | com_fields (3.7.0) 1 |
3rd Party:: tcpdf (1.2.2) 0 | tcpdf (1.0.0) 0 | Comparelist (1.0.0) ? | COM_JCE (2.9.32) 0 | Admintools (6.1.7) 0 | plg_search_cooltagsearch (1.0) 0 | VMCustom - Cooltags (1.0) 0 | Cooltags Cloud (1.0) 0 | com_cooltags (1.3) 0 | VirtueMart_allinone (-) 1 | VirtueMart_allinone (-) 1 | AcyMailing (5.10.4) 0 | Akeeba (8.2.2) 1 | ECB Currency Converter (1.0) ? | VIRTUEMART (-) 1 | Wishlists (0.01) ? | COM_ADVANCEDMODULES (9.5.4) 1 | COM_REGULARLABSMANAGER (8.2.2) 0 | COM_OSMAP (5.0.8) 1 | COM_K2 (2.10.3) 0 | jmsmultiupload (2.5) 1 | COM_JCHOPTIMIZE_PRO (7.3.2) 1 | JComments (3.0.7) ? | com_uniterevolution2 (5.0.8) 1 |

Modules :: Site ::
Core :: mod_users_latest (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_articles_latest (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_search (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_weblinks (3.6.0) 0 | mod_wrapper (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_login (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_tags_similar (3.1.0) 1 | mod_feed (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_articles_archive (3.0.0) 1 |
3rd Party:: mod_virtuemart_product (4.0.4) 1 | Unite Slider 2 (4.7) 1 | Social Slider (1.0) 1 | MOD_JGMAP (1.0.37) 1 | mod_virtuemart_search_tf (3.0.14) 1 | VirtueMart Manufacturers Velikorodn (3.0.9.6) ? | mod_wishlist (0.0.1) 1 | mod_virtuemart_manufacturer (4.0.4) 1 | mod_comparelist (0.0.1) 0 | VirtueMart Shopping Cart Velikorodn (2.0.0RC3) ? | Modules VirtueMart Product Velikoro (2.9.9.2) ? | Modules VirtueMart Currencies Velik (2.9.9.2) ? | K2 Content (2.10.3) 0 | IsotopeMart layout for VirtueMart (1.0.0) 1 | K2 Users (2.10.3) 0 | mod_virtuemart_currencies (4.0.4) 1 | K2 User (2.10.3) 0 | mod_virtuemart_search (4.0.4) 1 | K2 Comments (2.10.3) 0 | mod_virtuemart_cart (4.0.4) 1 | JS Cookie Alert (1.0) 1 | Responsive color google map (1.0) 1 | Search (filter) module for Virtuema (3.0.2) ? | mod_virtuemart_category (4.0.4) 1 | VirtueMart Countdown (1.2.0) 1 | MyLiveChat (2.0.0) 1 | VirtueMart Category Velikorodnov (3.0.9.6) 1 | Cooltags Cloud (1.0) 0 | K2 Tools (2.10.3) 0 | AcyMailing Module (3.7.0) 0 | Virtuemart2.0.x products (0.0.1) 1 | YJ Pop Login (1.0.7) 1 |

Modules :: Admin ::
Core :: mod_status (3.0.0) 1 | mod_latestactions (3.9.0) 1 | mod_latest (3.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_stats_admin (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_version (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_logged (3.0.0) 1 | mod_login (3.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_title (3.0.0) 1 |
3rd Party:: K2 Stats (admin) (2.10.3) 0 | MOD_CACHECLEANER (8.2.2) 1 | K2 Quick Icons (admin) (2.10.3) 0 | VirtueMart Administrator Menu (4.0.4) ? | MOD_JCHMODESWITCHER (7.3.2) 1 |

Libraries ::
Core ::
3rd Party:: file_fof40 (4.1.1) ? | Free Mono (-) ? | Helvetica (-) ? | Regular Labs Library (22.11.18960) 1 |

Plugins ::
Core :: plg_search_contacts (3.0.0) 1 | plg_search_tags (3.0.0) 1 | plg_search_content (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_search_weblinks (3.6.0) 0 | plg_search_categories (3.0.0) 1 | plg_twofactorauth_yubikey (3.2.0) 0 | plg_twofactorauth_totp (3.2.0) 0 | plg_finder_contacts (3.0.0) 0 | plg_finder_tags (3.0.0) 0 | plg_finder_content (3.0.0) 0 | plg_finder_newsfeeds (3.0.0) 0 | plg_finder_weblinks (3.6.0) 0 | plg_finder_categories (3.0.0) 0 | plg_authentication_ldap (3.0.0) 0 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_gmail (3.0.0) 0 | plg_authentication_cookie (3.0.0) 1 | PLG_ACTIONLOG_JOOMLA (3.9.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_module (3.5.0) 0 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_repeatable (3.9.0) 1 | plg_fields_user (3.7.0) 1 | plg_system_p3p (3.0.0) 0 | plg_system_log (3.0.0) 1 | plg_system_logrotation (3.9.0) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_updatenotification (3.5.0) 0 | plg_system_fields (3.7.0) 1 | plg_system_sef (3.0.0) 1 | plg_system_debug (3.0.0) 1 | plg_system_redirect (3.0.0) 1 | plg_system_remember (3.0.0) 1 | PLG_SYSTEM_ACTIONLOGS (3.9.0) 1 | plg_system_cache (3.0.0) 0 | plg_system_sessiongc (3.8.6) 1 | plg_system_stats (3.5.0) 1 | plg_system_languagefilter (3.0.0) 1 | plg_system_highlight (3.0.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_languagecode (3.0.0) 0 | plg_content_finder (3.0.0) 0 | plg_content_emailcloak (3.0.0) 1 | plg_content_confirmconsent (3.9.0) 0 | plg_content_fields (3.7.0) 1 | plg_content_geshi (2.5.0) 0 | plg_content_joomla (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_vote (3.0.0) 1 | plg_content_pagenavigation (3.0.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_privacy_message (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_eos310 (3.10.0) 1 | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | plg_installer_webinstaller (2.1.2) 1 | PLG_INSTALLER_URLINSTALLER (3.6.0) 1 | plg_captcha_recaptcha_invisible (3.8) 1 | plg_captcha_recaptcha (3.4.0) 0 | plg_user_profile (3.0.0) 0 | plg_user_joomla (3.0.0) 1 | plg_user_terms (3.9.0) 1 | plg_user_contactcreator (3.0.0) 0 | plg_extension_joomla (3.0.0) 1 |
3rd Party:: Search - K2 (2.10.3) 0 | plg_search_jcomments (1.0) 0 | Search - VirtueMart (4.0.4) ? | plg_search_cooltagsearch (1.0) 0 | plg_finder_k2 (2.10.3) 0 | PLG_ACTIONLOG_ADMINTOOLS (6.1.7) 0 | PLG_ACTIONLOG_AKEEBABACKUP (8.2.2) 0 | PLG_ACTIONLOG_ADVANCEDMODULES (9.5.4) 1 | PLG_ACTIONLOG_REGULARLABSMANAGER (8.2.2) 1 | PLG_EDITORS-XTD_MODULESANYWHERE (7.16.1) 1 | plg_editors-xtd_jcommentsoff (1.0) 0 | plg_editors-xtd_jcommentson (1.0) 0 | By weight, ZIP and countries (4.0.4) 1 | plg_editors_jce (2.9.32) 0 | plg_editors_tinymce (4.5.12) 1 | AcyMailing Editor (5.10.4) 0 | plg_editors_codemirror (5.60.0) 1 | Quantity Rules for VirtueMart 2 and (1.8.9) ? | VM - Calculation Avalara Tax (4.0.4) ? | PLG_OSMAP_KUNENA (5.0.8) 0 | PLG_OSMAP_SHACKLOCATIONS (5.0.8) 0 | PLG_OSMAP_PHOCAGALLERY (5.0.8) 0 | PLG_OSMAP_JDOWNLOADS (5.0.8) 0 | PLG_OSMAP_VM (5.0.8) 0 | PLG_OSMAP_JOOMLA (5.0.8) 1 | PLG_OSMAP_K2 (5.0.8) 0 | PLG_OSMAP_SOBIPRO (5.0.8) 0 | PLG_OSMAP_OSCAMPUS (5.0.8) 0 | plg_fields_mediajce (2.9.32) 1 | PLG_SYSTEM_BACKUPONUPDATE (8.2.2) 1 | PLG_SYSTEM_VMLOADERPLUGINUPDATE (4.0.4) ? | AMAZON (4.0.4) ? | AcyMailing JCE integration (5.10.4) 0 | plg_system_jce (2.9.32) 1 | System - K2 (2.10.3) 0 | System - Google Maps (3.5) 1 | System - VirtueMart One Page Checko (2.3.6) ? | PLG_SYSTEM_CACHECLEANER (8.2.2) 1 | wishlists (1.0) 1 | PLG_SYSTEM_ADMINTOOLS (6.1.7) 1 | PLG_SYSTEM_MODULESANYWHERE (7.16.1) 1 | plg_system_jcomments (1.0) 0 | vmVendor (1.0) 1 | PLG_SYSTEM_JCHOPTIMIZEPAGECACHE (7.3.2) 0 | PLG_SYSTEM_JCHOPTIMIZE (7.3.2) 1 | plg_system_fatal_catcher (10.419.2361) 0 | Joomla Options (0.0.1) 1 | mySites.guru Secure Plugin (n/a) 1 | plg_system_osmylicensesmanager (2.0.15) 1 | System - Virtuemart Slider (2.5.0) 1 | PLG_JSCSSCONTROL (3-1) 0 | PLG_SYSTEM_ADVANCEDMODULES (9.5.4) 1 | System - VirtueMart One Page Checko (2.3.3) ? | AcyMailing : (auto)Subscribe during (5.10.4) ? | VM - Search autocomplete (1.0) 1 | plg_system_vm2_cart (1.1) 1 | PLG_SYSTEM_JQUERYEASY (5.1.0) 0 | System - JMS Multi Upload For Virtu (1.0) ? | PLG_SYSTEM_REGULARLABS (22.11.18960) 1 | T3 Framework (3.1.1) 1 | plg_content_jce (2.9.32) 1 | PLG_SYSTEM_JMSVMRICHSNIPPETS (1.2) 0 | plg_content_jcomments (1.0) 0 | plg_quickicon_jce (2.9.32) 1 | plg_quickicon_jcomments (1.0) 0 | plg_quickicon_akeebabackup (8.2.2) 1 | AcyMailing Tag and filter : Communi (3.7.2) ? | AcyMailing Tag and filter : Communi (3.7.2) ? | AcyMailing Template Class Replacer (5.10.4) 0 | AcyMailing Tag : content insertion (3.7.0) 0 | AcyMailing Tag : Date / Time (5.10.4) 0 | AcyMailing : trigger Joomla Content (3.7.0) ? | AcyMailing Tag : Website links (3.7.0) 0 | AcyMailing Manage text (1.0.0) 0 | AcyMailing : share on social networ (1.0.0) ? | AcyMailing Tag : Joomla User Inform (5.10.4) ? | AcyMailing : Statistics Plugin (3.7.0) 0 | AcyMailing Tag : Manage the Subscri (5.10.4) ? | AcyMailing table of contents genera (1.0.0) ? | AcyMailing Tag : Subscriber informa (5.10.4) ? | plg_installer_jce (2.9.32) 1 | PLG_INSTALLER_ADMINTOOLS (6.1.7) 1 | PLG_INSTALLER_AKEEBABACKUP (8.2.2) 1 | Installer - Daycounts (4.1.0) 1 | Josetta - K2 Items (2.6.9) 0 | Josetta - K2 Categories (2.6.9) 0 | VM Payment - Paybox System 3D V2 (4.0.4) ? | Klarna Checkout (3.8.6) ? | AMAZON (4.0.4) ? | Skrill (4.0.4) ? | Heidelpay (16.11.07) 0 | PayPal (4.0.4) 1 | Sofort (4.0.4) ? | VM Payment - Offline Credit Card (2.6.4) 1 | Standard (4.0.4) 1 | VM Payment - klikandpay (4.0.4) ? | 2Checkout (4.0.4) ? | Klarna (3.8.6) 0 | VM Payment - eway (4.0.4) ? | Sofort Ideal (4.0.4) ? | realex_hpp_api (4.0.0) ? | Authorize.net AIM (4.0.4) ? | VMCustom - textinput (4.0.4) ? | Virtuemart 2 multiple customfield p (3.0.4) ? | VM - Custom, Virtuemart Simple Down (${PHING.VERSI) ? | VMCustom - Cooltags (1.0) 0 | plgvm_specification (4.0.4) ? | VMCustom - [youtube] (1.0) 1 | Realex_hpp_api (4.0.4) ? | User - K2 (2.10.3) 0 | plg_user_jcomments (1.0) 0 | PLG_USER_JCHOPTIMIZEUSERSTATE (7.3.2) 1 | plg_extension_jce (2.9.32) 1 |
Templates Discovered :: wrote:Templates :: Site :: protostar (1.0) 1 | t3_bs3_blank (2.3.0) 1 | beez3 (3.1.0) 0 |
Templates :: Admin :: hathor (3.0.0) 0 | vmadmin (3.8.9) 1 | isis (1.0) 1 |
Last edited by imanickam on Fri Dec 02, 2022 4:44 pm, edited 1 time in total.
Reason: Disabled Smilies
Joomla! Website Designer http://www.modernmagic.com
Joomla! User Group Leadership Team http://www.ocjoomlausergroup.org/

gws
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4952
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: Help figure out why php8 is not working

Post by gws » Fri Dec 02, 2022 5:03 pm

Site works OK for me.

User avatar
PhilTaylor-Prazgod
Joomla! Ace
Joomla! Ace
Posts: 1310
Joined: Sat Aug 20, 2005 12:32 pm
Location: Jersey, Channel Islands
Contact:

Re: Help figure out why php8 is not working

Post by PhilTaylor-Prazgod » Fri Dec 02, 2022 5:13 pm

Impossible to say from a FPA.

To make Joomla compatible with PHP 8 (The only serious, supported, secure series now) do this.

1) Enable PHP 8.1 on your webspace
2) Edit /configuration.php and set debug = true
3) Edit /configuration.php and set error_reporting = development
4) Load your home page - copy and paste the error and the stack trace. See note A below.
5) Fix that Error - Google. Paste in forums. Demand developer of plugin fix their code. Seek professional help if that is out of your ability.
6) Load your home page - if an error copy and paste the error and the stack trace and go to 5, if no error message go to 7
7) Edit /configuration.php and set debug = false
8.) Edit /configuration.php and set error_reporting = none
9) #Winning

Note A) - if 4) above doesn't give you a stack trace, then rename /templates/YOURTEMPLATE/error.php to something else to stop if hijacking default Joomla error handler.

Note B) - if note A doesn't give you a stack trace, then you need to work out which framework is also hijacking error handling - thins like Koowa from JoomlaTools does this!
Phil Taylor
Founder, Lead Developer, Idiot.
- https://mySites.guru - Manage Multiple Joomla/WordPress Sites In One Dashboard for Security, Audits, Backups and more....
- https://www.phil-taylor.com/

User avatar
Pavel-ww
Joomla! Guru
Joomla! Guru
Posts: 873
Joined: Tue Jun 30, 2020 12:17 pm

Re: Help figure out why php8 is not working

Post by Pavel-ww » Sat Dec 03, 2022 7:38 am

Hi. The main suspects for me - Acymailing (you have an old version), K2 (not updated for several years), Virtuemart, JComments (development has long been stopped)

Exampe with Acymailing
1.jpg
You must make sure that all third -party extensions you use work with PHP8. Contact their developers for information.
You do not have the required permissions to view the files attached to this post.

User avatar
modernmagic
Joomla! Explorer
Joomla! Explorer
Posts: 379
Joined: Mon Aug 10, 2009 3:58 pm
Location: Laguna Beach, CA, USA
Contact:

Re: Help figure out why php8 is not working

Post by modernmagic » Sat Dec 03, 2022 9:33 pm

Pavel,
Acymailing, K2, and JComments were all disabled. However due to this issue I have uninstalled them.

This is a VM 4.0.6 site which is php8 compatible according to this (https://virtuemart.net/news/506-virtuemart-4)
Joomla! Website Designer http://www.modernmagic.com
Joomla! User Group Leadership Team http://www.ocjoomlausergroup.org/

User avatar
modernmagic
Joomla! Explorer
Joomla! Explorer
Posts: 379
Joined: Mon Aug 10, 2009 3:58 pm
Location: Laguna Beach, CA, USA
Contact:

Re: Help figure out why php8 is not working

Post by modernmagic » Sat Dec 03, 2022 9:39 pm

Error reporting displayed this:


Deprecated: Joomla\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/customer/www/retaildisplayusa.com/public_html/libraries/vendor/joomla/input/src/Input.php on line 41

Deprecated: Return type of Joomla\Input\Input::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/customer/www/retaildisplayusa.com/public_html/libraries/vendor/joomla/input/src/Input.php on line 170

Deprecated: Joomla\CMS\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/customer/www/retaildisplayusa.com/public_html/libraries/src/Input/Input.php on line 31

Warning: session_name(): Session name cannot be changed after headers have already been sent in /home/customer/www/retaildisplayusa.com/public_html/libraries/joomla/session/handler/native.php on line 128

Deprecated: Joomla\CMS\Input\Cookie implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/customer/www/retaildisplayusa.com/public_html/libraries/src/Input/Cookie.php on line 0

Warning: session_cache_limiter(): Session cache limiter cannot be changed after headers have already been sent in /home/customer/www/retaildisplayusa.com/public_html/libraries/joomla/session/handler/native.php on line 235
Error: Failed to start application: Failed to start the session because headers have already been sent by "/home/customer/www/retaildisplayusa.com/public_html/libraries/vendor/joomla/input/src/Input.php" at line 41.
Joomla! Website Designer http://www.modernmagic.com
Joomla! User Group Leadership Team http://www.ocjoomlausergroup.org/

User avatar
modernmagic
Joomla! Explorer
Joomla! Explorer
Posts: 379
Joined: Mon Aug 10, 2009 3:58 pm
Location: Laguna Beach, CA, USA
Contact:

Re: Help figure out why php8 is not working

Post by modernmagic » Sat Dec 03, 2022 9:42 pm

Here is the latest from php_errorlog

[03-Dec-2022 21:26:41 UTC] PHP Deprecated: Joomla\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/customer/www/retaildisplayusa.com/public_html/libraries/vendor/joomla/input/src/Input.php on line 41
[03-Dec-2022 21:26:41 UTC] PHP Deprecated: Return type of Joomla\Input\Input::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/customer/www/retaildisplayusa.com/public_html/libraries/vendor/joomla/input/src/Input.php on line 170
[03-Dec-2022 21:26:41 UTC] PHP Deprecated: Joomla\CMS\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/customer/www/retaildisplayusa.com/public_html/libraries/src/Input/Input.php on line 31
[03-Dec-2022 21:26:41 UTC] PHP Warning: session_name(): Session name cannot be changed after headers have already been sent in /home/customer/www/retaildisplayusa.com/public_html/libraries/joomla/session/handler/native.php on line 128
[03-Dec-2022 21:26:41 UTC] PHP Deprecated: Joomla\CMS\Input\Cookie implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/customer/www/retaildisplayusa.com/public_html/libraries/src/Input/Cookie.php on line 0
[03-Dec-2022 21:26:41 UTC] PHP Warning: session_cache_limiter(): Session cache limiter cannot be changed after headers have already been sent in /home/customer/www/retaildisplayusa.com/public_html/libraries/joomla/session/handler/native.php on line 235
[03-Dec-2022 21:26:42 UTC] PHP Deprecated: Joomla\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/customer/www/retaildisplayusa.com/public_html/libraries/vendor/joomla/input/src/Input.php on line 41
[03-Dec-2022 21:26:42 UTC] PHP Deprecated: Return type of Joomla\Input\Input::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/customer/www/retaildisplayusa.com/public_html/libraries/vendor/joomla/input/src/Input.php on line 170
[03-Dec-2022 21:26:42 UTC] PHP Deprecated: Joomla\CMS\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/customer/www/retaildisplayusa.com/public_html/libraries/src/Input/Input.php on line 31
[03-Dec-2022 21:26:42 UTC] PHP Warning: session_name(): Session name cannot be changed after headers have already been sent in /home/customer/www/retaildisplayusa.com/public_html/libraries/joomla/session/handler/native.php on line 128
[03-Dec-2022 21:26:42 UTC] PHP Deprecated: Joomla\CMS\Input\Cookie implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/customer/www/retaildisplayusa.com/public_html/libraries/src/Input/Cookie.php on line 0
[03-Dec-2022 21:26:42 UTC] PHP Warning: session_cache_limiter(): Session cache limiter cannot be changed after headers have already been sent in /home/customer/www/retaildisplayusa.com/public_html/libraries/joomla/session/handler/native.php on line 235
[03-Dec-2022 21:37:59 UTC] PHP Deprecated: Joomla\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/customer/www/retaildisplayusa.com/public_html/libraries/vendor/joomla/input/src/Input.php on line 41
[03-Dec-2022 21:37:59 UTC] PHP Deprecated: Return type of Joomla\Input\Input::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/customer/www/retaildisplayusa.com/public_html/libraries/vendor/joomla/input/src/Input.php on line 170
[03-Dec-2022 21:37:59 UTC] PHP Deprecated: Joomla\CMS\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/customer/www/retaildisplayusa.com/public_html/libraries/src/Input/Input.php on line 31
[03-Dec-2022 21:37:59 UTC] PHP Warning: session_name(): Session name cannot be changed after headers have already been sent in /home/customer/www/retaildisplayusa.com/public_html/libraries/joomla/session/handler/native.php on line 128
[03-Dec-2022 21:37:59 UTC] PHP Deprecated: Joomla\CMS\Input\Cookie implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/customer/www/retaildisplayusa.com/public_html/libraries/src/Input/Cookie.php on line 0
[03-Dec-2022 21:37:59 UTC] PHP Warning: session_cache_limiter(): Session cache limiter cannot be changed after headers have already been sent in /home/customer/www/retaildisplayusa.com/public_html/libraries/joomla/session/handler/native.php on line 235
[03-Dec-2022 21:37:59 UTC] PHP Deprecated: Joomla\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/customer/www/retaildisplayusa.com/public_html/libraries/vendor/joomla/input/src/Input.php on line 41
[03-Dec-2022 21:37:59 UTC] PHP Deprecated: Return type of Joomla\Input\Input::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/customer/www/retaildisplayusa.com/public_html/libraries/vendor/joomla/input/src/Input.php on line 170
[03-Dec-2022 21:37:59 UTC] PHP Deprecated: Joomla\CMS\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/customer/www/retaildisplayusa.com/public_html/libraries/src/Input/Input.php on line 31
[03-Dec-2022 21:37:59 UTC] PHP Warning: session_name(): Session name cannot be changed after headers have already been sent in /home/customer/www/retaildisplayusa.com/public_html/libraries/joomla/session/handler/native.php on line 128
[03-Dec-2022 21:37:59 UTC] PHP Deprecated: Joomla\CMS\Input\Cookie implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/customer/www/retaildisplayusa.com/public_html/libraries/src/Input/Cookie.php on line 0
[03-Dec-2022 21:37:59 UTC] PHP Warning: session_cache_limiter(): Session cache limiter cannot be changed after headers have already been sent in /home/customer/www/retaildisplayusa.com/public_html/libraries/joomla/session/handler/native.php on line 235
[03-Dec-2022 21:38:36 UTC] PHP Deprecated: Joomla\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/customer/www/retaildisplayusa.com/public_html/libraries/vendor/joomla/input/src/Input.php on line 41
[03-Dec-2022 21:38:36 UTC] PHP Deprecated: Return type of Joomla\Input\Input::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/customer/www/retaildisplayusa.com/public_html/libraries/vendor/joomla/input/src/Input.php on line 170
[03-Dec-2022 21:38:36 UTC] PHP Deprecated: Joomla\CMS\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/customer/www/retaildisplayusa.com/public_html/libraries/src/Input/Input.php on line 31
[03-Dec-2022 21:38:36 UTC] PHP Warning: session_name(): Session name cannot be changed after headers have already been sent in /home/customer/www/retaildisplayusa.com/public_html/libraries/joomla/session/handler/native.php on line 128
[03-Dec-2022 21:38:36 UTC] PHP Deprecated: Joomla\CMS\Input\Cookie implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/customer/www/retaildisplayusa.com/public_html/libraries/src/Input/Cookie.php on line 0
[03-Dec-2022 21:38:36 UTC] PHP Warning: session_cache_limiter(): Session cache limiter cannot be changed after headers have already been sent in /home/customer/www/retaildisplayusa.com/public_html/libraries/joomla/session/handler/native.php on line 235
Joomla! Website Designer http://www.modernmagic.com
Joomla! User Group Leadership Team http://www.ocjoomlausergroup.org/

User avatar
modernmagic
Joomla! Explorer
Joomla! Explorer
Posts: 379
Joined: Mon Aug 10, 2009 3:58 pm
Location: Laguna Beach, CA, USA
Contact:

Re: Help figure out why php8 is not working

Post by modernmagic » Sat Dec 03, 2022 9:56 pm

PhilTaylor-Prazgod wrote:
Fri Dec 02, 2022 5:13 pm

Note A) - if 4) above doesn't give you a stack trace, then rename /templates/YOURTEMPLATE/error.php to something else to stop if hijacking default Joomla error handler.

Note B) - if note A doesn't give you a stack trace, then you need to work out which framework is also hijacking error handling - thins like Koowa from JoomlaTools does this!
There is not a error.php in the T3 template. I still don't see the Debug when switching to Protostar.
Joomla! Website Designer http://www.modernmagic.com
Joomla! User Group Leadership Team http://www.ocjoomlausergroup.org/

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 8316
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Help figure out why php8 is not working

Post by AMurray » Sat Dec 03, 2022 10:00 pm

No one else seems to have mentioned it, but as noted a few times recently on this forum, PHP 8.1 doesn't work with Joomla 3.10.x. I see PHP 8.0.x is already active in your FPA.

The T3 template version in the FPA says v2.3.0 (2014), but according to the T3 template downloads page and Change log, the current version of the template is 3.1.2 (2 December 2022), so a very recent update.

Note:
Compatibility with PHP 8.1 was added in November 2022 according to the Change log.

Compatibility with PHP 8.0 was added in October 2021, according to the Change log.

So I might be guessing or making assumptions here, but one reason for the trouble is the outdated T3 template. ProtoStar should work fine on PHP 8.0.x
Regards - A Murray

User avatar
modernmagic
Joomla! Explorer
Joomla! Explorer
Posts: 379
Joined: Mon Aug 10, 2009 3:58 pm
Location: Laguna Beach, CA, USA
Contact:

Re: Help figure out why php8 is not working

Post by modernmagic » Sun Dec 04, 2022 4:42 pm

This is my dev site copy. PHP 8.0.26 is enabled:
https://modernmagic18.sg-host.com

I was finally able to get the stack trace to appear:
error_reporting(): Argument #1 ($error_level) must be of type ?int, string given
/home/customer/www/modernmagic18.sg-host.com/public_html/plugins/system/vm_search_ac/vm_search_ac.php:10

Call stack
# Function Location
1 () JROOT/plugins/system/vm_search_ac/vm_search_ac.php:10
2 error_reporting() JROOT/plugins/system/vm_search_ac/vm_search_ac.php:10
3 require_once() JROOT/libraries/src/Plugin/PluginHelper.php:251
4 Joomla\CMS\Plugin\PluginHelper::import() JROOT/libraries/src/Plugin/PluginHelper.php:182
5 Joomla\CMS\Plugin\PluginHelper::importPlugin() JROOT/libraries/src/Application/CMSApplication.php:667
6 Joomla\CMS\Application\CMSApplication->initialiseApp() JROOT/libraries/src/Application/SiteApplication.php:686
7 Joomla\CMS\Application\SiteApplication->initialiseApp() JROOT/libraries/src/Application/SiteApplication.php:212
8 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:225
9 Joomla\CMS\Application\CMSApplication->execute() JROOT/index.php:49
Joomla! Website Designer http://www.modernmagic.com
Joomla! User Group Leadership Team http://www.ocjoomlausergroup.org/

User avatar
modernmagic
Joomla! Explorer
Joomla! Explorer
Posts: 379
Joined: Mon Aug 10, 2009 3:58 pm
Location: Laguna Beach, CA, USA
Contact:

Re: Help figure out why php8 is not working

Post by modernmagic » Sun Dec 04, 2022 4:44 pm

/home/customer/www/modernmagic18.sg-host.com/public_html/plugins/system/vm_search_ac/vm_search_ac.php:10

This is line 10:
error_reporting('E_ALL');
Joomla! Website Designer http://www.modernmagic.com
Joomla! User Group Leadership Team http://www.ocjoomlausergroup.org/

frostmakk
Joomla! Explorer
Joomla! Explorer
Posts: 254
Joined: Sun Dec 28, 2014 9:30 am
Location: Stavanger, Norway

Re: Help figure out why php8 is not working

Post by frostmakk » Sun Dec 04, 2022 8:18 pm

E_ALL is a predefined PHP Constant, so the line should be
error_reporting(E_ALL);


Post Reply

Return to “General Questions/New to Joomla! 3.x”