Goals problem on Matomo 4.9.0

I have an installation made on NGINX server managed through Runcloud which does not allow me to manage the Goals correctly.

This WARNING appears on the dedicated page:

WARNING: /plugins/Goals/Controller.php(145): Warning - foreach () argument must be of type array | object, null given - Matomo 4.9.0 - Please report this message in the Matomo forums: https: // forum .matomo.org (please do a search first as it might have been reported already) (Module: Goals, Action: addNewGoal, In CLI mode: false)

How can I solve this problem?

This is the check of the system that Matomo does:

Click to view System Check

Mandatory checks

Versione PHP >= 7.2.5:

:heavy_check_mark: 8.0.16

PDO estensione:

:heavy_check_mark:

PDO\MYSQL estensione:

:heavy_check_mark:

MYSQLI estensione:

:heavy_check_mark:

Altre estensioni Richieste:

:heavy_check_mark: zlib :heavy_check_mark: json :heavy_check_mark: filter :heavy_check_mark: hash :heavy_check_mark: session

Funzioni richieste:

:heavy_check_mark: debug_backtrace :heavy_check_mark: eval :heavy_check_mark: hash :heavy_check_mark: gzcompress :heavy_check_mark: gzuncompress :heavy_check_mark: pack

Richiesta configurazione PHP (php.ini):

:heavy_check_mark: session.auto_start = 0 :heavy_check_mark: max_execution_time = 0 OR = -1 OR >= 30

Directories con permessi di scrittura:

:heavy_check_mark: $DOC_ROOT/tmp :heavy_check_mark: $DOC_ROOT/tmp/assets :heavy_check_mark: $DOC_ROOT/tmp/cache :heavy_check_mark: $DOC_ROOT/tmp/climulti :heavy_check_mark: $DOC_ROOT/tmp/latest :heavy_check_mark: $DOC_ROOT/tmp/logs :heavy_check_mark: $DOC_ROOT/tmp/sessions :heavy_check_mark: $DOC_ROOT/tmp/tcpdf :heavy_check_mark: $DOC_ROOT/tmp/templates_c

Optional checks

Directory private richieste:

:heavy_check_mark: Tutte le directory private sono accessibili da Internet.

Recommended Private Directories:

:heavy_check_mark: Tutte le directory private sono accessibili da Internet.

Integrità dei file:

:heavy_check_mark:

64-bit PHP Binary:

:heavy_check_mark:

Stato del tracker:

:heavy_check_mark:

Memoria massima:

:heavy_check_mark: 256M

Fuso orario:

:heavy_check_mark:

Apri URL:

:heavy_check_mark: curl

PageSpeed disabilitato:

:heavy_check_mark:

GD > 2.x + Freetype (grafica):

:heavy_check_mark:

Altre estensioni:

:heavy_check_mark: json :heavy_check_mark: libxml :heavy_check_mark: dom :heavy_check_mark: SimpleXML :heavy_check_mark: openssl

Altre funzioni:

:heavy_check_mark: shell_exec :warning: Warning: set_time_limit
Su un sito web con grande traffico, il processo di archiviazione potrebbe richiedere più tempo di quello attualmente consentito.
Cambia la direttiva max_execution_time nel tuo file php.ini se necessario. :heavy_check_mark: mail :heavy_check_mark: parse_ini_file :heavy_check_mark: glob :heavy_check_mark: gzopen :heavy_check_mark: md5_file

Filesystem:

:heavy_check_mark:

Impostazione Cron Job (caricamento veloce dei report):

:warning: Warning: Per delle prestazioni ottimali e un Matomo veloce, è altamente raccomandato di impostare un crontab per archiviare automaticamente i tuoi report, e di disabilitare l’attivazione dal browser nelle impostazioni di Matomo. Leggi altro.

Browser e Auto-archiviazione abilitati:

:warning: Warning: Sembra che sia il browser che l’archiviazione automatica siano abilitati. L’archiviazione automatica è iniziata l’ultima volta 1 ore 14 minuti fa. Se l’archiviazione automatica è abilitata, è necessario disabilitarla nelle “Impostazioni generali” del browser.

Impostazione Cron Job - Gestione processi tramite CLI:

:heavy_check_mark: Ok

Capacità del database:

:heavy_check_mark: UTF8mb4 charset :warning: Warning: LOAD DATA INFILE
L’utilizzo di LOAD DATA INFILE accelera notevolmente il processo di archiviazione di Matomo. Per renderlo disponibile a Matomo, prova ad aggiornare il tuo software PHP & MySQL e assicurati che la tua utenza del database abbia i privilegi FILE.
Se il tuo server Matomo traccia dei siti web ad alto traffico (ad esempio > 100.000 pagine al mese), ti consigliamo di provare a risolvere questo problema.
Errore: LOAD DATA INFILE failed… Error was:
Try #1: LOAD DATA INFILE : SQLSTATE[28000]: Invalid authorization specification: 1045 Access denied for user ‘mato1234’@’%’ (using password: YES)[28000],
Try #2: LOAD DATA LOCAL INFILE : SQLSTATE[42000]: Syntax error or access violation: 1148 The used command is not allowed with this MariaDB version[42000]
Troubleshooting: FAQ on matomo.org :heavy_check_mark: CREATE TEMPORARY TABLES :heavy_check_mark: Changing transaction isolation level

Dimensione Massima Pacchetto:

:heavy_check_mark:

Connessione SSL Forzata:

