Google Analytics image not pulling into Pro report

Hello,

We have started having an issue where the image for Google Analytics is not being displayed in our Pro Reports. If I “preview” a report, the preview shows the image without any issue. However, when I send the actual report to the client, they receive a pdf that displays a big “x” with the error message “image not found or type unknown”. Is there a way I can resolve this before our next round of reports go out?

@sieverscreative Which starter report template are you using and or starting from if you have customized it any?

Can you please post the community system report from your MainWP Dashboard for review? The report is located in your Dashboard under Info → Server, on the top right of the page.

Be sure to use the button like the one below; this button hides all your private information:

image

Pressing the button auto-copies the report to your clipboard then just paste it in a reply here.

Also, please include the system report for the Child Site in question by navigating to MainWP Child > System Information and clicking the Blue button.

1 Like

Hi Keith,

Thank you for your help with this. I am primarily using the MainWP Pro Report Agency Template, but have also tried the MainWP Pro Report Modern Template for troubleshooting. No customizations have been made. Here is my system report:


### WordPress Check                Required                                               Detected                                     Status   ###

FileSystem Method                  = direct                                               direct                                       Pass        
MultiSite Disabled                 =true                                                  true                                         Pass        
WordPress Memory Limit             >=64M                                                  40M                                          Warning     
WordPress Version                  >=6.2                                                  6.4.3                                        Pass        

### PHP                            Required                                               Detected                                     Status   ###

cURL Extension Enabled             =true                                                  true                                         Pass        
cURL Timeout                       >=300 seconds                                          60                                           Warning     
cURL Version                       >=7.18.1                                               8.6.0                                        Pass        
OpenSSL Version                    >=OpenSSL/1.1.0                                        OpenSSL/1.1.1w                               Pass        
OpenSSL Working Status             Yes                                                    Yes                                          Pass        
PCRE Backtracking Limit            >=10000                                                1000000                                      Pass        
PHP Allow URL fopen                N/A                                                                                                             
PHP Disabled Functions             N/A                                                    No functions disabled.                                   
PHP Exif Support                   N/A                                                    YES                                                      
PHP IPTC Support                   N/A                                                    YES                                                      
PHP Loaded Extensions              N/A                                                    Core, PDO, PDO_ODBC, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, bz2, calendar, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, ionCube Loader, json, ldap, libxml, litespeed, mbstring, memcache, memcached, mysqli, mysqlnd, odbc, openssl, pcre, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, session, shmop, soap, sockets, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, timezonedb, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib            
PHP Max Execution Time             >=30 seconds                                           3000                                         Pass        
PHP Max Input Time                 >=30 seconds                                           600                                          Pass        
PHP Memory Limit                   >=256M                                                 1024M                                        Pass        
PHP Post Max Size                  >=2M                                                   128M                                         Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Upload Max Filesize            >=2M                                                   122M                                         Pass        
PHP Version                        >=7.4                                                  7.4.33                                       Pass        
PHP XML Support                    N/A                                                    YES                                                      
SSL Extension Enabled              =true                                                  true                                         Pass        
SSL Warnings                       = empty                                                                                             Pass        

### MySQL                          Required                                               Detected                                     Status   ###

MySQL Client Encoding              N/A                                                    utf8mb4                                                  
MySQL Mode                         N/A                                                    ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION            
MySQL Version                      >=5.0                                                  10.3.39-MariaDB                              Pass        

### Server Configuration           Detected Value                                      ###

Accept Content                     text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Accept-Charset Content             N/A                                                    
Architecture                       64		 bit                                               
Gateway Interface                                                                         
HTTPS                              ON                                                     
Memory Usage                       11.05 MB                                               
Operating System                   Linux                                                  
Request Time                       1708464649                                             
Server Protocol                    HTTP/1.1                                               
Server self connect                Not expected HTTP response body:                       
Server Software                    LiteSpeed                                              
User Agent                         Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36

### MainWP Dashboard Settings      Detected Value                                      ###

