PHP warning in Joomla 3.9.23 and PHP 7.4

Everything to do with Joomla! 3.x templates and templating.
Post Reply
wecreatem
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sat Dec 21, 2013 5:07 pm

PHP warning in Joomla 3.9.23 and PHP 7.4

Post by wecreatem » Thu Nov 26, 2020 4:25 am

I just did an upgrade to 3.9.23 on one of my sites, visaliavaportrailers.org. After the upgrade I was seeing the following on the pages when I was running php 7.4
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/wecreatem/public_html/vapor-trailers/templates/vapor13col2017/functions.php on line 174

When I go back to php 7.3 the error is not there.

I ran fpa which is below.
Forum Post Assistant (v1.6.1) : 26-Nov-2020 wrote:
Last PHP Error(s) Reported :: wrote:[26-Nov-2020 04:17:05 UTC] PHP Warning:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.9.23-Stable (Amani) 24-November-2020
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: true | SEF ReWrite: false | .htaccess/web.config: Yes | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: false | Proxy: false | LiveSite: | Session lifetime: 15 | Session handler: database | Shared sessions: false | SSL: 0 | Error Reporting: default | Site Debug: false | Language Debug: false | Default Access: 1 | Unicode Slugs: true | dbConnection Type: mysqli | PHP Supports J! 3.9.23: Yes | Database Supports J! 3.9.23: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 2.6.32-954.3.5.lve1.4.80.el6.x86_64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate | System TMP Writable: Yes | Free Disk Space : 708.53 GiB |

PHP Configuration :: Version: 7.3.23 | PHP API: litespeed | Session Path Writable: Yes | Display Errors: | Error Reporting: 32767 | Log Errors To: error_log | Last Known Error: 26th November 2020 04:17:05. | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 60M | Max. POST Size: 60M | Max. Input Time: -1 | Max. Execution Time: 240 | Memory Limit: 128M

Database Configuration :: Version: 5.6.49-cll-lve (Client:5.6.49) | Database Size: 5.70 MiB | #of Tables with config prefix:  128 | #of other Tables:  0 | User Privileges : GRANT ALL
Detailed Environment :: wrote:PHP Extensions :: Core (7.3.23) | date (7.3.23) | libxml (7.3.23) | openssl (7.3.23) | pcre (7.3.23) | sqlite3 (7.3.23) | zlib (7.3.23) | bz2 (7.3.23) | calendar (7.3.23) | ctype (7.3.23) | curl (7.3.23) | hash (7.3.23) | filter (7.3.23) | ftp (7.3.23) | gettext (7.3.23) | gmp (7.3.23) | SPL (7.3.23) | iconv (7.3.23) | pcntl (7.3.23) | readline (7.3.23) | Reflection (7.3.23) | session (7.3.23) | standard (7.3.23) | shmop (7.3.23) | SimpleXML (7.3.23) | mbstring (7.3.23) | tokenizer (7.3.23) | xml (7.3.23) | litespeed () | bcmath (7.3.23) | dom (20031129) | fileinfo (7.3.23) | gd (7.3.23) | imagick (3.4.4) | imap (7.3.23) | inotify (2.0.0) | intl (7.3.23) | json (1.7.0) | exif (7.3.23) | mysqli (7.3.23) | mysqlnd (mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $) | PDO (7.3.23) | pdo_mysql (7.3.23) | pdo_sqlite (7.3.23) | Phar (7.3.23) | posix (7.3.23) | soap (7.3.23) | xmlreader (7.3.23) | xmlrpc (7.3.23) | xmlwriter (7.3.23) | Zend Engine (3.3.23) |
Potential Missing Extensions :: zip |

Switch User Environment :: PHP CGI: No | Server SU: No | PHP SU: No | Potential Ownership Issues: No
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/ (---) |

