Template error a non-numeric value encountered xenforo 2 lỗi năm 2024

Warning: A non-numeric value encountered in /wp-content/themes/Divi/includes/builder/module/Portfolio.php on line 513

Show

That line :

private static function get_previous_link( $paged ) { $previous_page = (int) $paged - 1;

return $previous_page >= 1 ? get_pagenum_link( $previous_page ) : null; }

Would please help find a solution to this issue?

Pleas advise.

Thank you

  • Template error a non-numeric value encountered xenforo 2 lỗi năm 2024

    Staff Member

    I would suggest you to update Divi to the latest version & see if it works. Also try to enable Safe Mode & see if it works: WP Admin > Divi > Support Center > Safe Mode > Enabled. Lastly, try to fulfill the requirements stated in WP Admin > Divi > Support Center > System Status. But this is better to do not in modified file. You should change it in your core file using OCMOD. Because if you make changes in modified file, after you refresh modifications this warning appear again.


    Custom OpenCart modules and solutions. You can write PM with additional questions... Extensions you can find here Warning: A non-numeric value encountered in /nfs/c01/h05/mnt/6503/domains/wataniagroup.com/html/libraries/gantry/features/morearticles.php on line 57 After update .. how to solve this case am using : website: http://www.wataniagroup.com PHP 7.3 joomla 9.23 Gantry Framework Extension v4.1.43 Gantry Default Template v4.1.43 http://gantry.org/downloads Any help will be appreciated thanks Last edited by ahmedalnaqa on Tue Dec 29, 2020 8:43 am, edited 1 time in total.


    toivo Joomla! Master

    Template error a non-numeric value encountered xenforo 2 lỗi năm 2024
    Posts: 17737 Joined: Thu Feb 15, 2007 5:48 am Location: Sydney, Australia

    by toivo » Tue Dec 29, 2020 8:41 am Does the website use the latest version of Gantry? If this happens in the latest version of Gantry, go to Global Configuration - Server - Server Settings - Error Reporting and select 'None'. That setting will filter PHP errors, warnings and notices. Toivo Talikka, Global Moderator



    toivo Joomla! Master

    Template error a non-numeric value encountered xenforo 2 lỗi năm 2024
    Posts: 17737 Joined: Thu Feb 15, 2007 5:48 am Location: Sydney, Australia

    by toivo » Tue Dec 29, 2020 8:57 am More information needed. Please post the results from the Forum Post Assistant (FPA) by following the instructions at https://forumpostassistant.github.io/docs so that our volunteers can review the configuration. You can also increase the level of error reporting in Global Configuration to 'Maximum' and enable and configure the plugin System - Debug so that the details of the script causing further issues are displayed. Toivo Talikka, Global Moderator


    ahmedalnaqa Joomla! Apprentice

    Template error a non-numeric value encountered xenforo 2 lỗi năm 2024
    Posts: 38 Joined: Mon Jan 13, 2014 12:14 pm

    by ahmedalnaqa » Tue Dec 29, 2020 9:13 am FPA:
    Forum Post Assistant (v1.6.2) : 29-Dec-2020 wrote:
    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: 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: 15 | Session handler: database | Shared sessions: false | SSL: 0 | Error Reporting: maximum | 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: 4.9.182mtv24 | Technology: x86_64 | Web Server: Apache/2.4.39 | Encoding: gzip | System TMP Writable: Yes | Free Disk Space : 3099.83 GiB |

PHP Configuration :: Version: 7.3.11 | PHP API: cgi-fcgi | Session Path Writable: Yes | Display Errors: 1 | Error Reporting: | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 0 | Open Base: /nfs:/tmp:/usr/local:/etc/apache2/gs-bin | Uploads: 1 | Max. Upload Size: 99M | Max. POST Size: 99M | Max. Input Time: -1 | Max. Execution Time: 120 | Memory Limit: 99M

Database Configuration :: Version: 5.6.32-78.0 (Client:mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $) | Database Size: 12.55 MiB |

of Tables with config prefix: 111 |

of other Tables: 0 | User Privileges : GRANT SELECTUser Privileges : INSERTUser Privileges : UPDATEUser Privileges : DELETEUser Privileges : CREATEUser Privileges : DROPUser Privileges : INDEXUser Privileges : ALTERUser Privileges : CREATE TEMPORARY TABLESUser Privileges : LOCK TABLES ON `db6503\_wsdhbfw`.* TO 'db6503_UwaSFh'@'%'

