Carousel Pro Error - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Carousel Pro Error

pgypps

pgypps

SP Page Builder 2 years ago

Post recent updates to improve functionality and user experience on my webpage hosted on corsolutions.co.uk, I encountered an issue where a warning message was being displayed on the webpage. The warning message read: Warning: Undefined property: stdClass::$arrow_position in /public_html/components/com_sppagebuilder/addons/carouselpro/site.php on line 282

Upon investigating, I discovered that the code on line 282 of the site.php file within the carouselpro addon folder was attempting to access the arrow_position property on the object $settings without first ensuring that the property exists. The line of code in question was: if ($settings->arrow_position != 'default') {

To mitigate the warning and ensure smooth operation of the Carousel Pro addon, I updated the line of code to check if the arrow_position property exists on the object $settings before proceeding to compare its value to 'default'. The updated line of code is as follows: if (isset($settings->arrow_position) && $settings->arrow_position != 'default') {

This modification has temporarily resolved the warning on my webpage. However, this is a temporary fix, and I am writing to bring this to your attention and inquire if this is a known issue. I am also interested in understanding if there's a more permanent solution or a better way to resolve this issue to prevent its recurrence in future, especially after updates.

BTW, this keeps happening for about 1 year now.

0
2 Answers
Pavel
Pavel
Accepted Answer
2 years ago #132148

I am also interested in understanding if there's a more permanent solution or a better way to resolve this issue to prevent its recurrence in future, especially after updates.

Hi. You can to make addon override to prevent loss of the changes after update. When it will be fixed you can just delete override.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 2 years ago #132166

Hi there,

I appreciate you reaching out. I sincerely apologize for this oversight. Will you please provide me the Joomla administrator access to check the issue? I will check & get back to you soon. 

Note: We have solved some error about the Carousel Pro.

-Thanks

0