Abandoned plugins/themes tolerance 365                                                    
Basic uptime monitoring enabled    Yes                                                    
MainWP Dashboard Version           Latest: 4.6.0.1 | Detected: 4.6.0.1 Pass               
MainWP legacy backups enabled      No                                                     
Maximum number of pages to return                                                         
Maximum number of posts to return  50                                                     
Maximum simultaneous install and update requests                                                       
Maximum simultaneous requests      4                                                      
Maximum simultaneous requests per ip1                                                      
Maximum simultaneous sync requests                                                        
Minimum delay between requests     200                                                    
Minimum delay between requests to the same ip1000                                                   
Number of connected sites          208                                                    
Optimize for shared hosting or big networksNo                                                     
Plugin advanced automatic updates enabledYes                                                    
Primary backup system              MainWP Legacy Backups                                  
REST API enabled                   No                                                     
Site health monitoring enabled     Yes                                                    
Theme advanced automatic updates enabledYes                                                    
Use WP Cron                        No                                                     
WP Core advanced automatic updates enabledYes                                                    

### Extensions                     Version                                                License                                      Status   ###

MainWP Buddy Extension             4.0.5                                                  Active                                       Pass        
MainWP Clone Extension             4.0.3                                                  Active                                       Pass        
MainWP Database Updater Extension  4.0.4                                                  Active                                       Pass        
MainWP Google Analytics Extension  4.1.4                                                  Active                                       Pass        
MainWP iThemes Security Extension  4.1.4                                                  Active                                       Pass        
MainWP Pro Reports Extension       4.2                                                    Active                                       Pass        
MainWP Rocket Extension            4.0.5                                                  Active                                       Pass        
MainWP Team Control                4.0.4                                                  Active                                       Pass        
MainWP White Label Extension       4.1.4                                                  Active                                       Pass        

### Plugin                         Version                                                Status                                    ###

Classic Editor                     1.6.3                                                  Active                                       
MainWP Dashboard                   4.6.0.1                                                Active                                       
Solid Security Pro                 8.3.2                                                  Active                                       
WP Mail SMTP                       3.11.1                                                 Active                                       

It appears that I am having the issue on all of our sites across the board, but here is the server info specific to our site as this would be an example.



### Server configuration           Required value                                         Value                                        Status   ###

MAINWP CHILD                       
                                   MainWP Child Version                                   4.6                                          4.6         Pass        
WordPress                          
                                   WordPress Version                                      >=3.4                                        6.4.3       Pass        
                                   WordPress Memory Limit                                 >=64M                                        40M         Warning     
                                   MultiSite Disabled                                     =true                                        true        Pass        
                                   FileSystem Method                                      = direct                                     direct      Pass        
PHP SETTINGS                       
                                   PHP Version                                            >=7.4                                        7.4.33      Pass        
                                   PHP Safe Mode Disabled                                 OFF                                          
                                   PHP Max Execution Time                                 >=30 seconds                                 3000        Pass        
                                   PHP Max Input Time                                     >=30 seconds                                 600         Pass        
                                   PHP Memory Limit                                       >=128M (256M+ best for big backups)          1024M       Pass        
                                   PCRE Backtracking Limit                                >=10000                                      1000000     Pass        
                                   PHP Upload Max Filesize                                >=2M (2MB+ best for upload of big plugins)   122M        Pass        
                                   PHP Post Max Size                                      >=2M (2MB+ best for upload of big plugins)   128M        Pass        
                                   SSL Extension Enabled                                  =true                                        true        Pass        
                                   SSL Warnings                                           = empty                                      error:0607A082:digital envelope routines:EVP_CIPHER_CTX_set_key_length:invalid key length
error:0607A082:digital envelope routines:EVP_CIPHER_CTX_set_key_length:invalid key length
error:0607A082:digital envelope routines:EVP_CIPHER_CTX_set_key_length:invalid key length
error:0607A082:digital envelope routines:EVP_CIPHER_CTX_set_key_length:invalid key length
error:0607A082:digital envelope routines:EVP_CIPHER_CTX_set_key_length:invalid key length
error:0607A082:digital envelope routines:EVP_CIPHER_CTX_set_key_length:invalid key length
error:0607A082:digital envelope routines:EVP_CIPHER_CTX_set_key_length:invalid key length
error:0607A082:digital envelope routines:EVP_CIPHER_CTX_set_key_length:invalid key length
error:0607A082:digital envelope routines:EVP_CIPHER_CTX_set_key_length:invalid key length
error:0607A082:digital envelope routines:EVP_CIPHER_CTX_set_key_length:invalid key length
error:0607A082:digital envelope routines:EVP_CIPHER_CTX_set_key_length:invalid key length
error:0607A082:digital envelope routines:EVP_CIPHER_CTX_set_key_length:invalid key length
error:0607A082:digital envelope routines:EVP_CIPHER_CTX_set_key_length:invalid key length
error:0607A082:digital envelope routines:EVP_CIPHER_CTX_set_key_length:invalid key length
error:0607A082:digital envelope routines:EVP_CIPHER_CTX_set_key_length:invalid key lengthWarning     
                                   cURL Extension Enabled                                 =true                                        true        Pass        
                                   cURL Timeout                                           >=300 seconds                                60          Warning     
                                   cURL Version                                           >=7.18.1                                     8.6.0       Pass        
                                   cURL SSL Version                                       >=OpenSSL/1.1.0                              OpenSSL/1.1.1wPass        
                                   OpenSSL Working Status                                 Yes                                          Yes         Pass        
