call to undefined function create_function() in 3.10.1 Topic is solved

Need help upgrading your Joomla! website or converting to Joomla! 3.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.
Locked
wcorrearj
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed Sep 08, 2021 7:12 pm

call to undefined function create_function() in 3.10.1

Post by wcorrearj » Wed Sep 08, 2021 7:49 pm

After upgrading from PHP 7.3 to PHP 8.0.10 I can't access the joomla control panel which is in version 3.10.1
Error: call to undefined function create_function()
Last edited by toivo on Wed Sep 08, 2021 11:41 pm, edited 1 time in total.
Reason: mod note: moved from the Portuguese forum, retitled - please post to the correct language forum in the future!

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17426
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: call to undefined function create_function() in 3.10.1

Post by toivo » Thu Sep 09, 2021 2:20 am

The error comes from a third party extension, possibly a plugin, because the PHP code of the Joomla 3.10.1 core does not include any calls to the function create_function().

Please download the Forum Post Assistant (FPA), follow the instruction from https://forumpostassistant.github.io/docs and post the results here so that our volunteer experts can review the configuration.

The function create_function() was deprecated in PHP 7.2 and removed in PHP 8.0.0.
Ref. https://www.php.net/manual/en/function. ... nction.php
Toivo Talikka, Global Moderator

wcorrearj
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed Sep 08, 2021 7:12 pm

Re: call to undefined function create_function() in 3.10.1

Post by wcorrearj » Thu Sep 09, 2021 12:51 pm

Forum Post Assistant (v1.6.2) : 9-Sep-2021 wrote:
Basic Environment :: wrote:Joomla! Instance :: Not Found
Joomla! Configured :: Not Found

Host Configuration :: OS: Linux | OS Version: 4.9.0-15-amd64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate | System TMP Writable: Yes | Free Disk Space : 28.85 GiB |

PHP Configuration :: Version: 8.0.10 | PHP API: apache2handler | Session Path Writable: Yes | Display Errors: | Error Reporting: 22527 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 2M | Max. POST Size: 8M | Max. Input Time: 60 | Max. Execution Time: 30 | Memory Limit: 128M

Database Configuration :: Database Credentials incomplete or not available Nothing to display.
User Privileges : Unknown
Detailed Environment :: wrote:PHP Extensions :: Core (8.0.10) | date (8.0.10) | libxml (8.0.10) | openssl (8.0.10) | pcre (8.0.10) | zlib (8.0.10) | filter (8.0.10) | hash (8.0.10) | json (8.0.10) | Reflection (8.0.10) | SPL (8.0.10) | session (8.0.10) | standard (8.0.10) | sodium (8.0.10) | apache2handler (8.0.10) | mysqlnd (mysqlnd 8.0.10) | PDO (8.0.10) | xml (8.0.10) | bz2 (8.0.10) | calendar (8.0.10) | ctype (8.0.10) | curl (8.0.10) | dom (20031129) | mbstring (8.0.10) | FFI (8.0.10) | fileinfo (8.0.10) | ftp (8.0.10) | gd (8.0.10) | gettext (8.0.10) | iconv (8.0.10) | exif (8.0.10) | mysqli (8.0.10) | pdo_mysql (8.0.10) | Phar (8.0.10) | posix (8.0.10) | readline (8.0.10) | shmop (8.0.10) | SimpleXML (8.0.10) | sockets (8.0.10) | sysvmsg (8.0.10) | sysvsem (8.0.10) | sysvshm (8.0.10) | tokenizer (8.0.10) | xmlreader (8.0.10) | xmlwriter (8.0.10) | xsl (8.0.10) | zip (1.19.3) | Zend OPcache (8.0.10) | Zend Engine (4.0.10) |
Potential Missing Extensions ::
Disabled Functions :: pcntl_alarm | pcntl_fork | pcntl_waitpid | pcntl_wait | pcntl_wifexited | pcntl_wifstopped | pcntl_wifsignaled | pcntl_wifcontinued | pcntl_wexitstatus | pcntl_wtermsig | pcntl_wstopsig | pcntl_signal | pcntl_signal_get_handler | pcntl_signal_dispatch | pcntl_get_last_error | pcntl_strerror | pcntl_sigprocmask | pcntl_sigwaitinfo | pcntl_sigtimedwait | pcntl_exec | pcntl_getpriority | pcntl_setpriority | pcntl_async_signals | pcntl_unshare | |

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

