Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter 0utf1t

    (@0utf1t)

    If you hover on these pictures you can opacity goes 0.9 or 0.8. I can’t find where to change. Picture is with link to bigger picture of itself. I wanted also use scale (1.05) on hover. I can write this in custom css selector in block, but it won’t affect all pictures in all pages. And there is errors in Safari when view(even with webkit) and original hover opacity is sill on it won’t change even if I write opacity:1 !important in custom css in block editor. If I write css in Neve additional css it won’t change anything.

    https://piemini.lv/laukakmeni/

    Thread Starter 0utf1t

    (@0utf1t)

    Yes, now it works. Thanks again for your help.

    As you child theme I updated theme and the copied modified css and php into new files

    Thread Starter 0utf1t

    (@0utf1t)

    Ok I update to wordpress 4.7 and asked my host to updated php to 7.0, they will do it tonight.

    About theme. Right now I have Twenty Eleven customised into child theme. How can I update it? I updated original Twenty Eleven, should I copy some files into child theme so I don’t lose customisation?

    Thread Starter 0utf1t

    (@0utf1t)

    I replaced json_encode with wp_json_encode still the error > Fatal error: Call to undefined function wp_json_encode() in /var/www/html/wp-content/plugins/wp-super-cache/wp-cache-phase1.php on line 206

    Ok I installed your plugin, this is what was shown:

    
    Redefining already defined constructor for class WP_Table_Reloaded_Controller_Frontend?Backtrace from notice?In /var/www/html/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php [line 60]:
    1. /var/www/html/wp-content/plugins/wp-table-reloaded/wp-table-reloaded.php [line 59] calling process_error()
    2. /var/www/html/wp-content/plugins/wp-table-reloaded/wp-table-reloaded.php [line 59] calling include_once()
    3. /var/www/html/wp-settings.php [line 254] calling include_once()
    4. /var/www/html/wp-config.php [line 108] calling require_once()
    5. /var/www/html/wp-load.php [line 37] calling require_once()
    6. /var/www/html/wp-blog-header.php [line 12] calling require_once()
    7. /var/www/html/index.php [line 17] calling require()
    
    Redefining already defined constructor for class WP_Table_Reloaded_Controller_Base?Backtrace from notice?In /var/www/html/wp-content/plugins/wp-table-reloaded/controllers/controller-base.php [line 98]:
    1. /var/www/html/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php [line 14] calling process_error()
    2. /var/www/html/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php [line 14] calling require_once()
    3. /var/www/html/wp-content/plugins/wp-table-reloaded/wp-table-reloaded.php [line 59] calling include_once()
    4. /var/www/html/wp-settings.php [line 254] calling include_once()
    5. /var/www/html/wp-config.php [line 108] calling require_once()
    6. /var/www/html/wp-load.php [line 37] calling require_once()
    7. /var/www/html/wp-blog-header.php [line 12] calling require_once()
    8. /var/www/html/index.php [line 17] calling require()
    
    Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php:60)?Backtrace from warning?In /var/www/html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php [line 60]:
    1. [line ?] calling process_error()
    2. /var/www/html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php [line 60] calling header()
    3. /var/www/html/wp-content/plugins/wp-super-cache/wp-cache-phase1.php [line 397] calling wp_cache_phase2()
    4. /var/www/html/wp-settings.php [line 267] calling wp_cache_postload()
    5. /var/www/html/wp-config.php [line 108] calling require_once()
    6. /var/www/html/wp-load.php [line 37] calling require_once()
    7. /var/www/html/wp-blog-header.php [line 12] calling require_once()
    8. /var/www/html/index.php [line 17] calling require()
    
    Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php:60)?Backtrace from warning?In /var/www/html/wp-content/plugins/qtranslate-x/qtranslate_core.php [line 388]:
    1. [line ?] calling process_error()
    2. /var/www/html/wp-content/plugins/qtranslate-x/qtranslate_core.php [line 388] calling setcookie()
    3. /var/www/html/wp-content/plugins/qtranslate-x/qtranslate_core.php [line 398] calling qtranxf_setcookie_language()
    4. /var/www/html/wp-content/plugins/qtranslate-x/qtranslate_core.php [line 213] calling qtranxf_set_language_cookie()
    5. /var/www/html/wp-content/plugins/qtranslate-x/qtranslate_core.php [line 69] calling qtranxf_detect_language()
    6. [line ?] calling qtranxf_init_language()
    7. /var/www/html/wp-includes/plugin.php [line 525] calling call_user_func_array()
    8. /var/www/html/wp-settings.php [line 276] calling do_action()
    9. /var/www/html/wp-config.php [line 108] calling require_once()
    10. /var/www/html/wp-load.php [line 37] calling require_once()
    11. /var/www/html/wp-blog-header.php [line 12] calling require_once()
    12. /var/www/html/index.php [line 17] calling require()
    
    Funkcija add_custom_background kop?? versijas 3.4?skait??s novecojusi! Lietojiet ??o add_theme_support( 'custom-background', $args ).?Backtrace from notice?In /var/www/html/wp-includes/functions.php [line 3618]:
    1. [line ?] calling process_error()
    2. /var/www/html/wp-includes/functions.php [line 3618] calling trigger_error()
    3. /var/www/html/wp-includes/deprecated.php [line 2972] calling _deprecated_function()
    4. /var/www/html/wp-content/themes/twentyelevenchild2/functions.php [line 109] calling add_custom_background()
    5. [line ?] calling twentyeleven_setup()
    6. /var/www/html/wp-includes/plugin.php [line 525] calling call_user_func_array()
    7. /var/www/html/wp-settings.php [line 376] calling do_action()
    8. /var/www/html/wp-config.php [line 108] calling require_once()
    9. /var/www/html/wp-load.php [line 37] calling require_once()
    10. /var/www/html/wp-blog-header.php [line 12] calling require_once()
    11. /var/www/html/index.php [line 17] calling require()
    
    Funkcija add_custom_image_header kop?? versijas 3.4?skait??s novecojusi! Lietojiet ??o add_theme_support( 'custom-header', $args ).?Backtrace from notice?In /var/www/html/wp-includes/functions.php [line 3618]:
    1. [line ?] calling process_error()
    2. /var/www/html/wp-includes/functions.php [line 3618] calling trigger_error()
    3. /var/www/html/wp-includes/deprecated.php [line 2936] calling _deprecated_function()
    4. /var/www/html/wp-content/themes/twentyelevenchild2/functions.php [line 141] calling add_custom_image_header()
    5. [line ?] calling twentyeleven_setup()
    6. /var/www/html/wp-includes/plugin.php [line 525] calling call_user_func_array()
    7. /var/www/html/wp-settings.php [line 376] calling do_action()
    8. /var/www/html/wp-config.php [line 108] calling require_once()
    9. /var/www/html/wp-load.php [line 37] calling require_once()
    10. /var/www/html/wp-blog-header.php [line 12] calling require_once()
    11. /var/www/html/index.php [line 17] calling require()
    
    The called constructor method for WP_Widget is?deprecated?since version 4.3.0! Use
    __construct()
    instead.
    Backtrace from notice
    In /var/www/html/wp-includes/functions.php [line 3669]:
    1. [line ?] calling process_error()
    2. /var/www/html/wp-includes/functions.php [line 3669] calling trigger_error()
    3. /var/www/html/wp-includes/class-wp-widget.php [line 171] calling _deprecated_constructor()
    4. /var/www/html/wp-content/themes/twentyelevenchild2/inc/widgets.php [line 20] calling WP_Widget()
    5. /var/www/html/wp-includes/class-wp-widget-factory.php [line 43] calling Twenty_Eleven_Ephemera_Widget()
    6. /var/www/html/wp-includes/widgets.php [line 113] calling register()
    7. /var/www/html/wp-content/themes/twentyelevenchild2/functions.php [line 373] calling register_widget()
    8. [line ?] calling twentyeleven_widgets_init()
    9. /var/www/html/wp-includes/plugin.php [line 525] calling call_user_func_array()
    10. /var/www/html/wp-includes/widgets.php [line 1463] calling do_action()
    11. [line ?] calling wp_widgets_init()
    12. /var/www/html/wp-includes/plugin.php [line 525] calling call_user_func_array()
    13. /var/www/html/wp-settings.php [line 392] calling do_action()
    14. /var/www/html/wp-config.php [line 108] calling require_once()
    15. /var/www/html/wp-load.php [line 37] calling require_once()
    16. /var/www/html/wp-blog-header.php [line 12] calling require_once()
    17. /var/www/html/index.php [line 17] calling require()
    
    Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php:60)?Backtrace from warning?In /var/www/html/wp-includes/class-wp.php [line 473]:
    1. [line ?] calling process_error()
    2. /var/www/html/wp-includes/class-wp.php [line 473] calling header()
    3. /var/www/html/wp-includes/class-wp.php [line 680] calling send_headers()
    4. /var/www/html/wp-includes/functions.php [line 952] calling main()
    5. /var/www/html/wp-blog-header.php [line 14] calling wp()
    6. /var/www/html/index.php [line 17] calling require()
    
    Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php:60)?Backtrace from warning?In /var/www/html/wp-includes/functions.php [line 1080]:
    1. [line ?] calling process_error()
    2. /var/www/html/wp-includes/functions.php [line 1080] calling header()
    3. /var/www/html/wp-includes/class-wp.php [line 632] calling status_header()
    4. /var/www/html/wp-includes/class-wp.php [line 682] calling handle_404()
    5. /var/www/html/wp-includes/functions.php [line 952] calling main()
    6. /var/www/html/wp-blog-header.php [line 14] calling wp()
    7. /var/www/html/index.php [line 17] calling require()
    
    Cannot modify header information - headers already sent by (output started at /var/www/html/wp-content/plugins/wp-table-reloaded/controllers/controller-frontend.php:60)?Backtrace from warning?In /var/www/html/wp-includes/pluggable.php [line 1224]:
    1. [line ?] calling process_error()
    2. /var/www/html/wp-includes/pluggable.php [line 1224] calling header()
    3. /var/www/html/wp-includes/canonical.php [line 499] calling wp_redirect()
    4. [line ?] calling redirect_canonical()
    5. /var/www/html/wp-includes/plugin.php [line 525] calling call_user_func_array()
    6. /var/www/html/wp-includes/template-loader.php [line 12] calling do_action()
    7. /var/www/html/wp-blog-header.php [line 16] calling require_once()
    8. /var/www/html/index.php [line 17] calling require()
    

    Ok right now I disabeled debugging in wp-config.php

    Should I maybe update to lastest wordpress version? I’m reluctant to do that right now because then I will have to migrate from qtranslatex plugin to something else and I read that it can be complicated.

    Thanks for your help.

    Thread Starter 0utf1t

    (@0utf1t)

    This was in debug file. Do you see anything there?

    I excluded is_search but still the same.

    I think this started to happen after WPSC update which I did recently. Before search worked( although I hadn’t checked it very often)

    Thread Starter 0utf1t

    (@0utf1t)

    Debug from WPSC

    
    <?php
    
    if ( !isset( $_SERVER[ "PHP_AUTH_USER" ] ) || ( $_SERVER[ "PHP_AUTH_USER" ] != "4e261f2aa5f96f1437fe3a66ab200af5" && $_SERVER[ "PHP_AUTH_PW" ] != "4e261f2aa5f96f1437fe3a66ab200af5" ) ) {
    	header( "WWW-Authenticate: Basic realm=\"WP-Super-Cache Debug Log\"" );
    	header("HTTP/1.0 401 Unauthorized");
    	echo "You must login to view the debug log";
    	exit;
    }
    $debug_log = file( "./7f7d4ab25b0c9c6e6cd041a91be031ba.txt" );
    $start_log = 1 + array_search( "<" . "?php // END HEADER ?" . ">" . PHP_EOL, $debug_log );
    if ( $start_log > 1 ) {
    	$debug_log = array_slice( $debug_log, $start_log );
    }
    ?><form action="" method="GET"><?php
    
    $checks = array( "wp-admin", "exclude_filter", "wp-content", "wp-json" );
    foreach( $checks as $check ) {
    	if ( isset( $_GET[ $check ] ) ) {
    		$$check = 1;
    	} else {
    		$$check = 0;
    	}
    }
    
    if ( isset( $_GET[ "filter" ] ) ) {
    	$filter = htmlspecialchars( $_GET[ "filter" ] );
    } else {
    	$filter = "";
    }
    
    unset( $checks[1] ); // exclude_filter
    ?>
    Exclude requests: <br />
    <?php foreach ( $checks as $check ) { ?>
    	<label><input type="checkbox" name="<?php echo $check; ?>" value="1" <?php if ( $$check ) { echo "checked"; } ?> /> <?php echo $check; ?></label><br />
    <?php } ?>
    <br />
    Text to filter by:
    
    <input type="text" name="filter" value="<?php echo $filter; ?>" /><br />
    <input type="checkbox" name="exclude_filter" value="1" <?php if ( $exclude_filter ) { echo "checked"; } ?> /> Exclude by filter instead of include.<br />
    <input type="submit" value="Submit" />
    </form>
    <?php
    foreach ( $debug_log as $t => $line ) {
    	foreach( $checks as $check ) {
    		if ( $$check && false !== strpos( $line, " /$check/" ) ) {
    			unset( $debug_log[ $t ] );
    		}
    	}
    	if ( $filter ) {
    		if ( false !== strpos( $line, $filter ) && $exclude_filter ) {
    			unset( $debug_log[ $t ] );
    		} elseif ( false === strpos( $line, $filter ) && ! $exclude_filter ) {
    			unset( $debug_log[ $t ] );
    		}
    	}
    }
    foreach( $debug_log as $line ) {
    	echo $line . "<br />";
    }
    
    Debug from WordPress
    
    Notice: Funkcija add_custom_background is deprecated since version 4.3.0! Use add_theme_support( 'custom-background', $args ). in /var/www/html/wp-includes/functions.php on line 3618
    
    Notice: Funkcija add_custom_image_header is deprecated since version 4.3.0! Use add_theme_support( 'custom-header', $args ). in /var/www/html/wp-includes/functions.php on line 3618
    
    Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /var/www/html/wp-includes/functions.php on line 3669
    
    • This reply was modified 7 years ago by 0utf1t.
    • This reply was modified 7 years ago by Jan Dembowski.
    Thread Starter 0utf1t

    (@0utf1t)

    Thanks a lot for answer!

    I previously tried excluding easy fancy box JS, but it didn’t work.
    But other suggestion worked! I enabled “force JS into head” option and now easy fancy box works in ie8.

    Should I also use along “Look for scripts only in <head>”?

    Thanks for fast reply and support! I was trying for 2 days to find the solution.

    So you defined you constnat
    define( ‘DYNAMIC_OUTPUT_BUFFER_TAG’, ‘Your placeholder’ );
    in dynamic-cache-test.php and upladed it back in WP Super Cache/plugins folder. Is that correct? In your case it was minicart, right?

    And the you inserted code in to functions.php and templte page which you mentioned before?

    and thats it?

    oh I’m really lost into this, and it drives me nuts that I can’t get it work.

    Any chance you know a link for that ajax tutorial?

    I just want my date to be dynamic.

    Thanks anyway for your help!

    Ok, thank you for answer.

    Can I ask you some question, maybe you remember something you did?

    Right now I’ve enabled php mode, dynamic cache and late init. I changed secret placeholder tag and upload it back in wp super cache plugins folder. I see hello world with time in my source code. But I can’t get dynamic content to appear where I want it to be. So if you remember I would really appreciate if you can answer following questions:

    1) Did you write unique placeholder tag in dynamic-cache-test.php and upload it back into super cache plugins folder?
    2) Where did you put that long script (in your 1.post) in single.php and functions.php?
    3) Did you put the whole script in php tags ==> <?php ?> ?
    4) This ==>
    if ( function_exists( ‘dynamic_cache_test_filter’ ) ) {
    dynamic_output_buffer_test();
    ?>testtest<?php }
    ==< I put in the theme where I want dynamic content to appear? But it’s incorrect, right?

    Hey christopheran!
    Can you please tell my step by step to get dynamic content to work? I’m struggling more that week to get this work, but I just can’t get it to work. There is no more info to set it up. I would really appreciate if you could give instructions.

    Ok, if I paste your code in functions.php my site crashes.
    Where do you define( ‘DYNAMIC_OUTPUT_BUFFER_TAG’, ” ); // Change this to a secret placeholder tag ? If I define in dynamic-cache-test.php and put back in wp super cache plugins folder, my site still crashes. ??

    Thanks a lot for reply. Did you also managed to get working the first way with ‘DYNAMIC_CACHE_TEST_TAG’ ?

    Yes late_init is enable, dynamic cache is enabled in php caching mode.

    Wrote my placeholder > define( ‘DYNAMIC_CACHE_TEST_TAG’ ‘dynamiccontent’ ); // Changed this to a secret placeholder tag // in dynamic-cache-test.php and upladed it back in WP Super Cache/plugins folder.

    I also replaced add_cacheaction( ‘wpsc_cachedata_safety’, ‘dynamic_output_buffer_test_safety’ );
    with
    add_cacheaction( ‘wpsc_cachedata_safety’, ‘dynamic_cache_test_safety’ );

    All these steps are correct?

    And is this worng <!–dynamiccontent–>
    <?php echo date_i18n(‘l, j. F Y’); ?>
    <!– echo date_i18n(‘l, j. F Y’); –>
    <!–/dynamiccontent–> ?

    I have to use this <?php
    if ( function_exists( ‘dynamic_output_buffer_minicart’ ) )
    dynamic_output_buffer_minicart();
    ?>Loading cart… where I want dynamic content to appear?

    Hey!
    I have the same problem! How did you get working?
    In pagesource I see Hello world with time… but if I do this
    <!–dynamiccontent–>
    <?php echo date_i18n(‘l, j. F Y’); ?>
    <!– echo date_i18n(‘l, j. F Y’); –>
    <!–/dynamiccontent–>

    The date still gets cached. Please tell how did you get to work! I’m search for solution a week now!

    Thread Starter 0utf1t

    (@0utf1t)

    Nobody? ??

    Thread Starter 0utf1t

    (@0utf1t)

    No, it won’t appear, I tried that.
    Actually I find out that W3TC won’t work for me at all! It just isn’t caching anything. I tried other caching plugins, but none of them are working. Why isn’t caching working? Could it be hosts fault?

Viewing 15 replies - 1 through 15 (of 15 total)