Elevated Permissions (First 10) ::
Database Information :: wrote:Database statistics :: Uptime: 135480 | Threads: 15 | Questions: 82163725 | Slow queries: 1016 | Opens: 1444557 | Flush tables: 1 | Open tables: 5000 | Queries per second avg: 606.463 |
Extensions Discovered :: wrote:Components :: Site ::
Core :: com_mailto (3.0.0) 1 | com_wrapper (3.0.0) 1 |
3rd Party:: slideshow_thumbs_below (1.0) ? | Meta Template - Not for use. (3.0) ? | Slideshow_Parth (2.0) ? | Slideshow Phatfusion (1.0) ? | Slideshow_Description (1.0) ? | Slideshow_FiTh (1.0) ? | debug - List Everything (3.0) ? | schuweb (1.0) ? | SlideshowOne (2.0) ? | master example (1.0) ? | Semantic (3.0) ? | Slideshow_Parth (2.0) ? | kunena_tmpl_crypsis (5.1.19) ? | kunena_tmpl_crypsisb3 (5.1.19) ? |

Components :: Admin ::
Core :: com_languages (3.0.0) 1 | com_modules (3.0.0) 1 | com_postinstall (3.2.0) 1 | com_cpanel (3.0.0) 1 | com_messages (3.0.0) 1 | com_joomlaupdate (3.6.2) 1 | com_templates (3.0.0) 1 | com_associations (3.7.0) 1 | com_login (3.0.0) 1 | com_banners (3.0.0) 1 | com_search (3.0.0) 1 | com_cache (3.0.0) 1 | com_menus (3.0.0) 1 | com_ajax (3.2.0) 1 | com_finder (3.0.0) 1 | com_plugins (3.0.0) 1 | com_fields (3.7.0) 1 | com_contenthistory (3.2.0) 1 | com_config (3.0.0) 1 | com_tags (3.1.0) 1 | com_checkin (3.0.0) 1 | com_content (3.0.0) 1 | com_admin (3.0.0) 1 | com_redirect (3.0.0) 1 | com_privacy (3.9.0) ? | com_categories (3.0.0) 1 | com_installer (3.0.0) 1 | com_media (3.0.0) 1 | com_newsfeeds (3.0.0) 1 | com_actionlogs (3.9.0) ? | com_users (3.0.0) 1 |
3rd Party:: com_rssearch (1.0.7) 1 | Installation Manager (1.5.0) ? | com_rsgallery2 (4.5.1.0) 1 | com_rsgallery2 (4.4.1) 1 | Akeeba (7.4.0.1) 1 | mod_kunenamenu (4.0.12) ? | plg_kunena_joomla (5.1.19) 1 | PLG_KUNENA_EASYBLOG (0.0.1) ? | plg_kunena_community (5.1.19) 0 | plg_kunena_comprofiler (5.1.19) 0 | plg_finder_kunena (5.1.19) 1 | plg_kunena_finder (5.1.19) 0 | plg_kunena_kunena (5.1.19) 1 | PLG_KUNENA_EASYPROFILE (5.1.19) 0 | plg_kunena_uddeim (5.1.19) 0 | plg_kunena_gravatar (5.1.19) 0 | plg_kunena_easysocial (5.1.19) 0 | plg_kunena_alphauserpoints (5.0.14) ? | plg_kunena_altauserpoints (5.1.19) 0 | com_kunena (5.1.19) 1 | com_dpcalendar (7.4.6) 1 |