Apache Modules :: core | mod_so | mod_watchdog | http_core | mod_log_config | mod_logio | mod_version | mod_unixd | mod_access_compat | mod_alias | mod_auth_basic | mod_authn_core | mod_authn_file | mod_authz_core | mod_authz_host | mod_authz_user | mod_autoindex | mod_deflate | mod_dir | mod_env | mod_filter | mod_mime | prefork | mod_negotiation | mod_php | mod_reqtimeout | mod_setenvif | mod_status | Apache |
Potential Missing Modules :: mod_rewrite | mod_expires | mod_security | mod_evasive | mod_dosevasive | mod_ssl | mod_qos | mod_userdir |

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17426
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: call to undefined function create_function() in 3.10.1

Post by toivo » Thu Sep 09, 2021 1:21 pm

Please upload the FPA script to the main Joomla folder, the folder where the file configuration.php is and run it from there!
Toivo Talikka, Global Moderator

wcorrearj
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed Sep 08, 2021 7:12 pm

Re: call to undefined function create_function() in 3.10.1

Post by wcorrearj » Thu Sep 09, 2021 2:09 pm

toivo wrote:
Thu Sep 09, 2021 1:21 pm
Please upload the FPA script to the main Joomla folder, the folder where the file configuration.php is and run it from there!
Forum Post Assistant (v1.6.2) : 9-Sep-2021 wrote:
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.10.1-Stable (Daraja) 22-August-2021
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: false | .htaccess/web.config: No | 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: false | dbConnection Type: mysqli | PHP Supports J! 3.10.1: Yes | Database Supports J! 3.10.1: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 4.9.0-15-amd64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate | System TMP Writable: Yes | Free Disk Space : 28.87 GiB |

PHP Configuration :: Version: 8.0.10 | PHP API: apache2handler | Session Path Writable: Yes | Display Errors: | Error Reporting: 22527 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 2M | Max. POST Size: 8M | Max. Input Time: 60 | Max. Execution Time: 30 | Memory Limit: 128M

Database Configuration :: Version: 5.5.5-10.1.48-MariaDB-0+deb9u2 (Client:mysqlnd 8.0.10) | Database Size: 15.39 MiB | #of Tables with config prefix:  107 | #of other Tables:  0 | User Privileges : GRANT PROXY
Detailed Environment :: wrote:PHP Extensions :: Core (8.0.10) | date (8.0.10) | libxml (8.0.10) | openssl (8.0.10) | pcre (8.0.10) | zlib (8.0.10) | filter (8.0.10) | hash (8.0.10) | json (8.0.10) | Reflection (8.0.10) | SPL (8.0.10) | session (8.0.10) | standard (8.0.10) | sodium (8.0.10) | apache2handler (8.0.10) | mysqlnd (mysqlnd 8.0.10) | PDO (8.0.10) | xml (8.0.10) | bz2 (8.0.10) | calendar (8.0.10) | ctype (8.0.10) | curl (8.0.10) | dom (20031129) | mbstring (8.0.10) | FFI (8.0.10) | fileinfo (8.0.10) | ftp (8.0.10) | gd (8.0.10) | gettext (8.0.10) | iconv (8.0.10) | exif (8.0.10) | mysqli (8.0.10) | pdo_mysql (8.0.10) | Phar (8.0.10) | posix (8.0.10) | readline (8.0.10) | shmop (8.0.10) | SimpleXML (8.0.10) | sockets (8.0.10) | sysvmsg (8.0.10) | sysvsem (8.0.10) | sysvshm (8.0.10) | tokenizer (8.0.10) | xmlreader (8.0.10) | xmlwriter (8.0.10) | xsl (8.0.10) | zip (1.19.3) | Zend OPcache (8.0.10) | Zend Engine (4.0.10) |
Potential Missing Extensions ::
Disabled Functions :: pcntl_alarm | pcntl_fork | pcntl_waitpid | pcntl_wait | pcntl_wifexited | pcntl_wifstopped | pcntl_wifsignaled | pcntl_wifcontinued | pcntl_wexitstatus | pcntl_wtermsig | pcntl_wstopsig | pcntl_signal | pcntl_signal_get_handler | pcntl_signal_dispatch | pcntl_get_last_error | pcntl_strerror | pcntl_sigprocmask | pcntl_sigwaitinfo | pcntl_sigtimedwait | pcntl_exec | pcntl_getpriority | pcntl_setpriority | pcntl_async_signals | pcntl_unshare | |

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

Apache Modules :: core | mod_so | mod_watchdog | http_core | mod_log_config | mod_logio | mod_version | mod_unixd | mod_access_compat | mod_alias | mod_auth_basic | mod_authn_core | mod_authn_file | mod_authz_core | mod_authz_host | mod_authz_user | mod_autoindex | mod_deflate | mod_dir | mod_env | mod_filter | mod_mime | prefork | mod_negotiation | mod_php | mod_reqtimeout | mod_setenvif | mod_status | Apache |
Potential Missing Modules :: mod_rewrite | mod_expires | mod_security | mod_evasive | mod_dosevasive | mod_ssl | mod_qos | mod_userdir |
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) |

Elevated Permissions (First 10) ::
Database Information :: wrote:Database statistics :: Uptime: 92525 | Threads: 1 | Questions: 14458 | Slow queries: 0 | Opens: 150 | Flush tables: 1 | Open tables: 144 | Queries per second avg: 0.156 |
Extensions Discovered :: wrote:Components :: Site ::
Core :: com_wrapper (3.0.0) 1 | com_mailto (3.0.0) 1 |
3rd Party::

Components :: Admin ::
Core :: com_contenthistory (3.2.0) 1 | com_menus (3.0.0) 1 | com_finder (3.0.0) 1 | com_postinstall (3.2.0) 1 | com_joomlaupdate (3.10.1) 1 | com_templates (3.0.0) 1 | com_privacy (3.9.0) 1 | com_banners (3.0.0) 1 | com_modules (3.0.0) 1 | com_users (3.0.0) 1 | com_messages (3.0.0) 1 | com_languages (3.0.0) 1 | com_checkin (3.0.0) 1 | com_config (3.0.0) 1 | com_newsfeeds (3.0.0) 1 | com_admin (3.0.0) 1 | com_plugins (3.0.0) 1 | com_installer (3.0.0) 1 | com_content (3.0.0) 1 | com_media (3.0.0) 1 | com_actionlogs (3.9.0) 1 | com_cpanel (3.0.0) 1 | com_redirect (3.0.0) 1 | com_search (3.0.0) 1 | com_login (3.0.0) 1 | com_fields (3.7.0) 1 | com_associations (3.7.0) 1 | com_tags (3.1.0) 1 | com_categories (3.0.0) 1 | com_cache (3.0.0) 1 | com_ajax (3.2.0) 1 |
3rd Party:: com_jaextmanager (2.5.3) 1 | com_jaextmanager (2.7.1) 1 | Smart Slider 3 (3.5.0.11) 1 | ChronoForms6 (6.1.4) 1 | com_slideshowck (2.3.0) 1 | Slideshow CK (2.3.0) 1 | Akeeba (8.0.10) 1 | Image Effect CK (2.3.0) 1 | com_imageeffectck (2.3.0) 1 |

