Count tokens still return nothing when count is zero

Hi there,

Earlier this year, @uamv reported a bug on count tokens returning nothing (empty string) when the value is zero. (see: Thread )

Obviously this is incorrect. The number of updates is not [empty string], it is 0.

@bogdan replied that he would bring this at the attention of the Dev team. Do you guys have any word on that?

Or a workaround, perhaps?

Thanks.
Rick

1 Like

Hi Rick, thanks for reaching out.

First, let me apologize for missing to update the Thread from Feb 7. I have confirmed with our dev team that the fix for that problem was included in the last MainWP Child 4.0.7.1

If you still experience the same issue with the last version of the MainWP Child installed, there is probably some other problem causing it and I will be happy to troubleshoot it. For the start, can you please post the community system report from your MainWP Dashboard for review? The report is located in your Dashboard under Status → 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.

1 Like

### Server Info                    Required                                               Detected                                     Status   ###

MainWP Dashboard                   
MainWP Dashboard Version           4.0.7.2                                                4.0.7.2                                      Pass        
MainWP Upload Directory            Writable                                               Writable                                     Pass        
MainWP Extensions                  
Activity Log for MainWP            1.5.1                                                  Inactive                                     Warning     
Advanced Uptime Monitor Extension  5.0.2                                                  Active                                       Pass        
MainWP Branding Extension          4.0.1                                                  Active                                       Pass        
MainWP Bulk Settings Manager Extension4.0.2                                                  Active                                       Pass        
MainWP Clean and Lock Extension    4.0.1                                                  Active                                       Pass        
MainWP Client Reports Extension    4.0.4                                                  Active                                       Pass        
MainWP Code Snippets Extension     4.0                                                    Active                                       Pass        
MainWP File Uploader Extension     4.0                                                    Active                                       Pass        
MainWP Maintenance Extension       4.0.1                                                  Active                                       Pass        
MainWP Page Speed Extension        4.0.1                                                  Active                                       Pass        
MainWP Pro Reports Extension       4.0.1                                                  Active                                       Pass        
MainWP UpdraftPlus Extension       4.0.2                                                  Active                                       Pass        
MainWP Vulnerability Checker Extension4.0.3                                                  Active                                       Pass        
MainWP WordPress SEO Extension     4.0                                                    Active                                       Pass        
WordPress                          
WordPress Version                  >=3.6                                                  5.4.2                                        Pass        
WordPress Memory Limit             >=64M                                                  128M                                         Pass        
MultiSite Disabled                 =true                                                  true                                         Pass        
FileSystem Method                  = direct                                               direct                                       Pass        
PHP                                
PHP Version                        >=5.6                                                  7.2.32                                       Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Max Execution Time             >=30 seconds                                           90                                           Pass        
PHP Max Input Time                 >=30 seconds                                           60                                           Pass        
PHP Memory Limit                   >=128M                                                 256M                                         Pass        
PCRE Backtracking Limit            >=10000                                                1000000                                      Pass        
PHP Upload Max Filesize            >=2M                                                   20M                                          Pass        
PHP Post Max Size                  >=2M                                                   1024M                                        Pass        
SSL Extension Enabled              =true                                                  true                                         Pass        
SSL Warnings                       = empty                                                                                             Pass        
cURL Extension Enabled             =true                                                  true                                         Pass        
cURL Timeout                       >=300 seconds                                          300                                          Pass        
cURL Version                       >=7.18.1                                               7.71.0                                       Pass        
cURL SSL Version                   >=OpenSSL/0.9.8l                                       OpenSSL/1.1.1g                               Pass        
PHP Allow URL fopen                YES                                                    
PHP Exif Support                   YES ( V7.2.)                                           
PHP IPTC Support                   YES                                                    
PHP XML Support                    YES                                                    
PHP Disabled Functions             exec, passthru, shell_exec, system,                    
PHP Loaded Extensions              Core, PDO, PDO_ODBC, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, json, ldap, libxml, mbstring, mysqli, mysqlnd, odbc, openssl, pcntl, pcre, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, session, shmop, soap, sockets, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib
MySQL                              
MySQL Version                      >=5.0                                                  10.3.23-MariaDB                              Pass        
MySQL Mode                         ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
MySQL Client Encoding              utf8                                                   
Server Info                        
Server Software                    Apache                                                 
Operating System                   Linux                                                  
Architecture                       64 bit                                                 
Server Protocol                    HTTP/1.1                                               
HTTPS                              ON - on                                                
Server self connect                Not expected HTTP response body:                       
User Agent                         Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:79.0) Gecko/20100101 Firefox/79.0
Gateway Interface                  CGI/1.1                                                
Memory Usage                       25.04 MB                                               
Request Time                       1596636093                                             
Accept Content                     text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Charset Content             N/A                                                    
MainWP Settings                    
Number Of Child Sites              81                                                     
Use WP-Cron                        Yes                                                    
Optimize for Shared Hosting or Big NetworksYes                                                    
Automatic Daily Update             Disabled                                               
Abandoned Plugins/Themes Tolerance 365                                                    
Maximum number of posts to return  50                                                     
Maximum number of pages to return                                                         
Primary Backup System              MainWP UpdraftPlus Extension                           
Maximum simultaneous requests      6                                                      
Minimum delay between requests     200                                                    
Maximum simultaneous requests per ip2                                                      
Minimum delay between requests to the same ip1000                                                   
Maximum simultaneous sync requests 12                                                     
Minimum simultaneous install/update requests2                                                      
Active Plugins                     
Activity Log for MainWP            1.5.1                                                  Active                                       
ARI Adminer                        1.2.3                                                  Inactive                                     
Backup and Staging by WP Time Capsule1.21.24                                                Active                                       
Google Authenticator               0.48                                                   Inactive                                     
Mailgun                            1.7.1                                                  Active                                       
MainWP Child                       4.0.7.1                                                Active                                       
MainWP Dashboard                   4.0.7.2                                                Active                                       
MainWP Time Capsule Extension      4.0                                                    Inactive                                     
Simple History                     2.34.0                                                 Active                                       
Typemarker                         1.3.1                                                  Active                                       
UpdraftPlus - Backup/Restore       2.16.27.24                                             Active                                       
Yoast SEO                          14.6.1                                                 Active                                       

See above :wink:

I’ve also included a screenshot of the report (draft) in which the value is empty instead of zero.

Hi Rick, thanks for getting back to me.

I reviewed the report, looks ok.

I am not sure what is still causing this problem for you.

Would you be able to send me temp access to your MainWP Dashboard via private message so I can check this further?

Sure thing. I will message you tomorrow, if that’s ok,

If you want, we could connect on Facebook, so I can answer questions while you look.

1 Like

No problem, please send me the login when you get a chance.
Regrading the FB, I am not sure when I will get a chance to work on the issue, so we can’t schedule the meeting.

Sent.

I didn’t mean that we should schedule a meeting. Just that if you run into any questions when you’re investigating, you can always message me on FB, so you don’t have to revisit it later.

Please feel free to send me a friend request if you want.

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