Detailed Environment :: wrote:PHP Extensions :: Core (7.3.11) | date (7.3.11) | libxml (7.3.11) | openssl (7.3.11) | pcre (7.3.11) | sqlite3 (7.3.11) | zlib (7.3.11) | bcmath (7.3.11) | bz2 (7.3.11) | calendar (7.3.11) | ctype (7.3.11) | curl (7.3.11) | dba (7.3.11) | dom (20031129) | hash (7.3.11) | fileinfo (7.3.11) | filter (7.3.11) | ftp (7.3.11) | gd (7.3.11) | gettext (7.3.11) | SPL (7.3.11) | iconv (7.3.11) | session (7.3.11) | intl (7.3.11) | json (1.7.0) | ldap (7.3.11) | mbstring (7.3.11) | standard (7.3.11) | PDO (7.3.11) | pdo_mysql (7.3.11) | pdo_pgsql (7.3.11) | pdo_sqlite (7.3.11) | pgsql (7.3.11) | Phar (7.3.11) | posix (7.3.11) | pspell (7.3.11) | Reflection (7.3.11) | imap (7.3.11) | SimpleXML (7.3.11) | soap (7.3.11) | sockets (7.3.11) | mysqlnd (mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $) | exif (7.3.11) | tokenizer (7.3.11) | wddx (7.3.11) | xml (7.3.11) | xmlreader (7.3.11) | xmlrpc (7.3.11) | xmlwriter (7.3.11) | xsl (7.3.11) | zip (1.15.4) | mysqli (7.3.11) | cgi-fcgi () | Zend Engine (3.3.11) |