MySQL SETTINGS                     
                                   MySQL Version                                          >=5.0                                        10.3.39-MariaDBPass        
BACKUP ARCHIVE INFORMATION         
                                   ZipArchive enabled in PHP                              =true                                        true        Pass        
                                   Tar GZip supported                                     =true                                        true        Pass        
                                   Tar BZip2 supported                                    =true                                        true        Pass        
SERVER INFORMATION                 
                                   WordPress Root Directory                               /home/hannahsp/public_html/                  
                                   Server Name                                            www.sieverscreative.com                      
                                   Server Software                                        LiteSpeed                                    
                                   Operating System                                       Linux                                        
                                   Architecture                                           64 bit                                       
                                   Server IP                                              50.31.114.35                                 
                                   Server Protocol                                        HTTP/1.1                                     
                                   HTTP Host                                              www.sieverscreative.com                      
                                   HTTPS                                                  ON - on                                      
                                   Server self connect                                    Not expected HTTP response body:             
                                   User Agent                                             Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
                                   Server Port                                            443                                          
                                   Gateway Interface                                                                                   
                                   Memory Usage                                           35.28 MB                                     
                                   Complete URL                                           https://www.sieverscreative.com/wp-admin/options-general.php?page=mainwp-reports-page
                                   Request Time                                           1708464966                                   
                                   Accept Content                                         text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
                                   Accept-Charset Content                                 N/A                                          
                                   Currently Executing Script Pathname                    /home/hannahsp/public_html/wp-admin/options-general.php
                                   Current Page URI                                       /wp-admin/options-general.php?page=mainwp_child_tab&tab=server-info
                                   Remote Address                                         140.190.54.220                               
                                   Remote Host                                            N/A                                          
                                   Remote Port                                            56311                                        
PHP INFORMATION                    
                                   PHP Allow URL fopen                                    OFF                                          
                                   PHP Exif Support                                       YES ( V7.4.)                                 
                                   PHP IPTC Support                                       YES                                          
                                   PHP XML Support                                        YES                                          
                                   PHP Disabled Functions                                 No functions disabled                        
                                   PHP Loaded Extensions                                  Core, PDO, PDO_ODBC, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, bz2, calendar, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, ionCube Loader, json, ldap, libxml, litespeed, mbstring, memcache, memcached, mysqli, mysqlnd, odbc, openssl, pcre, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, session, shmop, soap, sockets, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, timezonedb, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib
MySQL INFORMATION                  
                                   MySQL Mode                                             ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
                                   MySQL Client Encoding                                  utf8mb4                                      
WordPress PLUGINS                  
                                   Anti-Spam by CleanTalk                                 6.25.1                                       Active                  
                                   Astra Pro                                              4.6.3                                        Active                  
                                   Better Search Replace                                  1.4.5                                        Active                  
                                   Duplicate Page                                         4.5.3                                        Active                  
                                   Elementor                                              3.19.1                                       Active                  
                                   Elementor Pro                                          3.19.2                                       Active                  
                                   Gravity Forms                                          2.8.3                                        Active                  
                                   Gravity Forms Mailchimp Add-On                         5.2.0                                        Active                  
                                   Gravity Forms Zapier Add-On                            4.2                                          Active                  
                                   Gravity Forms Zoho CRM Add-On                          2.1.0                                        Active                  
                                   Imagify                                                2.1.3.1                                      Active                  
                                   MainWP Child                                           4.6                                          Active                  
                                   MainWP Child reports                                   2.2                                          Active                  
                                   Meta pixel for WordPress                               3.0.14                                       Active                  
                                   Redirection                                            5.4.1                                        Active                  
                                   SC Custom Login                                        1.0.0                                        Active                  
                                   Site Kit by Google                                     1.118.0                                      Active                  
                                   Solid Backups                                          9.1.6                                        Active                  
                                   Solid Security Pro                                     8.3.1                                        Active                  
                                   Ultimate Addons for Elementor                          1.36.29                                      Active                  
                                   WP Mail SMTP                                           3.11.1                                       Active                  
                                   WP Rocket                                              3.15.8.1                                     Active                  
                                   Yoast SEO                                              21.9.1                                       Active                  

### Next due                       Schedule                                               Hook                                      ###

February 20, 2024 3:36 pm          Every minute                                           action_scheduler_run_queue                   
February 20, 2024 3:36 pm          WP Rocket Preload pending jobs                         rocket_preload_process_pending               
February 20, 2024 3:45 pm          WP Rocket Expired Cache Interval                       rocket_purge_time_event                      
February 20, 2024 3:52 pm          Once Hourly                                            itsec_cron                                   
February 20, 2024 4:12 pm          Once Hourly                                            wp_privacy_delete_old_export_files           
February 20, 2024 7:22 pm          WP Rocket Preload revert stuck failed jobs             rocket_preload_revert_old_failed_rows        
February 20, 2024 7:48 pm                                                                 itsec_cron_test                              
February 20, 2024 8:09 pm          Once Daily                                             backupbuddy_cron                             
February 20, 2024 8:22 pm          Once Daily                                             gravityforms_cron                            
February 20, 2024 10:24 pm         Once Daily                                             itsec_purge_logs                             
February 20, 2024 10:47 pm         Twice Daily                                            itsec_cron                                   
February 21, 2024 1:02 am          Twice Daily                                            wp_mainwp_stream_auto_purge                  
February 21, 2024 1:14 am          Twice Daily                                            wp_update_user_counts                        
February 21, 2024 1:31 am          Twice Daily                                            googlesitekit_cron_update_remote_features    
February 21, 2024 2:00 am          Once Daily                                             imagify_sync_files                           
February 21, 2024 3:24 am          Twice Daily                                            wp_update_plugins                            
February 21, 2024 3:24 am          Twice Daily                                            wp_update_themes                             
February 21, 2024 9:00 am          Once Daily                                             backupbuddy_cron                             
February 21, 2024 9:29 am          Once Daily                                             astra_addon_get_addon_usage                  
February 21, 2024 9:37 am          Once Daily                                             astra_get_knowledge_base_data                
February 21, 2024 9:52 am          Once Daily                                             recovery_mode_clean_expired_keys             
February 21, 2024 9:53 am          Once Daily                                             itsec_cron                                   
February 21, 2024 9:57 am          Once Daily                                             wpseo_permalink_structure_check              
February 21, 2024 9:57 am          Once Daily                                             wpseo_home_url_check                         
February 21, 2024 10:11 am         Once Daily                                             wpseo-reindex                                
February 21, 2024 10:27 am         Once Daily                                             itsec_cron                                   
February 21, 2024 10:29 am         Once Daily                                             itsec_cron                                   
February 21, 2024 10:36 am         Once Daily                                             itsec_cron                                   
February 21, 2024 10:44 am         Once Daily                                             itsec_cron                                   
February 21, 2024 10:45 am         Once Daily                                             wp_scheduled_auto_draft_delete               
February 21, 2024 10:50 am         Once Daily                                             itsec_cron                                   
February 21, 2024 10:51 am         Once Daily                                             itsec_cron                                   
February 21, 2024 10:54 am         Once Daily                                             itsec_cron                                   
February 21, 2024 11:00 am         Once Daily                                             wpseo-reindex-links                          
February 21, 2024 11:02 am         Once Daily                                             itsec_cron                                   
February 21, 2024 11:19 am         Once Daily                                             itsec_cron                                   
February 21, 2024 2:17 pm          Once Daily                                             mainwp_cronpingchilds_action                 
February 21, 2024 2:34 pm          Once Daily                                             itsec_cron                                   
February 21, 2024 3:00 pm          Once Daily                                             imagify_rating_event                         
February 21, 2024 3:11 pm          Once Daily                                             delete_expired_transients                    
February 21, 2024 3:24 pm          Once Daily                                             wp_scheduled_delete                          
February 22, 2024 1:26 am          Twice Daily                                            wp_version_check                             
February 22, 2024 8:29 am          Once Weekly                                            rocket_cache_dir_size_check                  
February 22, 2024 8:29 am          Once Weekly                                            rocket_rucss_clean_rows_time_event           
February 22, 2024 8:39 am          Once Weekly                                            rocket_preload_clean_rows_time_event         
February 22, 2024 9:28 am          Once Weekly                                            rocket_update_dynamic_lists                  
February 22, 2024 10:15 am         Once Weekly                                            wp_delete_temp_updater_backups               
February 24, 2024 4:00 am          Once Weekly                                            imagify_update_library_size_calculations_event
February 27, 2024 2:53 pm          Once Weekly                                            wp_site_health_scheduled_check               
February 28, 2024 9:00 am          Once Monthly                                           backupbuddy_cron                             