Modules :: Site ::
Core :: mod_feed (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_wrapper (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_search (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_stats (3.0.0) 1 | mod_users_latest (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_articles_archive (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_tags_similar (3.1.0) 1 | mod_login (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_menu (3.0.0) 1 |
3rd Party:: GTranslate (3.7.6) 1 | Slideshow CK (2.3.0) 1 | Perfect Everything in Everyway (2.0.13) 1 | B-Accessibility (1.0.6) 1 | sigplus (1.4.3.3) 1 | Smart Slider 3 Module (3.5.0.11) 1 |

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

Libraries ::
Core ::
3rd Party:: CEGCore2 (2.0.12) 1 | file_fof30 (3.6.2) ? | Regular Labs Library (20.11.23860) 1 | file_fof40 (4.0.6) ? |

Plugins ::
Core :: plg_quickicon_privacycheck (3.9.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_eos310 (3.10.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_twofactorauth_totp (3.2.0) 0 | plg_twofactorauth_yubikey (3.2.0) 0 | plg_fields_url (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_repeatable (3.9.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | PLG_INSTALLER_URLINSTALLER (3.6.0) 1 | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_pagenavigation (3.0.0) 1 | plg_content_confirmconsent (3.9.0) 0 | plg_content_vote (3.0.0) 0 | plg_content_loadmodule (3.0.0) 1 | plg_content_emailcloak (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_finder (3.0.0) 0 | PLG_ACTIONLOG_JOOMLA (3.9.0) 1 | plg_captcha_recaptcha_invisible (3.8) 0 | plg_captcha_recaptcha (3.4.0) 0 | plg_search_content (3.0.0) 1 | plg_search_contacts (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_search_tags (3.0.0) 1 | plg_search_categories (3.0.0) 1 | plg_privacy_message (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_privacy_user (3.9.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_user_terms (3.9.0) 0 | plg_user_contactcreator (3.0.0) 0 | plg_user_joomla (3.0.0) 1 | plg_user_profile (3.0.0) 0 | plg_finder_content (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_finder_categories (3.0.0) 1 | plg_authentication_gmail (3.0.0) 0 | plg_authentication_ldap (3.0.0) 0 | plg_authentication_cookie (3.0.0) 1 | plg_authentication_joomla (3.0.0) 1 | plg_system_cache (3.0.0) 0 | plg_system_languagefilter (3.0.0) 0 | plg_system_fields (3.7.0) 1 | plg_system_logrotation (3.9.0) 1 | plg_system_redirect (3.0.0) 0 | plg_system_updatenotification (3.5.0) 0 | plg_system_remember (3.0.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_stats (3.5.0) 1 | plg_system_sessiongc (3.8.6) 1 | PLG_SYSTEM_ACTIONLOGS (3.9.0) 0 | plg_system_debug (3.0.0) 1 | plg_system_sef (3.0.0) 1 | plg_system_p3p (3.0.0) 0 | plg_system_highlight (3.0.0) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_log (3.0.0) 1 | plg_system_languagecode (3.0.0) 0 | plg_extension_joomla (3.0.0) 1 |
3rd Party:: plg_quickicon_akeebabackup (8.0.10) 1 | Perfect Link in Everyway (2.0.2) 1 | Perfect iFrame in Everyway (2.0.4) 1 | Perfect Facebook Page Plugin in Eve (2.0.5) ? | Perfect Custom HTML in Everyway (2.0.2) 1 | Perfect Cookie Policy in Everyway (2.0.3) 1 | Smart Slider 3 Updater Plugin (3.5.0.11) 1 | Content - Image gallery - sigplus (1.4.3.3) 0 | Content - RokInjectModule (1.7) 1 | Content - Perfect Everything in Eve (2.0.0) ? | PLG_ACTIONLOG_AKEEBABACKUP (8.0.10) 0 | plg_editors_codemirror (5.60.0) 1 | plg_editors_tinymce (4.5.12) 1 | plg_search_sigplus (1.5.0.270) 0 | plg_editors-xtd_sigplus (1.5.0.270) 0 | Button - Perfect Everything in Ever (2.0.0) ? | Smart Slider 3 System Plugin (3.5.0.11) 1 | System - Google Analytics (4.6.1) 1 | plg_system_kickgdpr (3.4.0) 1 | PLG_SYSTEM_BACKUPONUPDATE (8.0.10) 0 | plg_system_t4 (2.0.3) 1 | Image Effect CK (2.3.0) 1 | plg_system_regularlabs (20.11.23860) 1 | System - RokCommon (3.2.5) 1 | ChronoengineGcore2 (1.0) 1 |
Templates Discovered :: wrote:Templates :: Site :: beez3 (3.1.0) ? | protostar (1.0) ? | t4_blank (1.1.2) 1 |
Templates :: Admin :: hathor (3.0.0) 1 | isis (1.0) 1 |
Last edited by toivo on Sun Sep 12, 2021 3:52 am, edited 1 time in total.
Reason: mod note: disabled smilies in post Options for readability

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17426
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: call to undefined function create_function() in 3.10.1

Post by toivo » Sun Sep 12, 2021 3:51 am

The website has the latest version of the third party component JA Extension Manager, 2.7.1, but also a much older version, 2.5.3, which should be uninstalled.

Two instances of the component Image Effect CK exist, but both of them are one point release behind the latest version.

The module Sigplus 1.4.3 is more than four years old and unlikely to work properly in PHP 8.

The module Perfect Everything in Every Way 2.0.13 may be at least two years old. Is the website using this module? It was replaced by the paid extension Shack Toolbox, last updated in 2020.

The old plugins from Perfect Web may well be causing the issue with the deprecated function create_function().

Download the plugins folder from the web server using File Manager or FTP into your workstation and search for the string create_function from the source code by using a utility like GrepWin. That way it could be possible to identify the origin of the error and then disable that plugin by editing the database table _extensions in phpMyAdmin or a similar database utility.
Toivo Talikka, Global Moderator

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

Re: call to undefined function create_function() in 3.10.1

Post by Per Yngve Berg » Sun Sep 12, 2021 9:10 am

These are to small: Max. Upload Size: 2M | Max. POST Size: 8M (inc to 32M and 64M)

Potential Missing Modules :: mod_rewrite | mod_expires | mod_security | mod_evasive | mod_dosevasive | mod_ssl | mod_qos | mod_userdir

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


Use cgi or fpm-cgi to avoid ownership issues.

wcorrearj
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Wed Sep 08, 2021 7:12 pm

Re: call to undefined function create_function() in 3.10.1

Post by wcorrearj » Mon Sep 13, 2021 2:17 pm

toivo wrote:
Sun Sep 12, 2021 3:51 am
The website has the latest version of the third party component JA Extension Manager, 2.7.1, but also a much older version, 2.5.3, which should be uninstalled.

Two instances of the component Image Effect CK exist, but both of them are one point release behind the latest version.

The module Sigplus 1.4.3 is more than four years old and unlikely to work properly in PHP 8.

The module Perfect Everything in Every Way 2.0.13 may be at least two years old. Is the website using this module? It was replaced by the paid extension Shack Toolbox, last updated in 2020.

The old plugins from Perfect Web may well be causing the issue with the deprecated function create_function().

Download the plugins folder from the web server using File Manager or FTP into your workstation and search for the string create_function from the source code by using a utility like GrepWin. That way it could be possible to identify the origin of the error and then disable that plugin by editing the database table _extensions in phpMyAdmin or a similar database utility.
Hi, thank you very much for your help.
I did all the procedures and even so I couldn't go up with PHP 8. By doing research (create_function) I was able to identify the problem in the plugin: CEGCore2 (ChronoForms). After removing this "CEGCore2" everything is back to normal with PHP 8.

User avatar
JTema
Joomla! Guru
Joomla! Guru
Posts: 733
Joined: Sun Apr 13, 2008 8:10 pm

Re: call to undefined function create_function() in 3.10.1

Post by JTema » Mon Sep 13, 2021 3:30 pm

Another way to identify issue is to enable debug system option on global configuration. That will display which file causes error.
http://www.joomlatema.net - Joomla Extensions and Templates
https://asgardia.joomlatema.net - Asgardia Joomla Gardening Template


Locked

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