Comments mik started the conversationMarch 16, 2021 at 6:28amDear friendsIs there any possibility to update this magnificent slider to a new version? 752Igor repliedMarch 16, 2021 at 8:29amHi,can you tell me which version of the slider do you have right now on your site?Regards,Igormik repliedMarch 16, 2021 at 8:42amHiI use version 5.0.16, and I have to apply some fixes in order to be able to use it without problems, in the newer PHP versions (7.3, 7.4 etc).Also, the Joomla 4 is almost ready, so I wonder if there will be a newer version of the slider.By the way, we are a group of friends (developers) here in Greece and we are great fans of the unite revolution slider!Keep up the good work. 752Igor repliedMarch 19, 2021 at 8:26amHi,can you please provide those fixes that you must apply so I can alert our developers and suggest a changes?Regards,Igormik repliedMarch 19, 2021 at 8:38amOK. I send you the two fixes for two different problems. 1. The first is for the error message on the backend: "An Array was declared as a String"Fix:/administrator/components/com_uniterevolution2/inc_php/framework/base-admin.class.php Change line 45 From:private static $arrMetaBoxes = ””; //option boxes that will be added to post TO:private static $arrMetaBoxes = array(); //option boxes that will be added to post2. The second error is malfunctioning in the newer php versions (7.1,7.2,7.4 etc)Fix:/administrator/components/com_uniterevolution2/inc_php/framework/db.class.php Change the checkForErrors function (very likely on line 31) to the following: private function checkForErrors($prefix = ""){ global $wpdb; if($this->wpdb->last_error){ $query = $this->wpdb->last_query; $message = $this->wpdb->last_error; if($prefix) $message = $prefix.' - <b>'.$message.'</b>'; if($query) $message .= '<br>---<br> Query: ' . esc_attr($query); $this->throwError($message); }} 752Igor repliedMarch 19, 2021 at 8:39amThank you!I will forward this to our developers so they can take a look and apply the fixes for the next updateRegards,Igor Max replied privatelymik repliedMarch 22, 2021 at 11:10amHi, sorry I can't give you access to my server and anyway I have applied these fixes already.Thnx anyway Sign in to reply ...
Dear friends
Is there any possibility to update this magnificent slider to a new version?
Hi,
can you tell me which version of the slider do you have right now on your site?
Regards,
Igor
Hi
I use version 5.0.16, and I have to apply some fixes in order to be able to use it without problems, in the newer PHP versions (7.3, 7.4 etc).
Also, the Joomla 4 is almost ready, so I wonder if there will be a newer version of the slider.
By the way, we are a group of friends (developers) here in Greece and we are great fans of the unite revolution slider!
Keep up the good work.
Hi,
can you please provide those fixes that you must apply so I can alert our developers and suggest a changes?
Regards,
Igor
OK. I send you the two fixes for two different problems.
1. The first is for the error message on the backend: "An Array was declared as a String"
Fix:
/administrator/components/com_uniterevolution2/inc_php/framework/base-admin.class.php
Change line 45
From:
private static $arrMetaBoxes = ””; //option boxes that will be added to post
TO:
private static $arrMetaBoxes = array(); //option boxes that will be added to post
2. The second error is malfunctioning in the newer php versions (7.1,7.2,7.4 etc)
Fix:
/administrator/components/com_uniterevolution2/inc_php/framework/db.class.php
Change the checkForErrors function (very likely on line 31) to the following:
private function checkForErrors($prefix = ""){
global $wpdb;
if($this->wpdb->last_error){
$query = $this->wpdb->last_query;
$message = $this->wpdb->last_error;
if($prefix) $message = $prefix.' - <b>'.$message.'</b>';
if($query) $message .= '<br>---<br> Query: ' . esc_attr($query);
$this->throwError($message);
}
}
Thank you!
I will forward this to our developers so they can take a look and apply the fixes for the next update
Regards,
Igor
Hi, sorry I can't give you access to my server and anyway I have applied these fixes already.
Thnx anyway