Home › Forums › Basel support forum › Besoin de votre aide!
Besoin de votre aide!
- This topic has 9 replies, 2 voices, and was last updated 7 years, 9 months ago by Artem Temos.
-
AuthorPosts
-
April 11, 2017 at 8:40 am #12059
patlainParticipantHello,
I do not speak English message translated by google.I just bought your theme and am confronted with a problem, I can not install your theme because I have a message that says “Do you really want to do this” in installation by the admin panel and when I put The theme directly in the folder and I open it I have this message
(!) Warning: Illegal string offset ‘url’ in C: \ wamp64 \ www \ basel \ wp-content \ themes \ basel \ inc \ template-tags.php on line 1077 Call Stack #TimeMemoryFunctionLocation 10.0005376128 {main} (). .. \ index.php: 0 20.0010378168require (‘C: \ wamp64 \ www \ basel \ wp-blog-header.php’) … \ index.php: 17 30.449428988664require_once (‘C: \ wamp64 \ Basel \ wp-includes \ template-loader.php ‘) … \ wp-blog-header.php: 19 40.451829059056include (‘ C: \ wamp64 \ www \ basel \ wp-content \ themes \ basel \ index.php ‘) … \ template-loader.php: 74 50.451829059056get_header () … \ index.php: 6 60.451829059512locate_template () … \ general-template.php: 45 70.452529059592load_template .php: 643 80.453729078744require_once (‘C: \ wamp64 \ www \ basel \ wp-content \ themes \ basel \ header.php’) … \ template.php: 684 90.466429102864basel_generate_header () … \ header.php : Template-tags.php: 1574 120.466429119704basel_process_child () … \ template-tags.php: 1568 110.466429103240basel_header_block () … \ template-tags.php: () … template-tags.php: 1581 130.466429119704basel_header_block () … \ template-tags.php: 1574 140.466429136168basel_process_child () … \ template-tags.php: 1581 150.466429136168basel_header_block : 1574 160.466429136216basel_header_block_logo () … \ template-tags.php: 1594 “>
Thank you in advance for your dedication
cordially
PatrickApril 11, 2017 at 9:41 am #12065
Artem TemosKeymasterHello,
Thank you so much purchasing our theme and contacting our support center.
Here is an article with a fix to this problem https://help.market.envato.com/hc/en-us/articles/202821510?_ga=1.10342837.1250354696.1490787010
Kind Regards
XTemos StudioApril 11, 2017 at 10:47 am #12073
patlainParticipantHello again,
Thanks first of all for your quick reply but despite this I always have the same problem besides I had already read the article you proposed to me and I tried both examples with the complete package or the Theme alone and also, in addition, directly in the file of my theme I also wanted to let you know that I have already built about thirty sites and that I know the manipulation but I am waiting, thank you for your help .
Greetings
Patrick
April 11, 2017 at 11:09 am #12075
Artem TemosKeymasterHi,
But what result do you get when trying to upload it directly using FileZilla for example? Also, try to increase PHP max upload size on your server
Recommended PHP configuration limits are as follows:
max_execution_time 60 memory_limit 128M post_max_size 48M upload_max_filesize 48M
Regards
April 11, 2017 at 11:24 am #12077
patlainParticipantHello again,
Thank you for your new reply but unfortunately still the same message, I attached an image, I put the settings as you showed me but no change.
Regards
Patrick
Attachments:
You must be logged in to view attached files.April 11, 2017 at 11:28 am #12081
Artem TemosKeymasterOK, try to disable WP DEBUG in the wp-config.php file to hide this notice. It will be fixed in the next theme update.
April 11, 2017 at 11:36 am #12082
patlainParticipantI’m really sorry but WP DEBUG is already off it is well on “false” so the error is not from here …
Greetings
Patrick
April 11, 2017 at 11:43 am #12083
Artem TemosKeymasterOK, try to replace
basel_header_block_logo
function with the following code ininc/template-tags.php
fileif( ! function_exists( 'basel_header_block_logo' ) ) { function basel_header_block_logo() { $header_color_scheme = basel_get_opt( 'header_color_scheme' ); // Get the logo $logo = BASEL_IMAGES . '/logo.png'; $logo_white = BASEL_IMAGES . '/logo-white.png'; $protocol = basel_http() . "://"; $logo_uploaded = basel_get_opt('logo'); $logo_white_uploaded = basel_get_opt('logo-white'); $logo_sticky_uploaded = basel_get_opt('logo-sticky'); $has_sticky_logo = ( isset( $logo_sticky_uploaded['url'] ) && ! empty( $logo_sticky_uploaded['url'] ) ); if(isset($logo_white_uploaded['url']) && $logo_white_uploaded['url'] != '') { $logo_white = $logo_white_uploaded['url']; } if(isset($logo_uploaded['url']) && $logo_uploaded['url'] != '') { $logo = $logo_uploaded['url']; } if( $has_sticky_logo ) { $logo = $logo_sticky_uploaded['url']; } if( $header_color_scheme == 'light' ) { $logo = $logo_white; } $logo = $protocol. str_replace(array('http://', 'https://'), '', $logo); ?> <div class="site-logo"> <div class="basel-logo-wrap<?php if( $has_sticky_logo ) echo " switch-logo-enable"; ?>"> <a href="<?php echo esc_url( home_url('/') ); ?>" class="basel-logo basel-main-logo" rel="home"> <?php echo '<img src="' . $logo . '" alt="' . get_bloginfo( 'name' ) . '" />'; ?> </a> <?php if ( $has_sticky_logo ): ?> <?php $logo_sticky = $protocol . str_replace( array( 'http://', 'https://' ), '', $logo_sticky_uploaded['url'] ); ?> <a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="basel-logo basel-sticky-logo" rel="home"> <?php echo '<img src="' . $logo_sticky . '" alt="' . get_bloginfo( 'name' ) . '" />'; ?> </a> <?php endif ?> </div> </div> <?php } }
April 11, 2017 at 12:05 pm #12085
patlainParticipantHello,
Wow, thank you congratulations you have found the solution and I thank you a thousand times, continue like that you are leaders ….
Thank you again and good continuation
best regardsPatrick
April 11, 2017 at 1:56 pm #12095
Artem TemosKeymasterGreat, you are welcome.
-
AuthorPosts
The topic ‘Besoin de votre aide!’ is closed to new replies.
- You must be logged in to create new topics. Login / Register