Can't update Costs

I cannot update any details for costs added to the Cost Tracker. I can create new costs, but if I want to modify any details, it does not work. It displays a success message, but the cost details revert back. I noticed this for both cost details (I tried modifying the purchase date, for example) and assigning the cost to Sites.

I’m seeing the following errors in the debug log:

[16-Mar-2026 17:18:57 UTC] PHP Warning: Attempt to read property "url" on null in /SNIP/wp-content/plugins/mainwp/class/class-mainwp-ui.php on line 1682

[16-Mar-2026 17:18:57 UTC] PHP Deprecated: rawurlencode(): Passing null to parameter #1 ($string) of type string is deprecated in /SNIP/wp-content/plugins/mainwp/class/class-mainwp-ui.php on line 1682

Using version 6.0.3 running on PHP 8.3.

Hey @mzykin

Welcome to the MainWP community!

I am unable to reproduce the issue. Editing existing costs gets properly saved.

Can you send me a screenshot of the edit page of one of your costs?

And can you please post the community system report from your MainWP Dashboard for review? The report is located in your Dashboard under Info → Server (your-mainwp-dashboard.com/wp-admin/admin.php?page=ServerInformation), 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.

Sure, I’ve recorded a video showcasing the issue here:

https://www.loom.com/share/9a5f2be510034e94b932fe13a76780ac