### Time                           Error                                               ###

05-Feb-2024 22:12:59 UTC           PHP Warning:  simplexml_load_file(): I/O warning : failed to load external entity "https://www.sieverscreative.com/wp-content/uploads/2022/01/Sievers-Creative-logo-white.svg" in /home/hannahsp/public_html/wp-content/plugins/elementor/core/files/file-types/svg.php on line 161
05-Feb-2024 22:12:59 UTC           PHP Warning:  simplexml_load_file(https://www.sieverscreative.com/wp-content/uploads/2022/01/Sievers-Creative-logo-white.svg): failed to open stream: no suitable wrapper could be found in /home/hannahsp/public_html/wp-content/plugins/elementor/core/files/file-types/svg.php on line 161
05-Feb-2024 22:12:59 UTC           PHP Warning:  simplexml_load_file(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/hannahsp/public_html/wp-content/plugins/elementor/core/files/file-types/svg.php on line 161
05-Feb-2024 21:38:57 UTC           PHP Warning:  simplexml_load_file(): I/O warning : failed to load external entity "https://www.sieverscreative.com/wp-content/uploads/2024/02/top-left2-1.svg" in /home/hannahsp/public_html/wp-content/plugins/elementor/core/files/file-types/svg.php on line 161
05-Feb-2024 21:38:57 UTC           PHP Warning:  simplexml_load_file(https://www.sieverscreative.com/wp-content/uploads/2024/02/top-left2-1.svg): failed to open stream: no suitable wrapper could be found in /home/hannahsp/public_html/wp-content/plugins/elementor/core/files/file-types/svg.php on line 161
05-Feb-2024 21:38:57 UTC           PHP Warning:  simplexml_load_file(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/hannahsp/public_html/wp-content/plugins/elementor/core/files/file-types/svg.php on line 161
05-Feb-2024 21:38:56 UTC           PHP Warning:  simplexml_load_file(): I/O warning : failed to load external entity "https://www.sieverscreative.com/wp-content/uploads/2024/02/top-left1-1.svg" in /home/hannahsp/public_html/wp-content/plugins/elementor/core/files/file-types/svg.php on line 161
05-Feb-2024 21:38:56 UTC           PHP Warning:  simplexml_load_file(https://www.sieverscreative.com/wp-content/uploads/2024/02/top-left1-1.svg): failed to open stream: no suitable wrapper could be found in /home/hannahsp/public_html/wp-content/plugins/elementor/core/files/file-types/svg.php on line 161
05-Feb-2024 21:38:56 UTC           PHP Warning:  simplexml_load_file(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/hannahsp/public_html/wp-content/plugins/elementor/core/files/file-types/svg.php on line 161

@sieverscreative Thanks for sending in your reports. Going over the first report ( dashboard ) the PHP setting for PHP Allow URL fopen isn’t displaying anything. Could you verify this on the Server Information page?

I also noticed that on the Child Sites they state that it’s OFF.

MainWP Pro reports uses this to load specific data that deals with the carts.

You could try to add this code to your .htaccess file in order to try to turn it on yourself:

php_value allow_url_fopen On

If it does not work or you are not comfortable with making those types of changes, you will need ask your hosting provider to turn it on for you.

hi @sieverscreative if you are unsure how to enable the PHP Allow fopen setting on your MainWP Dashboard server, you can always ask you host support to do it for you.

Success! Our server support staff enabled allow_url_fopen and I have downloaded and sent reports this morning without issue. The Google Analytics graph is now being displayed in the pdf. Thank you!

3 Likes

Hey @sieverscreative

Great, I’m glad setting allow_url_fopen to On fixed the issue, and thanks for letting us know.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.