Forum Support

Shape 5
March 28, 2024, 02:35:35 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Undefined variable: s5boxwidth11  (Read 701 times)
speleo
Jr. Member
**
Offline Offline

Posts: 50



« on: February 06, 2017, 03:21:05 AM »

Getting a lot of this in my error_log file
Quote
PHP Notice:  Undefined variable: s5boxwidth11 in /modules/mod_s5_box/mod_s5_box.php on line 37
PHP Notice:  Undefined variable: s5boxwidth12 in /modules/mod_s5_box/mod_s5_box.php on line 40
which relates to this
Code:
for($i=1;$i<13;$i++) {
  $k = 's5boxwidth'.$i;
  $v = (int)$params->get($k, '');

  $$k = $v.($v <= 100 ? '%' : 'px');
if ($s5boxwidth11 == "0%") {
$s5boxwidth11 = "25%";
}
if ($s5boxwidth12 == "0%") {
$s5boxwidth12 = "40%";
}

Any ideas?
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: February 06, 2017, 01:25:56 PM »

Hello,

I see the issue and updated the download for the S5 Box module. Please grab a fresh copy of the module and reinstall or just overwrite your /modules/mod_s5_box/mod_s5_box.php file.
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
speleo
Jr. Member
**
Offline Offline

Posts: 50



« Reply #2 on: February 06, 2017, 03:27:22 PM »

sorted thanks!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.