Potential Missing Extensions ::

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/ (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: 4592780 | Threads: 13 | Questions: 884112830 | Slow queries: 750 | Opens: 14989096 | Flush tables: 1 | Open tables: 1024 | Queries per second avg: 192.500 | Extensions Discovered :: wrote:Components :: Site :: Core :: com_mailto (3.0.0) 1 | com_wrapper (3.0.0) 1 | 3rd Party:: Components :: Admin :: Core :: com_cache (3.0.0) 1 | com_joomlaupdate (3.6.2) 1 | com_contenthistory (3.2.0) 1 | com_installer (3.0.0) 1 | com_ajax (3.2.0) 1 | com_privacy (3.9.0) 1 | com_banners (3.0.0) 1 | com_plugins (3.0.0) 1 | com_languages (3.0.0) 1 | com_users (3.0.0) 1 | com_actionlogs (3.9.0) 1 | com_checkin (3.0.0) 1 | com_associations (3.7.0) 1 | com_menus (3.0.0) 1 | com_finder (3.0.0) 1 | com_messages (3.0.0) 1 | com_postinstall (3.2.0) 1 | com_weblinks (3.4.1) 1 | com_templates (3.0.0) 1 | com_categories (3.0.0) 1 | com_newsfeeds (3.0.0) 1 | com_config (3.0.0) 1 | com_tags (3.1.0) 1 | com_fields (3.7.0) 1 | com_content (3.0.0) 1 | com_admin (3.0.0) 1 | com_search (3.0.0) 1 | com_login (3.0.0) 1 | com_media (3.0.0) 1 | com_redirect (3.0.0) 1 | com_modules (3.0.0) 1 | com_cpanel (3.0.0) 1 | 3rd Party:: RokCandy (2.0.4) 1 | com_jhackguard (2.0.2) 1 | com_contactmap (J3.14F) 1 | com_phocafavicon (3.0.3) 1 | COM_GANTRY (4.1.43) 1 | Admintools (5.9.1) 1 | com_gantry5 (5.4.36) 0 | Modules :: Site :: Core :: mod_stats (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_login (3.0.0) 1 | mod_wrapper (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_users_latest (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_articles_archive (3.0.0) 1 | mod_tags_similar (3.1.0) 1 | mod_random_image (3.0.0) 1 | mod_weblinks (3.4.1) 1 | mod_articles_latest (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_search (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_related_items (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_banners (3.0.0) 1 | 3rd Party:: RokStories (1.15) 1 | [youtube] playlist player (5.1.1) 1 | RokAjaxSearch (2.0.6) 1 | RokNavMenu (2.0.9) 1 | mod_gantry5_particle (5.4.36) 0 | Optimized Campaign (3.0.4) 1 | RokTabs (1.14) 1 | mod_ads_elite (4.5) 1 | JE LightBox (3.3) 1 | QR-Code der Seite (1.1 - j1.6) 1 | Images Crawler (2.2) 1 | Modules :: Admin :: Core :: mod_stats_admin (3.0.0) 1 | mod_status (3.0.0) 1 | mod_latestactions (3.9.0) 1 | mod_sampledata (3.8.0) 1 | mod_logged (3.0.0) 1 | mod_title (3.0.0) 1 | mod_login (3.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_menu (3.0.0) 1 | mod_version (3.0.0) 1 | mod_latest (3.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_popular (3.0.0) 1 | 3rd Party:: Libraries :: Core :: 3rd Party:: Gantry (4.1.29) ? | Plugins :: Core :: plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_twofactorauth_totp (3.2.0) 0 | plg_twofactorauth_yubikey (3.2.0) 0 | plg_user_terms (3.9.0) 0 | plg_user_profile (3.0.0) 0 | plg_user_joomla (3.0.0) 1 | plg_user_contactcreator (3.0.0) 0 | plg_system_sef (3.0.0) 1 | plg_system_log (3.0.0) 1 | plg_system_remember (3.0.0) 1 | plg_system_languagecode (3.0.0) 0 | plg_system_sessiongc (3.8.6) 1 | plg_system_p3p (3.0.0) 1 | plg_system_contactmap (3.0.0) 1 | plg_system_redirect (3.0.0) 1 | plg_system_highlight (3.0.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_stats (3.5.0) 1 | plg_system_languagefilter (3.0.0) 0 | plg_system_cache (3.0.0) 0 | plg_system_debug (3.0.0) 1 | plg_system_privacyconsent (3.9.0) 0 | PLG_SYSTEM_ACTIONLOGS (3.9.0) 0 | plg_system_logc (3.0.0) 1 | plg_system_fields (3.7.0) 1 | plg_system_logrotation (3.9.0) 1 | plg_system_updatenotification (3.5.0) 1 | plg_privacy_user (3.9.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_privacy_message (3.9.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_weblinks (3.4.1) 1 | plg_finder_tags (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_search_contacts (3.0.0) 1 | plg_search_categories (3.0.0) 1 | plg_search_content (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_search_weblinks (3.4.1) 1 | plg_search_tags (3.0.0) 0 | plg_extension_joomla (3.0.0) 1 | PLG_INSTALLER_URLINSTALLER (3.6.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_repeatable (3.9.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_radio (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_imagelist (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_usergrouplist (3.7.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_authentication_ldap (3.0.0) 0 | plg_authentication_gmail (3.0.0) 0 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_cookie (3.0.0) 1 | PLG_ACTIONLOG_JOOMLA (3.9.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_pagenavigation (3.0.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_content_confirmconsent (3.9.0) 0 | plg_content_emailcloak (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_vote (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_finder (3.0.0) 0 | plg_captcha_recaptcha (3.4.0) 1 | plg_captcha_recaptcha_invisible (3.8) 0 | 3rd Party:: plg_quickicon_gantry5 (5.4.36) 0 | PLG_SYSTEM_ADMINTOOLS (5.9.1) 1 | System - Google Maps (3.5) 1 | System - jomDefender (2.0.1) 0 | System - RokBooster (1.1.18) 0 | System - Content Optimizer (3.2.3.201) 0 | plg_system_adsstarterelite (4.5) 1 | plg_system_tjupdates (1.0.2) 1 | PLG_SYS_ADMINEXILE (2.3.6) 1 | JHackGuard Plugin (2.0.4) 1 | System - RokCandy (2.0.4) 1 | System - RokBox (2.0.15) 1 | System - Gantry 4 (4.1.43) 1 | plg_system_gantry5 (5.4.36) 0 | System - RokExtender (2.0.0) 1 | RokPad (2.1.10) 1 | plg_editors_tinymce (4.5.12) 1 | plg_editors_codemirror (5.56.0) 1 | Button - RokCandy (2.0.4) 1 | Button - RokBox (2.0.15) 1 | pdf_btn (2.1.8) 0 | plg_gantry5_preset (5.4.36) 0 | PLG_ACTIONLOG_ADMINTOOLS (1.0) 0 | pdf_embed (2.1.8) 0 | plg_content_adselite (4.5) 0 | RokBox (2.0.15) 1 |