```

### WordPress Check                Required                                               Detected                                              ###

FileSystem Method                  = direct                                               direct                                       Pass        
MultiSite Disabled                 =true                                                  true                                         Pass        
WordPress Memory Limit             >=64M                                                  128M                                         Pass        
WordPress Version                  >=6.2                                                  6.9.4                                        Pass        

### PHP                            Required                                               Detected                                              ###

cURL Extension Enabled             =true                                                  true                                         Pass        
cURL Timeout                       >=300 seconds                                          60                                           Warning     
cURL Version                       >=7.29.0                                               8.5.0                                        Pass        
Function `tmpfile` enabled         N/A                                                    Enabled                                      Pass        
OpenSSL Version                    >=OpenSSL/1.1.0                                        OpenSSL/3.0.13                               Pass        
OpenSSL Working Status             Yes                                                    Yes                                          Pass        
PCRE Backtracking Limit            >=10000                                                1000000                                      Pass        
PHP Allow URL fopen                N/A                                                    YES                                                      
PHP Disabled Functions             N/A                                                    disk_free_space, disk_total_space, diskfreespace, dl, exec, opcache_get_configuration, opcache_get_status, passthru, pclose, pcntl_alarm, pcntl_exec, pcntl_fork, pcntl_get_last_error, pcntl_getpriority, pcntl_setpriority, pcntl_signal, pcntl_signal_dispatch, 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, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, posix_uname, proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, shell_exec, show_source, system,            
PHP Exif Support                   N/A                                                    YES                                                      
PHP IPTC Support                   N/A                                                    YES                                                      
PHP Loaded Extensions              N/A                                                    Core, FFI, PDO, Phar, Reflection, SPL, SimpleXML, Zend OPcache, bcmath, calendar, cgi-fcgi, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, igbinary, imagick, intl, json, libxml, mbstring, mysqli, mysqlnd, openssl, pcre, pdo_mysql, posix, random, readline, redis, session, shmop, soap, sockets, sodium, standard, sysvmsg, sysvsem, sysvshm, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, zlib            
PHP Max Execution Time             >=30 seconds                                           300                                          Pass        
PHP Max Input Time                 >=30 seconds                                           60                                           Pass        
PHP Memory Limit                   >=256M                                                 256M                                         Pass        
PHP Post Max Size                  >=2M                                                   64M                                          Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Session enabled                N/A                                                    Enabled                                      Pass        
PHP Upload Max Filesize            >=2M                                                   64M                                          Pass        
PHP Version                        >=7.4                                                  8.3.30                                       Pass        
PHP XML Support                    N/A                                                    YES                                                      
SSL Extension Enabled              =true                                                  true                                         Pass        
SSL Warnings                       = empty                                                                                             Pass        

### MySQL                          Required                                               Detected                                              ###

MySQL Client Encoding              N/A                                                    utf8mb4                                                  
MySQL Mode                         N/A                                                    NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION            
MySQL Version                      >=5.0                                                  8.0.45-0ubuntu0.24.04.1                      Pass        

### Server Configuration           Detected Value                                      ###

Accept Content                     text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Charset Content             N/A                                                    
Architecture                       64         bit                                         
Gateway Interface                  CGI/1.1                                                
HTTPS                              ON                                                     
Memory Usage                       76.31 MB                                               
Operating System                   Linux                                                  
Request Time                       1773689849                                             
Server Protocol                    HTTP/2.0                                               
Server self connect                Not expected HTTP response body:                       
Server Software                    nginx/1.28.1                                           
User Agent                         Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.3 Safari/605.1.15

### MainWP Dashboard Settings                                                          ###

Abandoned plugins/themes tolerance 365                                                    
Cache control enabled              No                                                     
Enable Uptime Monitoring           No                                                     
MainWP Dashboard Version           Latest: 6.0.3 | Detected: 6.0.3 Pass                   
MainWP legacy backups enabled      No                                                     
Maximum number of pages to return  50                                                     
Maximum number of posts to return                                                         
Maximum simultaneous install and update requests3                                                      
Maximum simultaneous requests      4                                                      
Maximum simultaneous requests per ip1                                                      
Maximum simultaneous sync requests 8                                                      
Maximum simultaneous uptime monitoring requests (Default: 10)10                                                     
Minimum delay between requests     200                                                    
Minimum delay between requests to the same ip1000                                                   
Number of connected sites          40                                                     
Optimize data loading              No                                                     
Plugin advanced automatic updates enabledNo                                                     
Primary Backup System              API Backups                                            
REST API enabled                   No                                                     
Site health monitoring enabled     No                                                     
Theme advanced automatic updates enabledNo                                                     
Use WP Cron                        No                                                     
WP Core advanced automatic updates enabledNo                                                     

### Extensions                     Version                                                License                                               ###

No installed extensions            

### Plugin                         Version                                                                                          ###

Admin Menu Editor                  1.15                                                   Active                                       
Fatal Error Notify Pro             1.14.2                                                 Active                                       
Limit Login Attempts Reloaded      2.26.28                                                Active                                       
MainWP Dashboard                   6.0.3                                                  Active                                       
SpinupWP                           1.9.0                                                  Active                                       
WP Mail SMTP                       4.7.1                                                  Active                                       
WP Migrate                         2.7.7                                                  Active                                       
WP Portal                                                                                 Inactive                                     

```

@mzykin

Thanks for the screen recording.

Can you navigate to Cost Tracker Settings (wp-admin/admin.php?page=CostTrackerSettings), and Save Settings.

Then try to edit the cost once more?

If the issue persists, please open a private Help Desk ticket and we will gladly look into this: https://mainwp.com/my-account/get-support/

Once I navigated to that page and saved the settings, the correct info displayed in the “Manage Costs” table, but when I went to edit an item, it still showed the incorrect information and I was still unable to save any updates.

I’ll go ahead and open a support ticket.

Do I need to be a Pro user to create a support ticket? Looks like I need to login, but I only use the free version and don’t have an account.

You do not have to be a Pro subscriber, but to see that particular form you need to have an account, which you can create when grabbing the Free bundle.

And you can also submit a support request on this page: MainWP Contact - Support, General, Pre-Sale, or Partnership

Great, thank you! I submitted a support ticket, so hopefully a fix will be rolled out soon. Thanks for your help!

1 Like

The issue was due to object caching on the MainWP Dashboard.

Once the cache is purged, the changes do appear to be properly saved.

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