fbpx
  Tuesday, 26 May 2020
  1 Replies
  1.4K Visits
  Subscribe
Sellacious shop on localhost (Openserver / PHP_7.3 / My SQL-5.7). I was editing the main page by Sppagebuilder and the front end crashed. Message:

1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ': htmlspecialchars() expects parameter 1 to be string, array given in D:\DOWNLO' at line 6

What is written in "PHP_7.3_error.log":

PHP Notice: Undefined property: stdClass::$global_border_width in ***\OSPanel\domains\lannashop\components\com_sppagebuilder\layouts\addon\css.php on line 79

What is in "com_sppagebuilder\layouts\addon\css.php":

76 // Border
77 if(isset($addon->settings->global_user_border) && $addon->settings->global_user_border) {
78
79 if (is_object($addon->settings->global_border_width))
80 $addon_css .= isset($addon->settings->global_border_width->md) && $addon->settings->global_border_width->md ? "border-width: " . $addon->settings->global_border_width->md . "px;\n" : "";
81 } else {
82 $addon_css .= isset($addon->settings->global_border_width) && $addon->settings->global_border_width ? "border-width: " . $addon->settings->global_border_width . "px;\n" : "";
83 }

How to fix this error? I am almost zero in CSS...
3 years ago
·
#4506
Hey Amnat,

The issue you have reported to is related to SP page builder which is a third party extension of Joomla. You can post this issue on the forum of Joomshaper and they will fix this for you.

If you have questions or any issues related to sellacious, I will be happy to help you.

Thank You
  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
  • +1 (408) 821-8283
  • Email hello@sellacious.com