Error creating custom report tokens

Howdy friends,

I’m trying to customize the output of the Client Report add-on. When I try to create a new token, I get this error:

Saving the token failed. Please, try again.

What are the restrictions on creating custom tokens? I’ve tried this a handful of times in the past and it’s never worked for me. I’ve checked my server logs and there’s nothing there, either.

Any guidance here would be appreciated! Thank you :slight_smile:

@brettkelly Are you able to post your System report for us to read?

which can be found at:

  • MainWP > Status > Server
  • Click Copy System Report for MainWP Community

Sure thing; here goes:


### Server Info                    Required                                               Detected                                     Status   ###

MainWP Dashboard                   
MainWP Dashboard Version           4.0.7.1                                                4.0.7.1                                      Pass        
MainWP Upload Directory            Writable                                               Writable                                     Pass        
MainWP Extensions                  
Advanced Uptime Monitor Extension  5.0.1                                                  Active                                       Pass        
MainWP Branding Extension          4.0                                                    Active                                       Pass        
MainWP Bulk Settings Manager Extension4.0                                                    Active                                       Pass        
MainWP Client Reports Extension    4.0.1                                                  Active                                       Pass        
MainWP Clone Extension             4.0                                                    Active                                       Pass        
MainWP Code Snippets Extension     4.0                                                    Active                                       Pass        
MainWP Custom Dashboard Extension  4.0                                                    Active                                       Pass        
MainWP Favorites Extension         4.0.2                                                  Active                                       Pass        
MainWP Google Analytics Extension  4.0.1                                                  Inactive                                     Warning     
MainWP Maintenance Extension       4.0                                                    Active                                       Pass        
MainWP UpdraftPlus Extension       4.0.1                                                  Active                                       Pass        
MainWP URL Extractor Extension     4.0                                                    Active                                       Pass        
MainWP Vulnerability Checker Extension4.0                                                    Active                                       Pass        
MainWP Wordfence Extension         4.0                                                    Active                                       Pass        
WordPress                          
WordPress Version                  >=3.6                                                  5.3.2                                        Pass        
WordPress Memory Limit             >=64M                                                  128M                                         Pass        
MultiSite Disabled                 =true                                                  true                                         Pass        
FileSystem Method                  = direct                                               direct                                       Pass        
PHP                                
PHP Version                        >=5.6                                                  7.1.33-4+0~20200123.30+debian9~1.gbpdc2095   Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Max Execution Time             >=30 seconds                                           120                                          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                                                   100M                                         Pass        
PHP Post Max Size                  >=2M                                                   100M                                         Pass        
SSL Extension Enabled              =true                                                  true                                         Pass        
SSL Warnings                       = empty                                                                                             Pass        
cURL Extension Enabled             =true                                                  true                                         Pass        
cURL Timeout                       >=300 seconds                                          60                                           Warning     
cURL Version                       >=7.18.1                                               7.52.1                                       Pass        
cURL SSL Version                   >=OpenSSL/0.9.8l                                       OpenSSL/1.0.2u                               Pass        
PHP Allow URL fopen                YES                                                    
PHP Exif Support                   YES ( V7.1.)                                           
PHP IPTC Support                   YES                                                    
PHP XML Support                    YES                                                    
PHP Disabled Functions             , pcntl_alarm, pcntl_async_signals, pcntl_exec, pcntl_fork, pcntl_get_last_error, pcntl_getpriority, pcntl_setpriority, pcntl_signal, pcntl_signal_dispatch, pcntl_signal_get_handler, pcntl_sigprocmask, pcntl_sigtimedwait, pcntl_sigwaitinfo, pcntl_strerror, pcntl_wait, pcntl_waitpid, pcntl_wexitstatus, pcntl_wifcontinued, pcntl_wifexited, pcntl_wifsignaled, pcntl_wifstopped, pcntl_wstopsig, pcntl_wtermsig,
PHP Loaded Extensions              Core, PDO, PDO_Firebird, PDO_ODBC, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apc, apcu, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, interbase, intl, ionCube Loader, json, libxml, mbstring, mcrypt, memcached, msgpack, mysqli, mysqlnd, odbc, openssl, pcre, pdo_dblib, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, readline, recode, redis, 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.1.43-MariaDB-1~stretch                    Pass        
MySQL Mode                         NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION             
MySQL Client Encoding              utf8                                                   
Server Info                        
Server Software                    Apache/2.4.25 (Debian)                                 
Operating System                   Linux                                                  
Architecture                       64 bit                                                 
Server Protocol                    HTTP/1.0                                               
HTTPS                              ON - on                                                
Server self connect                Not expected HTTP response body:                       
User Agent                         Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36
Gateway Interface                  CGI/1.1                                                
Memory Usage                       18.86 MB                                               
Request Time                       1580234421                                             
Accept Content                     text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Charset Content             N/A                                                    
MainWP Settings                    
Number Of Child Sites              66                                                     
Use WP-Cron                        Yes                                                    
Optimize for Shared Hosting or Big NetworksNo                                                     
Automatic Daily Update             Install trusted updates                                
Abandoned Plugins/Themes Tolerance 365                                                    
Maximum number of posts to return                                                         
Maximum number of pages to return                                                         
Primary Backup System              MainWP UpdraftPlus Extension                           
Maximum simultaneous requests      4                                                      
Minimum delay between requests     200                                                    
Maximum simultaneous requests per ip5                                                      
Minimum delay between requests to the same ip500                                                    
Maximum simultaneous sync requests 10                                                     
Minimum simultaneous install/update requests3                                                      
Active Plugins                     
All-in-One WP Migration            7.15                                                   Active                                       
All-in-One WP Migration Unlimited Extension2.35                                                   Active                                       
Breeze                             1.1.2                                                  Active                                       
Classic Editor                     1.5                                                    Active                                       
Elementor                          2.8.5                                                  Active                                       
MainWP Dashboard                   4.0.7.1                                                Active                                       
Redis Object Cache                 1.5.6                                                  Inactive                                     
UpdraftPlus - Backup/Restore       1.16.21                                                Active                                       
Wordfence Security                 7.4.5                                                  Active                                       

1 Like

Hi @brettkelly, looks like you are not using the latest Client Reports extension version. The reported proble is fixed in the version 4.0.2. Please update the extension and see how it goes.

2 Likes

WP didn’t detect the update, but I downloaded it manually and installed it. Problem fixed. Thanks!

2 Likes

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