Error when saving rtPanel settings

I get the following error when saving settings for rtPanel

Warning: version_compare() expects parameter 2 to be string, array given in /var/sites/d/mysite.co.uk/public_html/wp-content/themes/rtpanel/admin/lib/rtp-admin-functions.php on line 635

Warning: Cannot modify header information - headers already sent by (output started at /var/sites/d/mysite.co.uk/public_html/wp-content/themes/rtpanel/admin/lib/rtp-admin-functions.php:635) in /var/sites/d/mysite.co.uk/public_html/wp-includes/pluggable.php on line 881

The settings do actual save but I have to hit the back button to get out of the error page.

Is there a fix for this?

Try replacing line no. 635 of rtp-admin-functions.php with the following:

  
if ( ( is_array( $rtp_post_comments ) && !isset( $rtp_post_comments['upgrade_theme'] ) ) || ( version_compare( RTP_VERSION, $rtp_version['rtPanel'], '!=' ) ) ) {  

We are coming up with a small release very soon to make the theme totally WP 3.4+ compatible

That fixed it.

Thanks :slight_smile: