Migration J! 3.10.11 to J1 4.3.2 ok with PHP 7.4, front-end error with PHP8.0

Need help upgrading your Joomla! website or converting to Joomla! 4.x?

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
tomcso
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Wed Jun 07, 2023 7:13 am

Migration J! 3.10.11 to J1 4.3.2 ok with PHP 7.4, front-end error with PHP8.0

Post by tomcso » Wed Jun 07, 2023 8:00 am

Hi, help with the following issue would be highly appreciated:

I did a migration of a site, originally Joomla v3.10.11, to v4.3.2
Hosted at OVH, the PHP version was set to 7.4.
The migration was made usnig a copy of the J! site, so both installations are live.
Both worked fine under PHP 7.4, but when switching the hosting to PHP 8.0 the J! 4.3.2 website only shows errors, while the J!3 website still is working fine. Backe-end works fine for J!3 and J!4 istallations, only front-end of the J!4 is affected.

I did a test with the template (Gavick Photo) alone, it works fine under PHP8. Deactivating the few extensions I use, did not help neither.

The J!3 site is here: https://www.pazo-chaioso.com/Pz5
The J!4 site is here: https://www.pazo-chaioso.com/Pz5copy

Here are the first lines of the showing error (full error text is attached below as .txt):

object(TypeError)#1365 (7) {
["message":protected]=>
string(73) "array_replace(): Argument #1 ($array) must be of type array, string given"
["string":"Error":private]=>
string(0) ""
["code":protected]=>
int(0)
["file":protected]=>
string(78) "/home/chaioso/www/pazo-chaioso.com/Pz5copy/libraries/src/Document/Document.php"
["line":protected]=>
int(619)
["trace":"Error":private]=>
array(16) {
[0]=>
array(4) {
["file"]=>
string(78) "/home/chaioso/www/pazo-chaioso.com/Pz5copy/libraries/src/Document/Document.php"
["line"]=>
int(619)

tomcso
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Wed Jun 07, 2023 7:13 am

Re: Migration J! 3.10.11 to J1 4.3.2 ok with PHP 7.4, front-end error with PHP8.0

Post by tomcso » Wed Jun 07, 2023 8:05 am

Below is the full error message attached, displayed when PHP 8.0 is set and https://www.pazo-chaioso.com/Pz5copy is opened
You do not have the required permissions to view the files attached to this post.

tomcso
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Wed Jun 07, 2023 7:13 am

Re: Migration J! 3.10.11 to J1 4.3.2 ok with PHP 7.4, front-end error with PHP8.0

Post by tomcso » Wed Jun 07, 2023 8:22 am

Here is the FPA generated post:
Forum Post Assistant (v1.6.6) : 7-Jun-2023 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 4.3.2-Stable (Bora) 30-May-2023
Joomla! Configured :: Yes | Read-Only (444) |
Configuration Options :: Offline: false | SEF: false | SEF Suffix: false | SEF ReWrite: true | .htaccess/web.config: Yes | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: false | Proxy: false | LiveSite: | Session lifetime: 150 | Session handler: database | Shared sessions: false | SSL: 2 | Error Reporting: maximum | Site Debug: false | Language Debug: false | Default Access: Public | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 4.3.2: Yes | Database Supports J! 4.3.2: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 5.15.74-ovh-vps-grsec-zfs-classid | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate, br | System TMP Writable: Yes | Free Disk Space : 12348.94 GiB |

PHP Configuration :: Version: 8.0.28 | PHP API: cgi-fcgi | Session Path Writable: Yes | Display Errors: 0 | Error Reporting: 32759 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 128M | Max. POST Size: 130M | Max. Input Time: -1 | Max. Execution Time: 165 | Memory Limit: 512M

Database Configuration :: Version: 5.7.42-log (Client:mysqlnd 8.0.28) | Database Size: 14.71 MiB | #of Tables with config prefix:  81 | #of other Tables:  110 | User Privileges : GRANT ALL
Detailed Environment :: wrote:PHP Extensions :: Core (8.0.28) | date (8.0.28) | libxml (8.0.28) | openssl (8.0.28) | pcre (8.0.28) | sqlite3 (8.0.28) | zlib (8.0.28) | bcmath (8.0.28) | bz2 (8.0.28) | calendar (8.0.28) | ctype (8.0.28) | curl (8.0.28) | dba (8.0.28) | dom (20031129) | hash (8.0.28) | FFI (8.0.28) | fileinfo (8.0.28) | filter (8.0.28) | ftp (8.0.28) | gd (8.0.28) | gettext (8.0.28) | gmp (8.0.28) | SPL (8.0.28) | iconv (8.0.28) | session (8.0.28) | standard (8.0.28) | intl (8.0.28) | json (8.0.28) | mbstring (8.0.28) | memcached (3.2.0) | mongodb (1.15.1) | mysqlnd (mysqlnd 8.0.28) | PDO (8.0.28) | pdo_mysql (8.0.28) | pdo_pgsql (8.0.28) | pdo_sqlite (8.0.28) | pgsql (8.0.28) | Phar (8.0.28) | posix (8.0.28) | pspell (8.0.28) | redis (5.3.7) | Reflection (8.0.28) | imagick (3.7.0) | SimpleXML (8.0.28) | soap (8.0.28) | sockets (8.0.28) | sodium (8.0.28) | imap (8.0.28) | exif (8.0.28) | sysvmsg (8.0.28) | sysvsem (8.0.28) | sysvshm (8.0.28) | tokenizer (8.0.28) | xml (8.0.28) | xmlreader (8.0.28) | xmlwriter (8.0.28) | xsl (8.0.28) | zip (1.19.5) | mysqli (8.0.28) | cgi-fcgi (8.0.28) | Zend Engine (4.0.28) |
Potential Missing Extensions ::
Disabled Functions :: _dyuweyrj4 | _dyuweyrj4r | dl |

Switch User Environment :: PHP CGI: Yes | Server SU: Yes | PHP SU: Yes | Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (---) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (755) | api/ (755) |

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

Components :: Admin ::
Core :: com_wrapper (4.0.0) 1 | com_languages (4.0.0) 1 | com_contenthistory (4.0.0) 1 | com_postinstall (4.0.0) 1 | com_users (4.0.0) 1 | com_joomlaupdate (4.0.3) 1 | com_workflow (4.0.0) 1 | com_actionlogs (3.9.0) 1 | com_content (4.0.0) 1 | com_cache (4.0.0) 1 | com_installer (4.0.0) 1 | com_modules (4.0.0) 1 | com_ajax (4.0.0) 1 | com_mails (4.0.0) 1 | com_categories (4.0.0) 1 | com_admin (4.0.0) 1 | com_guidedtours (4.3.0) 1 | com_fields (4.0.0) 1 | com_tags (4.0.0) 1 | com_cpanel (4.0.0) 1 | com_messages (4.0.0) 1 | com_login (4.0.0) 1 | com_media (3.0.0) 1 | com_search (3.0.0) 1 | com_associations (4.0.0) 1 | com_templates (4.0.0) 1 | com_plugins (4.0.0) 1 | com_finder (4.0.0) 1 | com_menus (4.0.0) 1 | com_newsfeeds (4.0.0) 1 | com_privacy (3.9.0) 1 | com_banners (4.0.0) 1 | com_redirect (4.0.0) 1 | com_checkin (4.0.0) 1 | com_config (4.0.0) 1 | com_scheduler (4.1.0) 1 |
3rd Party:: com_falang (4.12) 1 | Categories (1.1) ? | FaLang (1.7.0) ? | com_akeebabackup (9.6.1) 1 | COM_JCE (2.9.37) 1 |

Modules :: Site ::
Core :: mod_articles_news (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_search (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_articles_archive (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_login (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_feed (3.0.0) 1 | mod_users_latest (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_wrapper (3.0.0) 1 | mod_tags_similar (3.1.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_articles_popular (3.0.0) 1 |
3rd Party:: Tabs GK5 (2.0) 1 | mod_falang (4.12) 1 | AA Responsive Before-After Image Sl (2.0.0) ? | Image Show GK4 (1.7.6) 1 | News Show Pro GK5 (2.0.8) 1 | MOD_JOOMLALABS_IMAGECOMPARISONSLIDE (1.2.0) ? |

Modules :: Admin ::
Core :: mod_latestactions (3.9.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_latest (3.0.0) 1 | mod_login (3.0.0) 1 | mod_title (3.0.0) 1 | mod_guidedtours (4.3.0) 1 | mod_logged (3.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_user (4.0.0) 1 | mod_frontend (4.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_feed (3.0.0) 1 | mod_messages (4.0.0) 1 | mod_post_installation_messages (4.0.0) 1 | mod_privacy_status (4.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_stats_admin (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_loginsupport (4.0.0) 1 | mod_version (3.0.0) 1 |
3rd Party::

Libraries ::
Core ::
3rd Party:: file_fof40 (4.1.3) ? |

Plugins ::
Core :: plg_editors-xtd_readmore (3.0.0) 1 | 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_article (3.0.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | plg_installer_urlinstaller (3.6.0) 1 | plg_installer_folderinstaller (3.6.0) 1 | plg_installer_override (4.0.0) 1 | plg_installer_webinstaller (4.0.0) 1 | plg_behaviour_versionable (4.0.0) 1 | plg_behaviour_taggable (4.0.0) 1 | plg_extension_namespacemap (4.0.0) 1 | plg_extension_joomla (3.0.0) 1 | plg_extension_finder (4.0.0) 1 | plg_task_demo_tasks (4.1) 1 | plg_task_requests (4.1) 1 | plg_task_site_status (4.1) 1 | plg_task_check_files (4.1) 1 | plg_workflow_publishing (4.0.0) 1 | plg_workflow_featuring (4.0.0) 1 | plg_workflow_notification (4.0.0) 1 | plg_sampledata_multilang (4.0.0) 1 | plg_filesystem_local (4.0.0) 1 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_cookie (3.0.0) 0 | plg_authentication_ldap (3.0.0) 0 | plg_api-authentication_token (4.0.0) 1 | plg_api-authentication_basic (4.0.0) 0 | plg_quickicon_downloadkey (4.0.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_overridecheck (4.0.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_privacy_message (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_media-action_rotate (4.0.0) 1 | plg_media-action_crop (4.0.0) 1 | plg_media-action_resize (4.0.0) 1 | plg_system_stats (3.5.0) 1 | plg_system_highlight (3.0.0) 1 | plg_system_actionlogs (3.9.0) 0 | plg_system_guidedtours (4.3.0) 1 | plg_system_task_notification (4.1) 1 | plg_system_logrotation (3.9.0) 1 | plg_system_remember (3.0.0) 1 | plg_system_skipto (4.0.0) 1 | plg_system_languagefilter (3.0.0) 1 | plg_system_webauthn (4.0.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_sessiongc (3.8.6) 1 | plg_system_redirect (3.0.0) 1 | plg_system_jooa11y (4.2.0) 1 | plg_system_accessibility (4.0.0) 0 | plg_system_languagecode (3.0.0) 1 | plg_system_shortcut (4.2.0) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_updatenotification (3.5.0) 1 | plg_system_fields (3.7.0) 1 | plg_system_schedulerunner (4.1) 1 | plg_system_cache (3.0.0) 0 | plg_system_debug (3.0.0) 1 | plg_system_httpheaders (4.0.0) 0 | plg_system_log (3.0.0) 1 | plg_system_sef (3.0.0) 1 | plg_webservices_messages (4.0.0) 1 | plg_webservices_content (4.0.0) 1 | plg_webservices_modules (4.0.0) 1 | plg_webservices_installer (4.0.0) 1 | plg_webservices_config (4.0.0) 1 | plg_webservices_users (4.0.0) 1 | plg_webservices_redirect (4.0.0) 1 | plg_webservices_languages (4.0.0) 1 | plg_webservices_tags (4.0.0) 1 | plg_webservices_templates (4.0.0) 1 | plg_webservices_newsfeeds (4.0.0) 1 | plg_webservices_banners (4.0.0) 1 | plg_webservices_privacy (4.0.0) 1 | plg_webservices_plugins (4.0.0) 1 | plg_webservices_media (4.1.0) 1 | plg_webservices_menus (4.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_multifactorauth_yubikey (3.2.0) 0 | plg_multifactorauth_totp (3.2.0) 0 | plg_multifactorauth_webauthn (4.2.0) 0 | plg_multifactorauth_email (4.2.0) 0 | plg_multifactorauth_fixed (4.2.0) 0 | plg_actionlog_joomla (3.9.0) 1 | plg_search_categories (3.0.0) 1 | plg_search_contacts (3.0.0) 1 | plg_search_tags (3.0.0) 0 | plg_search_content (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_user_joomla (3.0.0) 1 | plg_user_terms (3.9.0) 0 | plg_user_token (3.9.0) 1 | plg_user_contactcreator (3.0.0) 0 | plg_user_profile (3.0.0) 0 | plg_fields_calendar (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_subform (4.0.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_captcha_recaptcha_invisible (3.8) 0 | plg_captcha_recaptcha (3.4.0) 0 | plg_content_pagebreak (3.0.0) 1 | plg_content_confirmconsent (3.9.0) 1 | plg_content_pagenavigation (3.0.0) 0 | plg_content_loadmodule (3.0.0) 1 | plg_content_vote (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_finder (3.0.0) 1 | plg_content_emailcloak (3.0.0) 1 |
3rd Party:: Button - GK Typography (1.0.5) 1 | plg_installer_jce (2.9.37) 1 | plg_extension_jce (2.9.37) 1 | Josetta - K2 Categories (2.6.9) ? | Josetta - K2 Items (2.6.9) ? | plg_editors_codemirror (5.65.12) 1 | plg_editors_jce (2.9.37) 1 | plg_editors_tinymce (5.10.7) 1 | plg_quickicon_jce (2.9.37) 1 | plg_system_falangquickjump (4.12) 1 | plg_system_jce (2.9.37) 1 | plg_system_falangdriver (4.12) 1 | System - GK Cache (1.0) 1 | plg_search_falang_content (1.4) 1 | plg_fields_mediajce (2.9.37) 1 | Simple Image Gallery (by JoomlaWork (4.2) ? | Simple Image Gallery (by JoomlaWork (4.2) ? | plg_content_beforeafter (1.3) 1 | plg_content_jce (2.9.37) 1 |
Templates Discovered :: wrote:Templates :: Site :: gk_photo (4.2) 1 | cassiopeia (1.0) 1 |
Templates :: Admin :: atum (1.0) 1 |
Last edited by toivo on Wed Jun 07, 2023 2:02 pm, edited 1 time in total.
Reason: mod note: disabled smilies in post Options for readability

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24595
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: Migration J! 3.10.11 to J1 4.3.2 ok with PHP 7.4, front-end error with PHP8.0

Post by pe7er » Wed Jun 07, 2023 10:09 am

Welcome to Joomla forum!

It looks like your gk_photo template or some of the plugins that are used on the frontpage, are not compatible with PHP 8.x.
Could you test your website with the default Joomla 4 template Cassiopeia ?
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

tomcso
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Wed Jun 07, 2023 7:13 am

Re: Migration J! 3.10.11 to J1 4.3.2 ok with PHP 7.4, front-end error with PHP8.0

Post by tomcso » Wed Jun 07, 2023 11:43 am

Thanks Pe7er!
When switching to Cassiopeia the errors do not appear. Does the FPA reveal any hint where in the template/extensions the problem could be?
Regards and thanks again!
Thomas

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24595
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: Migration J! 3.10.11 to J1 4.3.2 ok with PHP 7.4, front-end error with PHP8.0

Post by pe7er » Wed Jun 07, 2023 11:51 am

Could you set the Error Reporting to "Maximum", set the template to gk_photo and see the real error?
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

tomcso
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Wed Jun 07, 2023 7:13 am

Re: Migration J! 3.10.11 to J1 4.3.2 ok with PHP 7.4, front-end error with PHP8.0

Post by tomcso » Wed Jun 07, 2023 1:47 pm

Hi Pe7er,
Error reporting set to maximum, GK Photo activated.

If you need access to the back-end, let me know, and I will try to find where the direct messaging is, to let you have the credentials.

Thanks!

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24595
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: Migration J! 3.10.11 to J1 4.3.2 ok with PHP 7.4, front-end error with PHP8.0

Post by pe7er » Wed Jun 07, 2023 3:17 pm

tomcso wrote:
Wed Jun 07, 2023 1:47 pm
Error reporting set to maximum, GK Photo activated.
What error do you see now?
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

tomcso
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Wed Jun 07, 2023 7:13 am

Re: Migration J! 3.10.11 to J1 4.3.2 ok with PHP 7.4, front-end error with PHP8.0

Post by tomcso » Wed Jun 07, 2023 3:51 pm

I am not quite sure what you mean, the error appearing when calling pazo-chaioso.com/Pz5copy (hundreds of lines...) seems to be the same... Would you like another fpa-en.php result?
Regards & thanks!
Thomas

tomcso
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Wed Jun 07, 2023 7:13 am

Re: Migration J! 3.10.11 to J1 4.3.2 ok with PHP 7.4, front-end error with PHP8.0

Post by tomcso » Wed Jun 07, 2023 4:57 pm

Forum Post Assistant (v1.6.6) : 7-Jun-2023 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 4.3.2-Stable (Bora) 30-May-2023
Joomla! Configured :: Yes | Read-Only (444) |
Configuration Options :: Offline: false | SEF: false | SEF Suffix: false | SEF ReWrite: true | .htaccess/web.config: Yes | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: false | Proxy: false | LiveSite: | Session lifetime: 150 | Session handler: database | Shared sessions: false | SSL: 2 | Error Reporting: maximum | Site Debug: true | Language Debug: false | Default Access: Public | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 4.3.2: Yes | Database Supports J! 4.3.2: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 5.15.74-ovh-vps-grsec-zfs-classid | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate, br | System TMP Writable: Yes | Free Disk Space : 12347.70 GiB |

PHP Configuration :: Version: 8.0.28 | PHP API: cgi-fcgi | Session Path Writable: Yes | Display Errors: 0 | Error Reporting: 32759 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 128M | Max. POST Size: 130M | Max. Input Time: -1 | Max. Execution Time: 165 | Memory Limit: 512M

Database Configuration :: Version: 5.7.42-log (Client:mysqlnd 8.0.28) | Database Size: 14.74 MiB | #of Tables with config prefix:  81 | #of other Tables:  110 | User Privileges : GRANT ALL
Detailed Environment :: wrote:PHP Extensions :: Core (8.0.28) | date (8.0.28) | libxml (8.0.28) | openssl (8.0.28) | pcre (8.0.28) | sqlite3 (8.0.28) | zlib (8.0.28) | bcmath (8.0.28) | bz2 (8.0.28) | calendar (8.0.28) | ctype (8.0.28) | curl (8.0.28) | dba (8.0.28) | dom (20031129) | hash (8.0.28) | FFI (8.0.28) | fileinfo (8.0.28) | filter (8.0.28) | ftp (8.0.28) | gd (8.0.28) | gettext (8.0.28) | gmp (8.0.28) | SPL (8.0.28) | iconv (8.0.28) | session (8.0.28) | standard (8.0.28) | intl (8.0.28) | json (8.0.28) | mbstring (8.0.28) | memcached (3.2.0) | mongodb (1.15.1) | mysqlnd (mysqlnd 8.0.28) | PDO (8.0.28) | pdo_mysql (8.0.28) | pdo_pgsql (8.0.28) | pdo_sqlite (8.0.28) | pgsql (8.0.28) | Phar (8.0.28) | posix (8.0.28) | pspell (8.0.28) | redis (5.3.7) | Reflection (8.0.28) | imagick (3.7.0) | SimpleXML (8.0.28) | soap (8.0.28) | sockets (8.0.28) | sodium (8.0.28) | imap (8.0.28) | exif (8.0.28) | sysvmsg (8.0.28) | sysvsem (8.0.28) | sysvshm (8.0.28) | tokenizer (8.0.28) | xml (8.0.28) | xmlreader (8.0.28) | xmlwriter (8.0.28) | xsl (8.0.28) | zip (1.19.5) | mysqli (8.0.28) | cgi-fcgi (8.0.28) | Zend Engine (4.0.28) |
Potential Missing Extensions ::
Disabled Functions :: _dyuweyrj4 | _dyuweyrj4r | dl |

Switch User Environment :: PHP CGI: Yes | Server SU: Yes | PHP SU: Yes | Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (---) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (755) | api/ (755) |

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

Components :: Admin ::
Core :: com_wrapper (4.0.0) 1 | com_languages (4.0.0) 1 | com_contenthistory (4.0.0) 1 | com_postinstall (4.0.0) 1 | com_users (4.0.0) 1 | com_joomlaupdate (4.0.3) 1 | com_workflow (4.0.0) 1 | com_actionlogs (3.9.0) 1 | com_content (4.0.0) 1 | com_cache (4.0.0) 1 | com_installer (4.0.0) 1 | com_modules (4.0.0) 1 | com_ajax (4.0.0) 1 | com_mails (4.0.0) 1 | com_categories (4.0.0) 1 | com_admin (4.0.0) 1 | com_guidedtours (4.3.0) 1 | com_fields (4.0.0) 1 | com_tags (4.0.0) 1 | com_cpanel (4.0.0) 1 | com_messages (4.0.0) 1 | com_login (4.0.0) 1 | com_media (3.0.0) 1 | com_search (3.0.0) 1 | com_associations (4.0.0) 1 | com_templates (4.0.0) 1 | com_plugins (4.0.0) 1 | com_finder (4.0.0) 1 | com_menus (4.0.0) 1 | com_newsfeeds (4.0.0) 1 | com_privacy (3.9.0) 1 | com_banners (4.0.0) 1 | com_redirect (4.0.0) 1 | com_checkin (4.0.0) 1 | com_config (4.0.0) 1 | com_scheduler (4.1.0) 1 |
3rd Party:: com_falang (4.12) 1 | Categories (1.1) ? | FaLang (1.7.0) ? | com_akeebabackup (9.6.1) 1 | COM_JCE (2.9.37) 1 |

Modules :: Site ::
Core :: mod_articles_news (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_search (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_articles_archive (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_login (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_feed (3.0.0) 1 | mod_users_latest (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_wrapper (3.0.0) 1 | mod_tags_similar (3.1.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_articles_popular (3.0.0) 1 |
3rd Party:: Tabs GK5 (2.0) 1 | mod_falang (4.12) 1 | AA Responsive Before-After Image Sl (2.0.0) ? | Image Show GK4 (1.7.6) 1 | News Show Pro GK5 (2.0.8) 1 | MOD_JOOMLALABS_IMAGECOMPARISONSLIDE (1.2.0) ? |

Modules :: Admin ::
Core :: mod_latestactions (3.9.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_latest (3.0.0) 1 | mod_login (3.0.0) 1 | mod_title (3.0.0) 1 | mod_guidedtours (4.3.0) 1 | mod_logged (3.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_user (4.0.0) 1 | mod_frontend (4.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_feed (3.0.0) 1 | mod_messages (4.0.0) 1 | mod_post_installation_messages (4.0.0) 1 | mod_privacy_status (4.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_stats_admin (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_loginsupport (4.0.0) 1 | mod_version (3.0.0) 1 |
3rd Party::

Libraries ::
Core ::
3rd Party:: file_fof40 (4.1.3) ? |

Plugins ::
Core :: plg_editors-xtd_readmore (3.0.0) 1 | 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_article (3.0.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | plg_installer_urlinstaller (3.6.0) 1 | plg_installer_folderinstaller (3.6.0) 1 | plg_installer_override (4.0.0) 1 | plg_installer_webinstaller (4.0.0) 1 | plg_behaviour_versionable (4.0.0) 1 | plg_behaviour_taggable (4.0.0) 1 | plg_extension_namespacemap (4.0.0) 1 | plg_extension_joomla (3.0.0) 1 | plg_extension_finder (4.0.0) 1 | plg_task_demo_tasks (4.1) 1 | plg_task_requests (4.1) 1 | plg_task_site_status (4.1) 1 | plg_task_check_files (4.1) 1 | plg_workflow_publishing (4.0.0) 1 | plg_workflow_featuring (4.0.0) 1 | plg_workflow_notification (4.0.0) 1 | plg_sampledata_multilang (4.0.0) 1 | plg_filesystem_local (4.0.0) 1 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_cookie (3.0.0) 0 | plg_authentication_ldap (3.0.0) 0 | plg_api-authentication_token (4.0.0) 1 | plg_api-authentication_basic (4.0.0) 0 | plg_quickicon_downloadkey (4.0.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_overridecheck (4.0.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_privacy_message (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_media-action_rotate (4.0.0) 1 | plg_media-action_crop (4.0.0) 1 | plg_media-action_resize (4.0.0) 1 | plg_system_stats (3.5.0) 1 | plg_system_highlight (3.0.0) 1 | plg_system_actionlogs (3.9.0) 0 | plg_system_guidedtours (4.3.0) 1 | plg_system_task_notification (4.1) 1 | plg_system_logrotation (3.9.0) 1 | plg_system_remember (3.0.0) 1 | plg_system_skipto (4.0.0) 1 | plg_system_languagefilter (3.0.0) 1 | plg_system_webauthn (4.0.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_sessiongc (3.8.6) 1 | plg_system_redirect (3.0.0) 1 | plg_system_jooa11y (4.2.0) 1 | plg_system_accessibility (4.0.0) 0 | plg_system_languagecode (3.0.0) 1 | plg_system_shortcut (4.2.0) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_updatenotification (3.5.0) 1 | plg_system_fields (3.7.0) 1 | plg_system_schedulerunner (4.1) 1 | plg_system_cache (3.0.0) 0 | plg_system_debug (3.0.0) 1 | plg_system_httpheaders (4.0.0) 0 | plg_system_log (3.0.0) 1 | plg_system_sef (3.0.0) 1 | plg_webservices_messages (4.0.0) 1 | plg_webservices_content (4.0.0) 1 | plg_webservices_modules (4.0.0) 1 | plg_webservices_installer (4.0.0) 1 | plg_webservices_config (4.0.0) 1 | plg_webservices_users (4.0.0) 1 | plg_webservices_redirect (4.0.0) 1 | plg_webservices_languages (4.0.0) 1 | plg_webservices_tags (4.0.0) 1 | plg_webservices_templates (4.0.0) 1 | plg_webservices_newsfeeds (4.0.0) 1 | plg_webservices_banners (4.0.0) 1 | plg_webservices_privacy (4.0.0) 1 | plg_webservices_plugins (4.0.0) 1 | plg_webservices_media (4.1.0) 1 | plg_webservices_menus (4.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_multifactorauth_yubikey (3.2.0) 0 | plg_multifactorauth_totp (3.2.0) 0 | plg_multifactorauth_webauthn (4.2.0) 0 | plg_multifactorauth_email (4.2.0) 0 | plg_multifactorauth_fixed (4.2.0) 0 | plg_actionlog_joomla (3.9.0) 1 | plg_search_categories (3.0.0) 1 | plg_search_contacts (3.0.0) 1 | plg_search_tags (3.0.0) 0 | plg_search_content (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_user_joomla (3.0.0) 1 | plg_user_terms (3.9.0) 0 | plg_user_token (3.9.0) 1 | plg_user_contactcreator (3.0.0) 0 | plg_user_profile (3.0.0) 0 | plg_fields_calendar (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_subform (4.0.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_captcha_recaptcha_invisible (3.8) 0 | plg_captcha_recaptcha (3.4.0) 0 | plg_content_pagebreak (3.0.0) 1 | plg_content_confirmconsent (3.9.0) 1 | plg_content_pagenavigation (3.0.0) 0 | plg_content_loadmodule (3.0.0) 1 | plg_content_vote (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_finder (3.0.0) 1 | plg_content_emailcloak (3.0.0) 1 |
3rd Party:: Button - GK Typography (1.0.5) 1 | plg_installer_jce (2.9.37) 1 | plg_extension_jce (2.9.37) 1 | Josetta - K2 Categories (2.6.9) ? | Josetta - K2 Items (2.6.9) ? | plg_editors_codemirror (5.65.12) 1 | plg_editors_jce (2.9.37) 1 | plg_editors_tinymce (5.10.7) 1 | plg_quickicon_jce (2.9.37) 1 | plg_system_falangquickjump (4.12) 1 | plg_system_jce (2.9.37) 1 | plg_system_falangdriver (4.12) 1 | System - GK Cache (1.0) 1 | plg_search_falang_content (1.4) 1 | plg_fields_mediajce (2.9.37) 1 | Simple Image Gallery (by JoomlaWork (4.2) ? | Simple Image Gallery (by JoomlaWork (4.2) ? | plg_content_beforeafter (1.3) 1 | plg_content_jce (2.9.37) 1 |
Templates Discovered :: wrote:Templates :: Site :: gk_photo (4.2) 1 | cassiopeia (1.0) 1 |
Templates :: Admin :: atum (1.0) 1 |
Last edited by toivo on Wed Jun 07, 2023 9:47 pm, edited 1 time in total.
Reason: mod note: disabled smilies in post Options for readability

tomcso
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Wed Jun 07, 2023 7:13 am

Re: Migration J! 3.10.11 to J1 4.3.2 ok with PHP 7.4, front-end error with PHP8.0

Post by tomcso » Wed Jun 07, 2023 5:25 pm

Error message started with:
object(TypeError)#1365 (7) { (...)
and now starts with:
object(TypeError)#1547 (7) { (...)
You do not have the required permissions to view the files attached to this post.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30312
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Migration J! 3.10.11 to J1 4.3.2 ok with PHP 7.4, front-end error with PHP8.0

Post by Per Yngve Berg » Wed Jun 07, 2023 5:44 pm

Enable Debug and get the Stack Trace.

tomcso
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Wed Jun 07, 2023 7:13 am

Re: Migration J! 3.10.11 to J1 4.3.2 ok with PHP 7.4, front-end error with PHP8.0

Post by tomcso » Wed Jun 07, 2023 5:51 pm

Debug is enabled in Global configuration / System / Debug

Where do I get the stack trace?

Regards & Thanks!
Thomas
You do not have the required permissions to view the files attached to this post.

tomcso
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Wed Jun 07, 2023 7:13 am

Re: Migration J! 3.10.11 to J1 4.3.2 ok with PHP 7.4, front-end error with PHP8.0

Post by tomcso » Thu Jun 08, 2023 12:21 pm

Problem is solved, support from Gavick/Joomlart did the job. Apparently the update of this file on the site did the job. Thanks everybody for your time!

JROOT/templates/gk_photo/lib/framework/helper.api.php


Post Reply

Return to “Migrating and Upgrading to Joomla! 4.x”