Bug in "Informations > Error Log" (french version)

Hello,
i’ve searched for information to solve my problem but I wasn’t able to find anyone with the same one.

I’m using the french language version of MainWP and on the Error Log section (in information menu), I found a bug.

There is a text appearing at the top of the main section :

Horaire <p><b>Erreur Google Map:</b> <i>latitude</i> et <i>longitude</i> attributs requis. Voir la documentation de l'aide.</p>

The weird thing is i can’t find this translation string in mainwp-fr_FR.po file.

I’ve got another problem too, the text below this previous error (on the white background) is the translation of “MainWP is unable to find your error logs, please contact your host for server error logs.” but it appears while I already have added this to my wp-config.php :
define( ‘WP_DEBUG’, true );
define( ‘WP_DEBUG_LOG’, true );
define( ‘WP_DEBUG_DISPLAY’, true );

Anyone have any idea about this too ?

Just for information, this is a fresh install and itheme security (free) is installed but disabled. MainWP is the only active plugin here.

Thank you in advance for your help !

Hi @Xehon

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.

Hi Bojan !
Thanks for your quick reply :slight_smile:

Here is the system report :


### Server Info                    Required                                               Detected                                     Status   ###

MainWP Dashboard                   
MainWP Dashboard Version           4.2.2                                                  4.2.2                                        Pass        
MainWP Upload Directory            Writable                                               Writable                                     Pass        
MainWP Extensions                  
No installed extensions            
WordPress                          
WordPress Version                  >=3.6                                                  5.9.3                                        Pass        
WordPress Memory Limit             >=64M                                                  512M                                         Pass        
MultiSite Disabled                 =true                                                  true                                         Pass        
FileSystem Method                  = direct                                               direct                                       Pass        
PHP                                
PHP Version                        >=7.0                                                  7.4.29                                       Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Max Execution Time             >=30 seconds                                           300                                          Pass        
PHP Max Input Time                 >=30 seconds                                           300                                          Pass        
PHP Memory Limit                   >=128M                                                 768M                                         Pass        
PCRE Backtracking Limit            >=10000                                                1000000                                      Pass        
PHP Upload Max Filesize            >=2M                                                   8M                                           Pass        
PHP Post Max Size                  >=2M                                                   8M                                           Pass        
SSL Extension Enabled              =true                                                  true                                         Pass        
SSL Warnings                       = empty                                                                                             Pass        
cURL Extension Enabled             =true                                                  true                                         Pass        
cURL Timeout                       >=300 seconds                                          600                                          Pass        
cURL Version                       >=7.18.1                                               7.71.0                                       Pass        
cURL SSL Version                   >=OpenSSL/1.1.0                                        OpenSSL/1.1.1d                               Pass        
PHP Allow URL fopen                YES                                                    
PHP Exif Support                   YES ( V7.4.)                                           
PHP IPTC Support                   YES                                                    
PHP XML Support                    YES                                                    
PHP Disabled Functions             exec, parse_ini_file, passthru, popen, proc_open, shell_exec, show_source, system,
PHP Loaded Extensions              Core, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, bz2, calendar, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, intl, ionCube Loader, json, ldap, libxml, litespeed, mbstring, mysqli, mysqlnd, openssl, pcntl, pcre, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, propro, readline, redis, session, shmop, soap, sockets, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib
MySQL                              
MySQL Version                      >=5.0                                                  10.3.34-MariaDB                              Pass        
MySQL Mode                         NOT SET                                                
MySQL Client Encoding              utf8mb4                                                
Server Info                        
Server Software                    Apache                                                 
Operating System                   Linux                                                  
Architecture                       64		 bit                                               
Server Protocol                    HTTP/1.1                                               
HTTPS                              ON                                                     
Server self connect                Response Test O.K.                                     
User Agent                         Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0
Gateway Interface                                                                         
Memory Usage                       4.18 MB                                                
Request Time                       1652124385                                             
Accept Content                     text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Charset Content             N/A                                                    
MainWP Settings                    
Number of child sites              3                                                      
Use WP Cron                        No                                                     
Optimize for shared hosting or big networksNo                                                     
WP Core advanced automatic updates enabledYes                                                    
Plugin advanced automatic updates enabledYes                                                    
Theme advanced automatic updates enabledYes                                                    
Abandoned plugins/themes tolerance 365                                                    
Maximum number of posts to return  50                                                     
Maximum number of pages to return  50                                                     
MainWP legacy backups enabled      No                                                     
Primary backup system              MainWP Legacy Backups                                  
Basic uptime monitoring enabled    Yes                                                    
Site health monitoring enabled     Yes                                                    
Maximum simultaneous requests      4                                                      
Minimum delay between requests     200                                                    
Maximum simultaneous requests per ip1                                                      
Minimum delay between requests to the same ip1000                                                   
Maximum simultaneous sync requests 8                                                      
Maximum simultaneous install and update requests3                                                      
REST API enabled                   No                                                     
Cache control enabled              Yes                                                    
Active Plugins                     
iThemes Security                   8.1.2                                                  Inactive                                     
MainWP Dashboard                   4.2.2                                                  Active                                       

@Xehon

Thanks for the system report.

I’ve managed to reproduce the issue with the error message on the Error Log screen when the language is set to French, and I’ve forwarded it to the development team.

Can you check if there’s anything in the debug.log file in the wp-content folder? It’s possible that nothing has been logged yet.

@Bojan

Great for the first part, thanks to have forwarded this.

For the second part, I’m sorry but I hadn’t thought to put a sample debug.log file to check if it was working properly or not. With a sample, the error contained in /wp-content/debug.log is displayed correctly !

1 Like

@Xehon

I’m glad the Error log is working fine now.

The French error message is part of the French localization. I’ve made a translation suggestion with a correct translation for that error. Now it’s up to the French localization maintainers to approve the suggestion.

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