This topic has 7 replies, 2 voices, and was last updated 10 years, 7 months ago by Anonymous.
Viewing 8 posts - 1 through 8 (of 8 total)
Hi – I am getting a series of error messages when I try to create a button thorugh the Aivah Shortcodes. I tried loading the theme on a test server, and it gave the same errors. Do you have any idea how I might fix this? Thank you!
Warning: Illegal string offset ‘class’ in /wp-content/themes/hopes/page_builder/aivah_sc/shortcode-generator.php on line 3010
Warning: Illegal string offset ‘id’ in /wp-content/themes/hopes/page_builder/aivah_sc/shortcode-generator.php on line 3011
Warning: Illegal string offset ‘class’ in /wp-content/themes/hopes/page_builder/aivah_sc/shortcode-generator.php on line 3011
Warning: Illegal string offset ‘id’ in /wp-content/themes/hopes/page_builder/aivah_sc/shortcode-generator.php on line 3012
If you can provide us WP Logins to your website with URL then we can take a closer look at it. Make sure you set the post as private reply so that only admin can see your wp-logins.
Find the following path: hopes/page_builder/aivah_sc/shortcode-generator.php on line 2991
Replace this,
foreach( $sub_shortcode['options'] as $option ){
if( ! isset( $option['id'] ) ) { $option['id']=''; }
echo '<tr class="'.$option['id'].'">';
$option['id']=''.$shortcodes['value'].'_'.$sub_shortcode['value'].'_'.$option['id'];
if( !isset( $option['desc'] ) ) { $option['desc']=''; }
if( ! isset( $option['inputsize'] ) ) { $option['inputsize']=''; }
if( ! isset( $option['std']) ) { $option['std']=''; }
if( ! isset( $option['options']) ) { $option['options']=''; }
if( ! isset( $option['info']) ) { $option['info']=''; }
typeeditor($option['type'],$option['id'],$option['options'],$option['name'],$option['desc'],$option['info'],$option['std'],$option['inputsize']);
echo '</tr>';
}
With,
foreach( $sub_shortcode['options'] as $option ){
if( ! isset( $option['class'] ) ) { $option['class']=''; }
if( ! isset( $option['id'] ) ) { $option['id']=''; }
echo '<tr class="'.$option['id'].' '.$option['class'].'">';
$option['id']=''.$shortcodes['value'].'_'.$sub_shortcode['value'].'_'.$option['id'];
if( !isset( $option['desc'] ) ) { $option['desc']=''; }
if( ! isset( $option['inputsize'] ) ) { $option['inputsize']=''; }
if( ! isset( $option['std']) ) { $option['std']=''; }
if( ! isset( $option['options']) ) { $option['options']=''; }
if( ! isset( $option['info']) ) { $option['info']=''; }
typeeditor($option['type'],$option['id'],$option['options'],$option['name'],$option['desc'],$option['info'],$option['std'],$option['inputsize']);
echo '</tr>';
}
Once try with this 1 and let me know because i’m unable to access your files due to allocated memory size is limited.
Fixed your issue.
Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.