Critical Error on Favorites Plugin

I have installed a clean Wordpress installation on my Cloudways server.
There are no security plugins nor any other plugins installed.
I installed MainWP. I then installed and activated the Favorites extension.
I get “There has been a critical error on this website”. It doesn’t show the button to add plugins or extensions. When I go to Install Plugins > Upload, then try to add it to favorites, it says “Adding to Favorites Failed”.
I worked through the steps here

Host says it is set correctly.
System status reports doesn’t show any errors.
Since it’s the only thing installed on the server, it’s got to be clashing with a server setting? The host support folks aren’t seeing any reason for it.
Any ideas?
Thanks in advance.

Here is the system report


### Server Info                    Required                                               Detected                                     Status   ###

MainWP Dashboard                   
MainWP Dashboard Version           4.1.10.3                                               4.1.10.3                                     Pass        
MainWP Upload Directory            Writable                                               Writable                                     Pass        
MainWP Extensions                  
MainWP Favorites Extension         4.0.7                                                  API License Active                           Pass        
WordPress                          
WordPress Version                  >=3.6                                                  5.8.2                                        Pass        
WordPress Memory Limit             >=64M                                                  1024M                                        Pass        
MultiSite Disabled                 =true                                                  true                                         Pass        
FileSystem Method                  = direct                                               direct                                       Pass        
PHP                                
PHP Version                        >=7.0                                                  8.0.13                                       Pass        
PHP Safe Mode Disabled             =true                                                  true                                         Pass        
PHP Max Execution Time             >=30 seconds                                           120                                          Pass        
PHP Max Input Time                 >=30 seconds                                           300                                          Pass        
PHP Memory Limit                   >=128M                                                 1024M                                        Pass        
PCRE Backtracking Limit            >=10000                                                1000000                                      Pass        
PHP Upload Max Filesize            >=2M                                                   20M                                          Pass        
PHP Post Max Size                  >=2M                                                   25M                                          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/1.1.0                                        OpenSSL/1.0.2u                               Warning     
Your host needs to update OpenSSL to at least version 1.1.0 which is already over 4 years old and contains patches for over 60 vulnerabilities.These range from Denial of Service to Remote Code Execution. Click here for more information.
PHP Allow URL fopen                YES                                                    
PHP Exif Support                   YES ( V8.0.)                                           
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_unshare, pcntl_wait, pcntl_waitpid, pcntl_wexitstatus, pcntl_wifcontinued, pcntl_wifexited, pcntl_wifsignaled, pcntl_wifstopped, pcntl_wstopsig, pcntl_wtermsig,
PHP Loaded Extensions              Core, FFI, PDO, PDO_Firebird, PDO_ODBC, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apcu, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, igbinary, imagick, imap, intl, json, libxml, mbstring, memcached, mongodb, msgpack, mysqli, mysqlnd, odbc, openssl, pcre, pdo_dblib, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, readline, redis, session, shmop, soap, sockets, sodium, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, zlib
MySQL                              
MySQL Version                      >=5.0                                                  10.1.48-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                                                     
Server self connect                Not expected HTTP response body:                       
User Agent                         Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36
Gateway Interface                  CGI/1.1                                                
Memory Usage                       10.58 MB                                               
Request Time                       1639077158                                             
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.9
Accept-Charset Content             N/A                                                    
MainWP Settings                    
Number Of Child Sites              0                                                      
Use WP-Cron                        No                                                     
Optimize for Shared Hosting or Big NetworksNo                                                     
Automatic Daily Update             Install trusted updates                                
Abandoned Plugins/Themes Tolerance                                                        
Maximum number of posts to return                                                         
Maximum number of pages to return                                                         
Primary Backup System              Default MainWP Backups                                 
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                                                        
Maximum simultaneous install and update requests                                                       
Active Plugins                     
Breeze                             1.2.6                                                  Active                                       
MainWP Dashboard                   4.1.10.3                                               Active                                       
MalCare Security - Free Malware Scanner, Protection & Security for WordPress4.67                                                   Active                                       

But even on a site with zero plugins, I get the same thing. It’s like the whole Favorites page just doesn’t load.

And when I try to save this edit, I get a 403 error here on the support site.

Please check the PHP error log on the server.
I see that the PHP version is 8.0. Can you try to change that to 7.4? Maybe the extension is not completely compatible with 8.0.

1 Like

Jos is right, MainWP is still not 100% PHP 8 ready. However, we are working on PHP 8 compatibility updates at the moment.

2 Likes

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