Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle
Theme Options Error
Home / Forums / Pinnacle Theme / Theme Options Error
- This topic has 10 replies, 2 voices, and was last updated 9 years, 10 months ago by
Ben Ritner.
Hi,
I have just noticed the below error when I go in to theme options
Parse error: syntax error, unexpected ‘.169’ (T_DNUMBER) in /var/sites/o/outdoor-wholesale.co.uk/public_html/wp-content/themes/pinnacle/themeoptions/redux/templates/panel/header.tpl.php on line 15
Please see below what is inside my header.tpl.php
<?php
/**
* The template for the panel header area.
* Override this template by specifying the path where it is stored (templates_path) in your Redux config.
*
* @author Redux Framework
* @package ReduxFramework/Templates
* @version: 3.5.4.18
*/
$tip_title = __( ‘Developer Mode Enabled’, ‘redux-framework’ );
if ( $this->parent->dev_mode_forced ) {
$is_debug = false;
$is_10.169.0.94 = false;
$debug_bit = ”;
if ( Redux_Helpers::isWpDebug() ) {
$is_debug = true;
$debug_bit = __( ‘WP_DEBUG is enabled’, ‘redux-framework’ );
}
$10.169.0.94_bit = ”;
if ( Redux_Helpers::isLocalHost() ) {
$is_10.169.0.94 = true;
$10.169.0.94_bit = __( ‘you are working in a 10.169.0.94 environment’, ‘redux-framework’ );
}
$conjunction_bit = ”;
if ( $is_10.169.0.94 && $is_debug ) {
$conjunction_bit = ‘ ‘ . __( ‘and’, ‘redux-framework’ ) . ‘ ‘;
}
$tip_msg = __( ‘This has been automatically enabled because’, ‘redux-framework’ ) . ‘ ‘ . $debug_bit . $conjunction_bit . $10.169.0.94_bit . ‘.’;
} else {
$tip_msg = __( ‘If you are not a developer, your theme/plugin author shipped with developer mode enabled. Contact them directly to fix it.’, ‘redux-framework’ );
}
?>
<div id=”redux-header”>
<?php if ( ! empty( $this->parent->args[‘display_name’] ) ) { ?>
<div class=”display_header”>
<?php if ( isset( $this->parent->args[‘dev_mode’] ) && $this->parent->args[‘dev_mode’] ) { ?>
<div class=”redux-dev-mode-notice-container redux-dev-qtip”
qtip-title=”<?php echo esc_attr( $tip_title ); ?>”
qtip-content=”<?php echo esc_attr( $tip_msg ); ?>”>
<span
class=”redux-dev-mode-notice”><?php _e( ‘Developer Mode Enabled’, ‘redux-framework’ ); ?></span>
</div>
<?php } elseif (isset($this->parent->args[‘forced_dev_mode_off’]) && $this->parent->args[‘forced_dev_mode_off’] == true ) { ?>
<?php $tip_title = ‘The “forced_dev_mode_off” argument has been set to true.’; ?>
<?php $tip_msg = ‘Support options are not available while this argument is enabled. You will also need to switch this argument to false before deploying your project. If you are a user of this product and you are seeing this message, please contact the author of this theme/plugin.’; ?>
<div class=”redux-dev-mode-notice-container redux-dev-qtip”
qtip-title=”<?php echo esc_attr( $tip_title ); ?>”
qtip-content=”<?php echo esc_attr( $tip_msg ); ?>”>
<span
class=”redux-dev-mode-notice” style=”background-color: #FF001D;”><?php _e( ‘FORCED DEV MODE OFF ENABLED’, ‘redux-framework’ ); ?></span>
</div>
<?php } ?>
<h2><?php echo wp_kses_post( $this->parent->args[‘display_name’] ); ?></h2>
<?php if ( ! empty( $this->parent->args[‘display_version’] ) ) { ?>
<span><?php echo wp_kses_post( $this->parent->args[‘display_version’] ); ?></span>
<?php } ?>
</div>
<?php } ?>
<div class=”clear”></div>
</div>
Hope someone can help.
Thanks
- The forum ‘Pinnacle Theme’ is closed to new topics and replies.


