Problem with PHP
-
I have installed Ig paguebilder, but suddenly when I wanted to add elements, this showed up Warning: extract() [function.extract]: First argument should be an array in /home/skimaced/public_html/wp-content/plugins/ig-pagebuilder/templates/modal.php on line 21
And here is the code
‘?php
/**
* @version $Id$
* @package IG Pagebuilder
* @author InnoGears Team <support@www.innogears.com>
* @copyright Copyright (C) 2012 https://www.innogears.com. All Rights Reserved.
* @license GNU/GPL v2 or later https://www.gnu.org/licenses/gpl-2.0.html
*
* Websites: https://www.www.innogears.com
* Technical Support: Feedback – https://www.www.innogears.com
*
* Content of Modal popup
*/
if ( ! isset( $_SESSION ) )
die;extract( $_SESSION );
if ( isset( $ig_pagebuilder_submodal ) )
extract( $ig_pagebuilder_submodal );
else if ( isset( $ig_pagebuilder ) )
extract( $ig_pagebuilder );$submodal = ! empty( $submodal ) ? ‘submodal_frame’ : ”;
if ( ! isset( $params ) )
exit;if ( ! empty( $shortcode ) ) {
?>
<div id=”ig-element-<?php echo esc_attr( IG_Pb_Helper_Shortcode::shortcode_name( $shortcode ) ); ?>”>
<div class=”jsn-bootstrap” id=”form-container”>
<div id=”modalOptions” class=”form-horizontal <?php echo esc_attr( $submodal ); ?>”>
<?php
if ( ! empty( $params ) ) {
$params = stripslashes( $params );
$params = urldecode( $params );
}’
- The topic ‘Problem with PHP’ is closed to new replies.