- Statut : non résolu
- Ce sujet contient 8 réponses, 2 participants et a été mis à jour pour la dernière fois par
sandrad, le il y a 10 années et 3 mois.
-
AuteurMessages
-
3 mars 2015 à 15 h 39 min #547832
Bonjour,
Ma configuration WP actuelle
– Version de WordPress : dernière version
– Version de PHP/MySQL : 5.5.12
– Thème utilisé : impreza
– Extensions en place : woocommerce, updraft plus,VPBakery visual composer, contact form 7,mailpoet newsletters, cookie notice, revolution slider
– Nom de l’hebergeur: wamp
– Adresse du site: localProblème(s) rencontré(s) :
je viens de commencer à créer un site avec le theme impreza et je voulais donc créer mes nouveaux produits avec l’extension woocommerce. Juste avant je fais une mise à jour avec la dernière version 2.3.5 et je crée mon premier produit et lorsque je visualise mon site il m’indique beaucoup d’erreurs mais quasi toujours la meme, voici la capture d’écran
( ! ) Notice: Undefined index: prettyPhoto in C:wampwwwwordpresswp-includesclass.wp-scripts.php on line 201
Call Stack
# Time Memory Function Location
1 0.0010 244600 {main}( ) ..index.php:0
2 0.0020 247704 require( ‘C:wampwwwwordpresswp-blog-header.php’ ) ..index.php:17
3 1.9801 48584496 require_once( ‘C:wampwwwwordpresswp-includestemplate-loader.php’ ) ..wp-blog-header.php:16
4 2.0101 49220408 include( ‘C:wampwwwwordpresswp-contentpluginswoocommercetemplatessingle-product.php’ ) ..template-loader.php:74
5 2.0101 49220544 get_header( ) ..single-product.php:16
6 2.0101 49222104 locate_template( ) ..general-template.php:45
7 2.0101 49222344 load_template( ) ..template.php:477
8 2.0111 49248048 require_once( ‘C:wampwwwwordpresswp-contentthemesImprezaheader-shop.php’ ) ..template.php:501
9 2.0111 49249400 get_header( ) ..header-shop.php:60
10 2.0111 49249896 locate_template( ) ..general-template.php:45
11 2.0121 49250072 load_template( ) ..template.php:477
12 2.0131 49405472 require_once( ‘C:wampwwwwordpresswp-contentthemesImprezaheader.php’ ) ..template.php:501
13 2.0171 49421448 wp_head( ) ..header.php:15
14 2.0171 49421528 do_action( ) ..general-template.php:2197
[b]15 2.0541 49510960 call_user_func_array:{C:wampwwwwordpresswp-includesplugin.php:496} ( ) ..plugin.php:496
16 2.0541 49511040 wp_print_head_scripts( ) ..plugin.php:496
17 2.0701 49521424 print_head_scripts( ) ..script-loader.php:882
18 2.0711 49522088 WP_Scripts->do_head_items( ) ..script-loader.php:785
19 2.0711 49522400 WP_Dependencies->do_items( ) ..class.wp-scripts.php:228
20 2.0711 49522472 WP_Scripts->all_deps( ) ..class.wp-dependencies.php:97
21 2.0711 49522568 WP_Dependencies->all_deps( ) ..class.wp-scripts.php:213
22 2.0721 49528672 WP_Scripts->set_group( ) ..class.wp-dependencies.php:171
( ! ) Notice: Trying to get property of non-object in C:wampwwwwordpresswp-includesclass.wp-scripts.php on line 201
Call Stack
# Time Memory Function Location
1 0.0010 244600 {main}( ) ..index.php:0
2 0.0020 247704 require( ‘C:wampwwwwordpresswp-blog-header.php’ ) ..index.php:17
3 1.9801 48584496 require_once( ‘C:wampwwwwordpresswp-includestemplate-loader.php’ ) ..wp-blog-header.php:16
4 2.0101 49220408 include( ‘C:wampwwwwordpresswp-contentpluginswoocommercetemplatessingle-product.php’ ) ..template-loader.php:74
5 2.0101 49220544 get_header( ) ..single-product.php:16
6 2.0101 49222104 locate_template( ) ..general-template.php:45
7 2.0101 49222344 load_template( ) ..template.php:477
8 2.0111 49248048 require_once( ‘C:wampwwwwordpresswp-contentthemesImprezaheader-shop.php’ ) ..template.php:501
9 2.0111 49249400 get_header( ) ..header-shop.php:60
10 2.0111 49249896 locate_template( ) ..general-template.php:45
11 2.0121 49250072 load_template( ) ..template.php:477
12 2.0131 49405472 require_once( ‘C:wampwwwwordpresswp-contentthemesImprezaheader.php’ ) ..template.php:501
13 2.0171 49421448 wp_head( ) ..header.php:15
14 2.0171 49421528 do_action( ) ..general-template.php:2197
15 2.0541 49510960 call_user_func_array:{C:wampwwwwordpresswp-includesplugin.php:496} ( ) ..plugin.php:496
16 2.0541 49511040 wp_print_head_scripts( ) ..plugin.php:496
17 2.0701 49521424 print_head_scripts( ) ..script-loader.php:882
18 2.0711 49522088 WP_Scripts->do_head_items( ) ..script-loader.php:785
19 2.0711 49522400 WP_Dependencies->do_items( ) ..class.wp-scripts.php:228
20 2.0711 49522472 WP_Scripts->all_deps( ) ..class.wp-dependencies.php:97
21 2.0711 49522568 WP_Dependencies->all_deps( ) ..class.wp-scripts.php:213
22 2.0721 49528672 WP_Scripts->set_group( ) ..class.wp-dependencies.php:171
( ! ) Notice: Undefined index: prettyPhoto-init in C:wampwwwwordpresswp-includesclass.wp-scripts.php on line 201
Call Stack
# Time Memory Function Location
1 0.0010 244600 {main}( ) ..index.php:0
2 0.0020 247704 require( ‘C:wampwwwwordpresswp-blog-header.php’ ) ..index.php:17
3 1.9801 48584496 require_once( ‘C:wampwwwwordpresswp-includestemplate-loader.php’ ) ..wp-blog-header.php:16
4 2.0101 49220408 include( ‘C:wampwwwwordpresswp-contentpluginswoocommercetemplatessingle-product.php’ ) ..template-loader.php:74
5 2.0101 49220544 get_header( ) ..single-product.php:16
6 2.0101 49222104 locate_template( ) ..general-template.php:45
7 2.0101 49222344 load_template( ) ..template.php:477
8 2.0111 49248048 require_once( ‘C:wampwwwwordpresswp-contentthemesImprezaheader-shop.php’ ) ..template.php:501
9 2.0111 49249400 get_header( ) ..header-shop.php:60
10 2.0111 49249896 locate_template( ) ..general-template.php:45
11 2.0121 49250072 load_template( ) ..template.php:477
12 2.0131 49405472 require_once( ‘C:wampwwwwordpresswp-contentthemesImprezaheader.php’ ) ..template.php:501
13 2.0171 49421448 wp_head( ) ..header.php:15
14 2.0171 49421528 do_action( ) ..general-template.php:2197
15 2.0541 49510960 call_user_func_array:{C:wampwwwwordpresswp-includesplugin.php:496} ( ) ..plugin.php:496
16 2.0541 49511040 wp_print_head_scripts( ) ..plugin.php:496
17 2.0701 49521424 print_head_scripts( ) ..script-loader.php:882
18 2.0711 49522088 WP_Scripts->do_head_items( ) ..script-loader.php:785
19 2.0711 49522400 WP_Dependencies->do_items( ) ..class.wp-scripts.php:228
20 2.0711 49522472 WP_Scripts->all_deps( ) ..class.wp-dependencies.php:97
21 2.0711 49522568 WP_Dependencies->all_deps( ) ..class.wp-scripts.php:213
22 2.1211 49537264 WP_Scripts->set_group( ) ..class.wp-dependencies.php:171
( ! ) Notice: Trying to get property of non-object in C:wampwwwwordpresswp-includesclass.wp-scripts.php on line 201
Call Stack
# Time Memory Function Location
1 0.0010 244600 {main}( ) ..index.php:0
2 0.0020 247704 require( ‘C:wampwwwwordpresswp-blog-header.php’ ) ..index.php:17
3 1.9801 48584496 require_once( ‘C:wampwwwwordpresswp-includestemplate-loader.php’ ) ..wp-blog-header.php:16
4 2.0101 49220408 include( ‘C:wampwwwwordpresswp-contentpluginswoocommercetemplatessingle-product.php’ ) ..template-loader.php:74
5 2.0101 49220544 get_header( ) ..single-product.php:16
6 2.0101 49222104 locate_template( ) ..general-template.php:45
7 2.0101 49222344 load_template( ) ..template.php:477
8 2.0111 49248048 require_once( ‘C:wampwwwwordpresswp-contentthemesImprezaheader-shop.php’ ) ..template.php:501
9 2.0111 49249400 get_header( ) ..header-shop.php:60
10 2.0111 49249896 locate_template( ) ..general-template.php:45
11 2.0121 49250072 load_template( ) ..template.php:477
12 2.0131 49405472 require_once( ‘C:wampwwwwordpresswp-contentthemesImprezaheader.php’ ) ..template.php:501
13 2.0171 49421448 wp_head( ) ..header.php:15
14 2.0171 49421528 do_action( ) ..general-template.php:2197
15 2.0541 49510960 call_user_func_array:{C:wampwwwwordpresswp-includesplugin.php:496} ( ) ..plugin.php:496
16 2.0541 49511040 wp_print_head_scripts( ) ..plugin.php:496
17 2.0701 49521424 print_head_scripts( ) ..script-loader.php:882
18 2.0711 49522088 WP_Scripts->do_head_items( ) ..script-loader.php:785
19 2.0711 49522400 WP_Dependencies->do_items( ) ..class.wp-scripts.php:228
20 2.0711 49522472 WP_Scripts->all_deps( ) ..class.wp-dependencies.php:97
21 2.0711 49522568 WP_Dependencies->all_deps( ) ..class.wp-scripts.php:213
22 2.1211 49537264 WP_Scripts->set_group( ) ..class.wp-dependencies.php:171cela correspond dans notepad a cela
public function set_group( $handle, $recursion, $group = false ) {
if ( $this->registered[$handle]->args === 1 )
$grp = 1;
else
$grp = (int) $this->get_data( $handle, ‘group’ );
if ( false !== $group && $grp > $group )
$grp = $group;
return parent::set_group( $handle, $recursion, $grp );
}merci de votre aide
cdt[Modérations] Comme le demande le règlement du forum, merci d’indiquer en chiffre la version de WordPress et surtout pas la dernière. Merci
7 mars 2015 à 22 h 08 min #997395si c’est le thème qui produit cela, regarde plutôt le code dans le dernier fichier du thème utilisé
pour la 1re erreur c’est à la ligne 2197 du fichier C:wampwwwwordpresswp-contentthemesImprezageneral-template.php
9 mars 2015 à 9 h 05 min #997394merci pour votre aide. Mais j’ai regardé et cela ne m’éclaire pas plus. Vous pensez que l’erreur pourrait venir de mon thème ?
10 mars 2015 à 10 h 29 min #997392je viens d’essayer le theme sorefront et la l’erreur n’apparait plus.
10 mars 2015 à 11 h 21 min #997391montre nous les fichier header.php et header-shop.php du thème Impreza, on pourra peut-être t’aider à les corriger
10 mars 2015 à 11 h 32 min #997393voici le header
<?php
$no_responsive_class = ( ! isset($smof_data) OR $smof_data == 1) ? »:’no-responsive’;
?>
<html class=" » ><link rel="shortcut icon" href=" »>
<?php
global $load_styles_directly;
if (isset($load_styles_directly) AND $load_styles_directly)
{
get_template_part(‘templates/custom_css’);
}
?><?php
$body_background_styles_text = »;$body_background_image = (@$smof_data != »)?@$smof_data: »;
if ($body_background_image != »)
{
$body_background_styles = array( ‘background-image’ => ‘url(‘.$body_background_image.’)’);$body_background_image_stretch = (@$smof_data == 1)?TRUE:FALSE;
if ($body_background_image_stretch) {
$body_background_styles = ‘cover’;
}if (@$smof_data != ») {
$backgroundRepeatCss = array(
‘Repeat’ => ‘repeat’,
‘Repeat Horizontally’ => ‘repeat-x’,
‘Repeat Vertically’ => ‘repeat-y’,
‘Do Not Repeat’ => ‘no-repeat’,
);
$body_background_styles = $backgroundRepeatCss[@$smof_data];
}if (@$smof_data != ») {
$body_background_styles = @$smof_data;
}if (@$smof_data == 1) {
$body_background_styles = ‘fixed’;
}foreach ($body_background_styles as $body_background_style => $body_background_style_val)
{
$body_background_styles_text .= $body_background_style.’: ‘.$body_background_style_val.’;’;
}
}
$woocommerce_class = »;
if (defined(‘COLUMNS_QTY_CLASS’)) {
$woocommerce_class .= ‘ ‘.COLUMNS_QTY_CLASS;
}$theme_version = str_replace(‘.’, ‘-‘, us_get_main_theme_version());
$theme_class = ‘us-theme_impreza_’.$theme_version;
?>
<body >
<?php
if (defined(‘IS_FULLWIDTH’) AND IS_FULLWIDTH)
{
$sidebar_position_class = ‘col_cont’;
}
elseif (defined(‘IS_POST’) AND IS_POST)
{
$sidebar_position_class = (@$smof_data == ‘Right’)?’col_contside’:’col_sidecont’;
}
elseif (defined(‘IS_BLOG’) AND IS_BLOG)
{
$sidebar_position_class = (@$smof_data == ‘Right’)?’col_contside’:’col_sidecont’;
}
else
{
$sidebar_position_class = (defined(‘SIDEBAR_POS’) AND SIDEBAR_POS == ‘right’)?’col_contside’:’col_sidecont’;
}$layout_class = (isset($smof_data) AND $smof_data == 1)?’type_boxed’:’type_wide’;
$extended_header_class = ‘ headerlayout_standard’;
if (isset($smof_data)){
$extended_header_class = ‘ headerlayout_’.$smof_data;
}$logo_pos_class = »;
if (isset($smof_data) AND $smof_data) {
$logo_pos_class = ‘ logopos_right’;
}$header_transparent_class = $header_position_class = »;
if (isset($smof_data) AND $smof_data == 1){
$header_position_class = ‘ headerpos_fixed’;
if (isset($smof_data) AND $smof_data == 1){
$header_position_class .= ‘ headerbg_transparent’;
$header_transparent_class = ‘ transparent’;
}
}else{
$header_position_class = ‘ headerpos_static’;
}$menu_hover_animation = ‘opacity’;
if (isset($smof_data)){
if ($smof_data == ‘FadeIn’){
$menu_hover_animation = ‘opacity’;
}
elseif ($smof_data == ‘FadeIn + SlideDown’){
$menu_hover_animation = ‘height’;
}
elseif ($smof_data == ‘Material Design Effect’){
$menu_hover_animation = ‘mdesign’;
}
}$menu_height_class = ( ! empty($smof_data) AND $smof_data == 1)?’ height_full’:’ height_auto’;
$menu_hover_effect_class = ( ! empty($smof_data) AND $smof_data == 1)?’ hover_underline’:’ hover_none’;if (rwmb_meta(‘us_header_type’) == ‘Sticky Transparent’) {
$header_position_class = ‘ headerpos_fixed headerbg_transparent’;
$header_transparent_class = ‘ transparent’;
} elseif (rwmb_meta(‘us_header_type’) == ‘Sticky Solid’) {
$header_position_class = ‘ headerpos_fixed’;
$header_transparent_class = »;
} elseif (rwmb_meta(‘us_header_type’) == ‘Non-sticky’) {
$header_position_class = »;
$header_transparent_class = »;
}$lang_class = (defined(‘ICL_LANGUAGE_CODE’) AND ICL_LANGUAGE_CODE != »)?’ wpml_lang_’.ICL_LANGUAGE_CODE: »;
?>
<div class="l-canvas « >
<div class="l-header »><div class="l-subheader at_top"= 36 AND $smof_data >
<a href="mailto: »><i class="fa fa-« >
<?php
if ($smof_data) {
$socials = array (
’email’ => ‘Email’,
‘facebook’ => ‘Facebook’,
‘twitter’ => ‘Twitter’,
‘google’ => ‘Google+’,
‘linkedin’ => ‘LinkedIn’,
‘youtube’ => ‘YouTube’,
‘vimeo’ => ‘Vimeo’,
‘flickr’ => ‘Flickr’,
‘instagram’ => ‘Instagram’,
‘behance’ => ‘Behance’,
‘xing’ => ‘Xing’,
‘pinterest’ => ‘Pinterest’,
‘skype’ => ‘Skype’,
‘tumblr’ => ‘Tumblr’,
‘dribbble’ => ‘Dribbble’,
‘vk’ => ‘Vkontakte’,
‘soundcloud’ => ‘SoundCloud’,
‘yelp’ => ‘Yelp’,
‘twitch’ => ‘Twitch’,
‘deviantart’ => ‘DeviantArt’,
‘foursquare’ => ‘Foursquare’,
‘github’ => ‘GitHub’,
‘rss’ => ‘RSS’,
);$output = »;
foreach ($socials as $social_key => $social)
{
if (@$smof_data != »)
{
if ($social_key == ’email’)
{
$output .= ‘‘;
}
elseif ($social_key == ‘google’)
{
$output .= ‘‘;
}
elseif ($social_key == ‘youtube’)
{
$output .= ‘‘;
}
elseif ($social_key == ‘vimeo’)
{
$output .= ‘‘;
}
else
{
$output .= ‘‘;
}}
}if ($output != ») {
?><?php
echo $output;
?><?php
}
}
?><?php
if (! empty($smof_data) AND (@$smof_data < $smof_data)) {
$smof_data = $smof_data;
}
?>
<div class="l-subheader at_middle" = 50 AND $smof_data <= 150) {
$height_part = »;
if (@$smof_data == ‘advanced’OR @$smof_data == ‘centered’) {
$height_part = ‘height: ‘.$smof_data.’px; ‘;
}
echo ‘ style= »‘.$height_part.’line-height: ‘.$smof_data.’px; »‘;
} ?>><div class="w-logo « >
<a class="w-logo-link" href=" »><span class="w-logo-img" style="height: px; »>
<img class="for_default" src=" » alt= » » style= »margin-bottom: -px; »>
<img class="for_transparent" src=" » alt= » »>
<?php
if ($smof_data) {
$socials = array (
’email’ => ‘Email’,
‘facebook’ => ‘Facebook’,
‘twitter’ => ‘Twitter’,
‘google’ => ‘Google+’,
‘linkedin’ => ‘LinkedIn’,
‘youtube’ => ‘YouTube’,
‘vimeo’ => ‘Vimeo’,
‘flickr’ => ‘Flickr’,
‘instagram’ => ‘Instagram’,
‘behance’ => ‘Behance’,
‘xing’ => ‘Xing’,
‘pinterest’ => ‘Pinterest’,
‘skype’ => ‘Skype’,
‘tumblr’ => ‘Tumblr’,
‘dribbble’ => ‘Dribbble’,
‘vk’ => ‘Vkontakte’,
‘soundcloud’ => ‘SoundCloud’,
‘yelp’ => ‘Yelp’,
‘twitch’ => ‘Twitch’,
‘deviantart’ => ‘DeviantArt’,
‘foursquare’ => ‘Foursquare’,
‘github’ => ‘GitHub’,
‘rss’ => ‘RSS’,
);$output = »;
foreach ($socials as $social_key => $social)
{
if (@$smof_data != »)
{
if ($social_key == ’email’)
{
$output .= ‘‘;
}
elseif ($social_key == ‘google’)
{
$output .= ‘‘;
}
elseif ($social_key == ‘youtube’)
{
$output .= ‘‘;
}
elseif ($social_key == ‘vimeo’)
{
$output .= ‘‘;
}
else
{
$output .= ‘‘;
}}
}if ($output != ») {
?><?php
echo $output;
?><?php
}
}
?>
<a href="mailto: »><i class="fa fa-« >
<form class="w-search-form show_hidden" action=" »><input type="hidden" name="lang" value=" »><input type="submit" id="searchsubmit" value=" » />✕
<nav class="w-nav layout_hor animation_ »>-
<?php wp_nav_menu(
array(
‘theme_location’ => ‘impeza_main_menu’,
‘container’ => ‘ul’,
‘container_class’ => ‘w-nav-list’,
‘walker’ => new Walker_Nav_Menu_us(),
‘items_wrap’ => ‘%3$s’,
‘fallback_cb’ => false,)
); ?>
<form class="w-search-form show_hidden" action=" »><input type="hidden" name="lang" value=" »><input type="submit" id="searchsubmit" value=" » />✕<div class="l-subheader at_bottom"= 36 AND $smof_data >
<form class="w-search-form show_hidden" action=" »><input type="hidden" name="lang" value=" »><input type="submit" id="searchsubmit" value=" » />✕
<nav class="w-nav layout_hor animation_ »>-
<?php wp_nav_menu(
array(
‘theme_location’ => ‘impeza_main_menu’,
‘container’ => ‘ul’,
‘container_class’ => ‘w-nav-list’,
‘walker’ => new Walker_Nav_Menu_us(),
‘items_wrap’ => ‘%3$s’,
‘fallback_cb’ => false,));
?>
<form class="w-search-form show_hidden" action=" »><input type="hidden" name="lang" value=" »><input type="submit" id="searchsubmit" value=" » />✕<?php
if ( ! defined(‘THEME_TEMPLATE’) AND FALSE) {
// Disabling Section shortcode
global $disable_section_shortcode;
$disable_section_shortcode = TRUE;
?>10 mars 2015 à 13 h 11 min #997390et le header.shop
?php
global $smof_data;
if (is_single()) {
if (@$smof_data == ‘No Sidebar’)
{
define(‘IS_FULLWIDTH’, TRUE);
}
elseif (@$smof_data == ‘Left’)
{
define(‘SIDEBAR_POS’, ‘left’);
}
else
{
define(‘SIDEBAR_POS’, ‘right’);
}$related_products_qty_classes = array(
‘2 items’ => ‘columns-2’,
‘3 items’ => ‘columns-3’,
‘4 items’ => ‘columns-4’,
‘5 items’ => ‘columns-5’,
);if (@$smof_data != » AND array_key_exists($smof_data, $related_products_qty_classes))
{
define(‘COLUMNS_QTY_CLASS’, $related_products_qty_classes[$smof_data]);
} else {
define(‘COLUMNS_QTY_CLASS’, ‘columns-4’);
}} else {
if (@$smof_data == ‘No Sidebar’)
{
define(‘IS_FULLWIDTH’, TRUE);
}
elseif (@$smof_data == ‘Left’)
{
define(‘SIDEBAR_POS’, ‘left’);
}
else
{
define(‘SIDEBAR_POS’, ‘right’);
}$shop_columns_qty_classes = array(
‘2 columns’ => ‘columns-2’,
‘3 columns’ => ‘columns-3’,
‘4 columns’ => ‘columns-4’,
‘5 columns’ => ‘columns-5’,
);if (@$smof_data != » AND array_key_exists($smof_data, $shop_columns_qty_classes))
{
define(‘COLUMNS_QTY_CLASS’, $shop_columns_qty_classes[$smof_data]);
} else {
define(‘COLUMNS_QTY_CLASS’, ‘columns-4’);
}
}get_header();
12 mars 2015 à 7 h 57 min #997389bonjour
avez vous pu regarder les fichiers ??17 mars 2015 à 10 h 42 min #997396j’ai enfin résolu mon problème d’erreurs en décochant la case
« activer la light box pour la galerie produit »SI CELA PEUT DEPANNER QUELQU UN
-
AuteurMessages
- Vous devez être connecté pour répondre à ce sujet.