Undefined variable PHP Error - Joomla! Forum - community, help and support
i have several joomla websites, version 3.6.2. error logs full of messages below.
php notice: undefined variable: user_random_id in /var/www/astarmathsandphysics/components/com_jdownloads/helpers/jdownloadshelper.php on line 3424
i fon't think error due component, module or plugin because same undefined variable php error appears on websites, using different plugins, components , modules.
here fpa output.
php notice: undefined variable: user_random_id in /var/www/astarmathsandphysics/components/com_jdownloads/helpers/jdownloadshelper.php on line 3424
i fon't think error due component, module or plugin because same undefined variable php error appears on websites, using different plugins, components , modules.
here fpa output.
forum post assistant (v1.2.7) : 17th october 2016 wrote:basic environment :: wrote:joomla! instance :: joomla! 3.6.2-stable (noether) 4-august-2016
joomla! platform :: joomla platform 13.1.0-stable (curiosity) 24-apr-2013
joomla! configured :: yes | read-only (444) | owner: www-data (uid: 1/gid: 1) | group: www-data (gid: 1) | valid for: 1.5
configuration options :: offline: 0 | sef: 1 | sef suffix: 1 | sef rewrite: 1 | .htaccess/web.config: yes | gzip: 0 | cache: 0 | ftp layer: 0 | ssl: 2 | error reporting: default | site debug: 0 | language debug: 0 | default access: n/a | unicode slugs: n/a | database credentials present: yes
host configuration :: os: linux | os version: 3.13.0-32-generic | technology: x86_64 | web server: apache | encoding: gzip | doc root: /var/www/courseworkbank | system tmp writable: yes
php configuration :: version: 5.6.27-1+deb.sury.org~xenial+1 | php api: apache2handler | session path writable: yes | display errors: | error reporting: 22527 | log errors to: | last known error: | register globals: | magic quotes: | safe mode: | open base: | uploads: 1 | max. upload size: 10m | max. post size: 10m | max. input time: 60 | max. execution time: 30 | memory limit: 128m
mysql configuration :: version: 5.7.15-0ubuntu0.16.04.1 (client:mysqlnd 5.0.11-dev - 20120503 - $id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $) | host: --protected-- (--protected--) | collation: latin1_swedish_ci (character set: latin1) | database size: 5.05 mib | #of tables: 104detailed environment :: wrote:php extensions :: core (5.6.27-1+deb.sury.org~xenial+1) | date (5.6.27-1+deb.sury.org~xenial+1) | ereg () | libxml () | openssl () | pcre () | zlib (2.0) | filter (0.11.0) | hash (1.0) | reflection ($id: 5f15287237d5f78d75b19c26915aa7bd83dee8b8 $) | spl (0.2) | session () | standard (5.6.27-1+deb.sury.org~xenial+1) | apache2handler () | mysqlnd (mysqlnd 5.0.11-dev - 20120503 - $id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $) | pdo (1.0.4dev) | xml () | calendar () | ctype () | dom (20031129) | mbstring () | fileinfo (1.0.5) | ftp () | gd () | gettext () | iconv () | json (1.2.1) | exif (1.4 $id: 8b0e34c10dc8a04b8e81d9d79985b2566141b03d $) | mcrypt () | mysql (1.0) | mysqli (0.1) | pdo_mysql (1.0.2) | phar (2.0.2) | posix () | readline (5.6.27-1+deb.sury.org~xenial+1) | shmop () | simplexml (0.1) | sockets () | sysvmsg () | sysvsem () | sysvshm () | tokenizer (0.1) | wddx () | xmlreader (0.1) | xmlwriter (0.1) | xsl (0.1) | zip (1.12.5) | mhash () | zend opcache (7.0.6-devfe) | xdebug (2.4.1) | zend engine (2.6.0) |
potential missing extensions :: curl | suhosin |
switch user environment (experimental) :: php cgi: no | server su: no | php su: no | custom su (litespeed/cloud/grid): 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_cache | mod_cache_disk | mod_cgi | mod_deflate | mod_dir | mod_env | mod_evasive20 | mod_expires | mod_fcgid | mod_file_cache | mod_filter | mod_headers | mod_mime | prefork | mod_negotiation | mod_perl | mod_php5 | mod_rewrite | mod_setenvif | mod_socache_shmcb | mod_ssl | mod_status | mod_unique_id | mod_userdir | apache |
potential missing modules :: mod_security | mod_evasive | mod_dosevasive | mod_qos | mod_userdir |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) |
elevated permissions (first 10) ::extensions discovered :: wrote:components :: site :: com_mailto (3.0.0) | unknown (-) | unknown (-) | com_wrapper (3.0.0) |
components :: admin :: com_tags (3.1.0) | acymailing (5.2.0) | acymailing template class repl (5.5.0) | acymailing tag : content inser (3.7.0) | acymailing module (3.7.0) | acymailing : statistics plugin (3.7.0) | acymailing tag : manage su (5.5.0) | acymailing : (auto)subscribe d (5.5.0) | acymailing tag : subscriber in (5.5.0) | acymailing editor (5.5.0) | acymailing manage text (1.0.0) | acymailing tag : date / time (5.5.0) | acymailing tag : joomla user (5.5.0) | acymailing tag , filter : co (3.7.2) | acymailing tag , filter : co (3.7.2) | acymailing tag : website links (3.7.0) | acymailing : trigger joomla co (3.7.0) | acymailing : share on social n (1.0.0) | acymailing table of contents g (1.0.0) | acymailing (5.5.0) | com_modules (3.0.0) | com_installer (3.0.0) | com_templates (3.0.0) | com_languages (3.0.0) | com_contenthistory (3.2.0) | com_menus (3.0.0) | com_joomlaupdate (3.6.2) | com_login (3.0.0) | com_redirect (3.0.0) | com_content (3.0.0) | com_users (3.0.0) | com_cache (3.0.0) | com_fabrik (3.4.3) | com_media (3.0.0) | com_admin (3.0.0) | com_messages (3.0.0) | com_search (3.0.0) | com_ajax (3.2.0) | com_checkin (3.0.0) | com_config (3.0.0) | com_postinstall (3.2.0) | com_categories (3.0.0) | unknown (-) | com_regularlabsmanager (6.1.1) | com_cpanel (3.0.0) | com_banners (3.0.0) | com_finder (3.0.0) | com_plugins (3.0.0) | com_newsfeeds (3.0.0) |
modules :: site :: mod_articles_categories (3.0.0) | mod_login (3.0.0) | mod_easyfolderlisting (2.8.2) | mod_users_latest (3.0.0) | mod_fabrik_form (3.4.3) | mod_articles_popular (3.0.0) | mod_articles_archive (3.0.0) | nice social bookmark (3.0.5) | mod_feed (3.0.0) | mod_footer (3.0.0) | simple file lister v1.0 (for j (1.0) | mod_random_image (3.0.0) | acymailing module (3.7.0) | mod_articles_latest (3.0.0) | mod_fabrik_list (3.4.3) | mod_banners (3.0.0) | mod_breadcrumbs (3.0.0) | mod_tags_popular (3.1.0) | mod_articles_category (3.0.0) | mod_whosonline (3.0.0) | mod_custom (3.0.0) | mod_osdonate (1.2.4) | mod_syndicate (3.0.0) | mod_articles_news (3.0.0) | mod_stats (3.0.0) | mod_finder (3.0.0) | mod_menu (3.0.0) | mod_related_items (3.0.0) | mod_wrapper (3.0.0) | mod_tags_similar (3.1.0) | mod_search (3.0.0) | mod_languages (3.5.0) |
modules :: admin :: mod_login (3.0.0) | mod_feed (3.0.0) | mod_stats_admin (3.0.0) | mod_toolbar (3.0.0) | mod_title (3.0.0) | mod_latest (3.0.0) | mod_quickicon (3.0.0) | mod_logged (3.0.0) | mod_custom (3.0.0) | mod_popular (3.0.0) | mod_menu (3.0.0) | mod_submenu (3.0.0) | mod_version (3.0.0) | mod_multilangstatus (3.0.0) | mod_status (3.0.0) |
plugins :: site :: plg_extension_joomla (3.0.0) | plg_finder_tags (3.0.0) | plg_finder_content (3.0.0) | plg_finder_categories (3.0.0) | plg_finder_contacts (3.0.0) | plg_finder_newsfeeds (3.0.0) | plg_user_profile (3.0.0) | plg_user_contactcreator (3.0.0) | plg_user_joomla (3.0.0) | plg_fabrik_validationrule_php (3.4.2) | plg_fabrik_validationrule_isgr (3.4.2) | plg_fabrik_validationrule_rege (3.4.2) | plg_fabrik_validationrule_note (3.4.2) | plg_fabrik_validationrule_isem (3.4.2) | acymailing manage text (1.0.0) | acymailing : share on social n (1.0.0) | acymailing : statistics plugin (3.7.0) | acymailing template class repl (5.2.0) | acymailing tag : cb user infor (3.7.1) | acymailing tag : content inser (3.7.0) | acymailing tag : website links (3.7.0) | acymailing tag : manage su (5.2.0) | acymailing : trigger joomla co (3.7.0) | acymailing tag : date / time (5.2.0) | acymailing table of contents g (1.0.0) | acymailing tag : subscriber in (5.2.0) | acymailing tag : joomla user (5.2.0) | plg_quickicon_extensionupdate (3.0.0) | plg_quickicon_joomlaupdate (3.0.0) | plg_fabrik_list_php (3.4.2) | plg_fabrik_list_copy (3.4.2) | plg_installer_folderinstaller (3.6.0) | plg_installer_packageinstaller (3.6.0) | plg_installer_webinstaller (1.1.0) | plg_installer_urlinstaller (3.6.0) | plg_authentication_cookie (3.0.0) | plg_authentication_ldap (3.0.0) | plg_authentication_gmail (3.0.0) | plg_authentication_joomla (3.0.0) | plg_twofactorauth_yubikey (3.2.0) | plg_twofactorauth_totp (3.2.0) | plg_search_tags (3.0.0) | plg_search_content (3.0.0) | plg_search_categories (3.0.0) | plg_search_contacts (3.0.0) | plg_search_newsfeeds (3.0.0) | plg_content_finder (3.0.0) | plg_jsmallfib_title (1.3.4) | plg_content_pagebreak (3.0.0) | plg_jatex (1.2.2) | plg_content_vote (3.0.0) | plg_content_emailcloak (3.0.0) | plg_content_pagenavigation (3.0.0) | plg_fabrik (3.4.2) | plg_content_joomla (3.0.0) | plg_content_loadmodule (3.0.0) | plg_fabrik_visualization_media (3.4.2) | plg_fabrik_visualization_googl (3.4.2) | plg_fabrik_visualization_slide (3.4.2) | plg_fabrik_visualization_chart (3.4.2) | plg_fabrik_visualization_calen (3.4.2) | plg_fabrik_form_email (3.4.2) | plg_fabrik_form_php (3.4.2) | plg_fabrik_form_redirect (3.4.2) | plg_fabrik_form_receipt (3.4.2) | plg_fabrik_element_user (3.4.2) | plg_fabrik_element_googlemap (3.4.2) | plg_fabrik_element_radiobutton (3.4.2) | plg_fabrik_element_textarea (3.4.2) | plg_fabrik_element_button (3.4.2) | plg_fabrik_element_date (3.4.2) | plg_fabrik_element_databasejoi (3.4.2) | plg_fabrik_element_internalid (3.4.2) | plg_fabrik_element_fileupload (3.4.2) | plg_fabrik_element_display (3.4.2) | plg_fabrik_element_dropdown (3.4.2) | plg_fabrik_element_checkbox (3.4.2) | plg_fabrik_element_link (3.4.2) | plg_fabrik_element_field (3.4.2) | plg_fabrik_element_image (3.4.2) | plg_editors-xtd_readmore (3.0.0) | plg_editors-xtd_module (3.5.0) | plg_editors-xtd_pagebreak (3.0.0) | plg_editors-xtd_sourcerer (6.1.2) | plg_editors-xtd_article (3.0.0) | plg_editors-xtd_image (3.0.0) | system - fabrik scheduled task (3.4.2) | plg_system_languagecode (3.0.0) | plg_system_redirect (3.0.0) | plg_system_sef (3.0.0) | plg_system_updatenotification (3.5.0) | plg_system_stats (3.5.0) | plg_system_remember (3.0.0) | acymailing : (auto)subscribe d (5.2.0) | plg_system_jch_optimize (5.0.5) | plg_system_sourcerer (6.1.2) | plg_system_regularlabs (16.9.23873) | plg_system_log (3.0.0) | plg_system_p3p (3.0.0) | plg_system_cache (3.0.0) | plg_system_logout (3.0.0) | plg_system_languagefilter (3.0.0) | plg_system_debug (3.0.0) | plg_fabrik_system (3.4.2) | plg_system_highlight (3.0.0) | plg_system_nnframework (16.3.18690) | plg_editors_codemirror (5.17.0) | plg_editors_tinymce (4.4.0) | acymailing editor (5.2.0) | plg_fabrik_cron_email (3.4.2) | plg_fabrik_cron_php (3.4.2) | plg_captcha_recaptcha (3.4.0) |templates discovered :: wrote:templates :: site :: beez3 (3.1.0) | protostar (1.0) |
templates :: admin :: hathor (3.0.0) | isis (1.0) |
this nothing worry - it's php insists variable must defined in scenarios (for example, if variable defined in "if" condition, see warning). can fix problem modifying file "jdownloadshelper.php" , declare variable empty, such as:
(you can set '0').
code: select all
$user_random_id = '';
(you can set '0').
Comments
Post a Comment