Modules :: Site ::
Core :: mod_finder (3.0.0) 1 | mod_wrapper (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_users_latest (3.0.0) 1 | mod_search (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_articles_categories (3.0.0) 1 | mod_login (3.0.0) 1 | mod_articles_archive (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_articles_category (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_tags_similar (3.1.0) 1 | mod_articles_latest (3.0.0) 1 |
3rd Party:: mod_rsgallery2_latest_galleries (4.0.0) 1 | mod_dpcalendar_upcoming (7.4.6) 1 | mod_dpcalendar_mini (7.4.6) 1 | [youtube] Widget Slider (1.0) 1 | mod_dpcalendar_counter (7.4.6) 1 | mod_rsgallery2_latest_images (4.0.6) 1 | mod_rsgallery2_random_images (4.0.0) 1 | mod_kunenalatest (5.1.2) 1 | DT Simple [youtube] Embed (1.0.0) 1 | Advanced [youtube] Display (1.1) 1 | mod_kunenasearch (5.1.2) 1 | mod_rssearch (1.0) 1 | mod_dpcalendar_map (7.4.6) 1 | mod_kunenastats (5.1.2) 1 | mod_kunenalogin (5.1.2) 1 |

Modules :: Admin ::
Core :: mod_version (3.0.0) 1 | mod_logged (3.0.0) 1 | mod_status (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_login (3.0.0) 1 | mod_latest (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_latestactions (3.9.0) ? | mod_popular (3.0.0) 1 | mod_stats_admin (3.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_privacy_dashboard (3.9.0) ? | mod_submenu (3.0.0) 1 | mod_title (3.0.0) 1 |
3rd Party::

Libraries ::
Core ::
3rd Party:: Regular Labs Library (20.9.11663) 1 | file_fof30 (3.6.2) ? |

Plugins ::
Core :: plg_system_remember (3.0.0) 1 | plg_system_redirect (3.0.0) 0 | plg_system_highlight (3.0.0) 1 | plg_system_p3p (3.0.0) 0 | plg_system_languagecode (3.0.0) 0 | plg_system_languagefilter (3.0.0) 0 | plg_system_privacyconsent (3.9.0) ? | plg_system_logrotation (3.9.0) ? | plg_system_stats (3.5.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_updatenotification (3.5.0) 1 | PLG_SYSTEM_ACTIONLOGS (3.9.0) ? | plg_system_cache (3.0.0) 0 | plg_system_fields (3.7.0) 1 | plg_system_sessiongc (3.8.6) 1 | plg_system_debug (3.0.0) 1 | plg_system_log (3.0.0) 1 | plg_system_sef (3.0.0) 1 | plg_user_terms (3.9.0) ? | plg_user_profile (3.0.0) 1 | plg_user_joomla (3.0.0) 1 | plg_user_contactcreator (3.0.0) 0 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_privacycheck (3.9.0) ? | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_module (3.5.0) 0 | plg_captcha_recaptcha_invisible (3.8) ? | plg_captcha_recaptcha (3.4.0) 0 | plg_installer_webinstaller (2.1.2) 1 | PLG_INSTALLER_URLINSTALLER (3.6.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) 1 | plg_privacy_user (3.9.0) ? | plg_privacy_message (3.9.0) ? | plg_privacy_actionlogs (3.9.0) ? | plg_privacy_content (3.9.0) ? | plg_privacy_consents (3.9.0) ? | plg_fields_user (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_repeatable (3.9.0) ? | plg_fields_sql (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_content_vote (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_pagenavigation (3.0.0) 1 | plg_content_emailcloak (3.0.0) 1 | plg_content_finder (3.0.0) 1 | plg_content_confirmconsent (3.9.0) ? | plg_search_contacts (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_search_tags (3.0.0) 1 | plg_search_content (3.0.0) 1 | plg_search_categories (3.0.0) 1 | plg_extension_joomla (3.0.0) 1 | plg_authentication_ldap (3.0.0) 0 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_cookie (3.0.0) 1 | plg_authentication_gmail (3.0.0) 0 | plg_finder_contacts (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_finder_categories (3.0.0) 1 | plg_twofactorauth_yubikey (3.2.0) 0 | plg_twofactorauth_totp (3.2.0) 0 | PLG_ACTIONLOG_JOOMLA (3.9.0) ? |
3rd Party:: plg_rssearch_kunena (1.0) 1 | plg_rssearch_content (1.0) 1 | PLG_SYSTEM_AKEEBAUPDATECHECK (7.3.0) 0 | plg_system_kunena (5.1.19) 1 | PLG_SYSTEM_BACKUPONUPDATE (7.4.0.1) 0 | plg_system_modulesanywhere (7.11.2) 1 | plg_system_regularlabs (20.9.11663) 1 | plg_editors_codemirror (5.56.0) 1 | plg_editors_tinymce (4.5.12) 1 | plg_user_dpcalendar (7.4.6) 1 | plg_sampledata_dpcalendar (7.4.6) 0 | PLG_KUNENA_EASYPROFILE (5.1.19) 0 | plg_kunena_altauserpoints (5.1.19) 0 | plg_kunena_gravatar (5.1.19) 0 | plg_kunena_kunena (5.1.19) 1 | plg_kunena_joomla (5.1.19) 1 | plg_kunena_easysocial (5.1.19) 0 | plg_kunena_community (5.1.19) 0 | plg_kunena_finder (5.1.19) 0 | plg_kunena_uddeim (5.1.19) 0 | plg_kunena_comprofiler (5.1.19) 0 | plg_quickicon_kunena (5.1.19) 1 | plg_quickicon_akeebabackup (7.4.0.1) 1 | plg_editors-xtd_modulesanywhere (7.11.2) 1 | plg_dpcalendar_jomsocial (7.4.6) 0 | plg_dpcalendar_jevents (7.4.6) 0 | plg_dpcalendar_ical (7.4.6) 0 | plg_dpcalendar_private (7.4.6) 0 | plg_dpcalendar_jcalpro (7.4.6) 0 | plg_dpcalendar_rsevents (7.4.6) 0 | plg_dpcalendar_csv (7.4.6) 0 | plg_privacy_dpcalendar (7.4.6) 0 | plg_dpcalendarpay_manual (7.4.6) 0 | plg_fields_dpcalendar (7.4.6) 0 | plg_content_dpcalendar (7.4.6) 1 | PLG_CONTENT_RSGALLERY2_GALLERYDISPL (3.2.1) ? | AllVideos (by JoomlaWorks) (6.0.0) 1 | AllVideos (by JoomlaWorks) (6.0.0) 1 | plg_content_kunenadiscuss (5.1.2) 1 | plg_search_kunena (5.1.2) 1 | plg_search_dpcalendar (7.4.6) 1 | plg_finder_kunena (5.1.19) 1 | plg_actionlog_dpcalendar (7.4.6) 0 | PLG_ACTIONLOG_AKEEBABACKUP (7.4.0.1) 0 |
Templates Discovered :: wrote:Templates :: Site :: Vapor13col2017 (3.0) 1 | beez3 (3.1.0) 1 | Vapor13col2 (1.0) 1 | Vapor13col (1.0) 1 | protostar (1.0) 1 | Vapor12c (1.0) 1 |
Templates :: Admin :: isis (1.0) 1 | hathor (3.0.0) 1 |
Last edited by toivo on Thu Nov 26, 2020 7:07 am, edited 1 time in total.
Reason: mod note: moved from 3.x Migrating and Upgrading, retitled

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 13137
Joined: Thu Feb 15, 2007 5:48 am
Location: Zagreb, Croatia

Re: Upgrading to Joomla 3.9.23

Post by toivo » Thu Nov 26, 2020 7:04 am

Your template does not support PHP 7.4. You should report the PHP warning to the developer of the template.

On the other hand, if you change the level of error reporting in Global Configuration from 'System Default' to 'None', any warnings, notices, Deprecated messages and errors will be filtered and not displayed.
Toivo Talikka, Global Moderator

wecreatem
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Sat Dec 21, 2013 5:07 pm

Re: PHP warning in Joomla 3.9.23 and PHP 7.4

Post by wecreatem » Thu Nov 26, 2020 4:20 pm

thanks for the help and direction on fixing this issue.


Post Reply

Return to “Templates for Joomla! 3.x”