:warning: Warning: Si consiglia di utilizzare Matomo solo tramite connessioni SSL protette. Per impedire l’accesso non sicuro tramite http, aggiungi force_ssl = 1 alla sezione General del tuo file Matomo config/config.ini.php.

Geolocalizzazione:

:heavy_check_mark: geoip2php (continent_code, continent_name, country_code, country_name, region_code, region_name, city_name, postal_code, lat, long)

Aggiorna tramite HTTPS:

:heavy_check_mark:

JavaScript Tracker scrivibile ("/matomo.js"):

:heavy_check_mark:

[GoogleAnalyticsImporter] Funzioni PHP Richieste:

:heavy_check_mark:

[GoogleAnalyticsImporter] Eseguibili Richiesti (php):

:heavy_check_mark:

[GoogleAnalyticsImporter] Eseguibili Richiesti (nohup):

:heavy_check_mark:

Informational results

Matomo Version:

4.9.0

Matomo Update History:

4.9.0,

Matomo Install Version:

4.9.0

Latest Available Version:

4.9.0

Is Git Deployment:

0

PHP_OS:

Linux

PHP_BINARY:

/RunCloud/Packages/php80rc/sbin/php-fpm

PHP SAPI:

fpm-fcgi

Timezone Version:

2021.5

PHP Timezone:

UTC

PHP Time:

1649948521

PHP Datetime:

2022-04-14 15:02:01

PHP Disabled functions:

getmyuid, passthru, leak, listen, diskfreespace, tmpfile, link, ignore_user_abort, dl, set_time_limit, system, highlight_file, source, show_source, fpassthru, virtual, posix_ctermid, posix_getcwd, posix_getegid, posix_geteuid, posix_getgid, posix_getgrgid, posix_getgrnam, posix_getgroups, posix_getlogin, posix_getpgid, posix_getpgrp, posix_getpid, posix, _getppid, posix_getpwuid, posix_getrlimit, posix_getsid, posix_getuid, posix_isatty, posix_kill, posix_mkfifo, posix_setegid, posix_seteuid, posix_setgid, posix_setpgid, posix_setsid, posix_setuid, posix_times, posix_ttyname, posix_uname, proc_open, proc_close, proc_nice, proc_terminate, escapeshellcmd, ini_alter, popen, pcntl_exec, socket_accept, socket_bind, socket_clear_error, socket_close, socket_connect, symlink, posix_geteuid, ini_alter, socket_listen, socket_create_listen, socket_read, socket_create_pair, stream_socket_server

PHP INI max_execution_time:

600

PHP INI post_max_size:

256M

PHP INI max_input_vars:

1000

PHP INI zlib.output_compression:

Curl Version:

7.68.0, OpenSSL/1.1.1f

Suhosin Installed:

0

DB Prefix:

matomo_

DB Charset:

utf8mb4

DB Adapter:

PDO\MYSQL

MySQL Version:

10.3.34-MariaDB-0ubuntu0.20.04.1

Num Tables:

52

Browser Segment Archiving Enabled:

1

Development Mode Enabled:

0

Internet Enabled:

1

Multi Server Environment:

0

Auto Update Enabled:

1

Custom User Path:

0

Custom Include Path:

0

Release Channel:

latest_stable

Plugins Activated:

API, Actions, Annotations, BulkTracking, Contents, CoreAdminHome, CoreConsole, CoreHome, CorePluginsAdmin, CoreUpdater, CoreVisualizations, CoreVue, CustomDimensions, CustomJsTracker, Dashboard, DeviceNetworkInformation 4.0.1, DevicePlugins, DevicesDetection, Diagnostics, Ecommerce, Events, Feedback, GeoIp2, Goals, GoogleAnalyticsImporter 4.1.10, Heartbeat, IP2Location 4.0.9, ImageGraph, Insights, Installation, Intl, IntranetMeasurable, LanguageToogle 0.3.5, LanguagesManager, Live, Login, Marketplace, MobileMessaging, Monolog, Morpheus, MultiSites, Overlay, PagePerformance, PrivacyManager, ProfessionalServices, Proxy, Referrers, Resolution, RssWidget, SEO, ScheduledReports, SegmentEditor, SitesManager, Tour, Transitions, TwoFactorAuth, UserCountry, UserCountryMap, UserId, UserLanguage, UsersManager, VisitFrequency, VisitTime, VisitorInterest, VisitsSummary, WebsiteMeasurable, Widgetize, WooCommerceAnalytics 4.0.5

Plugins Deactivated:

DBStats, MobileAppMeasurable, TagManager

Plugins Invalid:

Server Info:

Apache/2.4.52 (Unix) OpenSSL/1.1.1f

Had visits in last 1 day:

1

Had visits in last 3 days:

1

Had visits in last 5 days:

1

Archive Time Last Started:

1649944068

Archive Time Last Finished:

1649944069

User Agent:

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.88 Safari/537.36

Browser Language:

it-it,it,en-us,en,de,es,fr

Total Invalidation Count:

0

In Progress Invalidation Count:

0

Scheduled Invalidation Count:

0

Earliest invalidation ts_started:

Latest invalidation ts_started:

Earliest invalidation ts_invalidated:

Latest invalidation ts_invalidated:

Number of segment invalidations:

0

Number of plugin invalidations:

0

List of plugins being invalidated:

Anonymize Referrer:

Do Not Track enabled:

1

Regards
Francesco

Topic on the same subject:

1 Like