Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter Andres Soop

    (@moonfly)

    It seems as the errors have stopped and the scan is running normally now.

    Memory usage is normal as well:
    [Feb 08 23:26:40] Wordfence used 76.01 MB of memory for scan. Server peak memory usage was: 80.01 MB

    Not sure what has changed since, but glad it is working now ??
    If it will give me another error like this with current settings, I will let you know.

    Thanks for the support!

    Thread Starter Andres Soop

    (@moonfly)

    Thanks for the reply.

    I tried these settings for a week, but the error persists.

    This is the log from the last scan:

    
    [Jan 27 21:26:31:1580153191.977409:1:error] <br /> <b>Fatal error</b>: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 768515432 bytes) in <b>/data01/virt54783/domeenid/www.boostyourself.ee/boostyourself.ee/public/wp-includes/Requests/Transport/cURL.php</b> on line <b>413</b><br />
    [Jan 27 21:26:25:1580153185.433835:2:info] Analyzed 77491 files containing 4.29 GB of data.
    [Jan 27 21:26:23:1580153183.801566:2:info] Analyzed 77400 files containing 4.29 GB of data so far
    [............. SKIPPED LINES ............]
    [Jan 27 20:50:15:1580151015.526967:2:info] 500 files indexed
    [Jan 27 20:50:13:1580151013.369432:2:info] Found 2 themes
    [Jan 27 20:50:13:1580151013.365718:2:info] Getting theme list from WordPress
    [Jan 27 20:50:13:1580151013.363763:2:info] Found 45 plugins
    [Jan 27 20:50:13:1580151013.358775:2:info] Getting plugin list from WordPress
    [Jan 27 20:50:13:1580151013.358454:2:info] Including files that are outside the WordPress installation in the scan.
    [Jan 27 20:50:13:1580151013.281728:2:info] The disk has 192021.52 MB available
    [Jan 27 20:50:13:1580151013.276109:2:info] Total disk space: 210.34 GB -- Free disk space: 187.52 GB
    [Jan 27 20:50:10:1580151010.121186:1:info] Contacting Wordfence to initiate scan
    [Jan 27 20:50:10:1580151010.104346:1:info] Using low resource scanning
    [Jan 27 20:50:09:1580151009.616227:1:info] Scheduled Wordfence scan starting at Monday 27th of January 2020 08:50:09 PM
    [Jan 27 18:18:59:1580141939.497221:1:info] Quick Scan Complete. Scanned in less than 1 second.
    [Jan 27 18:18:59:1580141939.492332:2:info] Wordfence used 2 MB of memory for scan. Server peak memory usage was: 8 MB
    [Jan 27 18:18:59:1580141939.483285:1:info] -------------------
    [Jan 27 18:18:59:1580141939.407798:1:info] Initiating quick scan
    [Jan 26 18:18:47:1580055527.345991:1:info] Quick Scan Complete. Scanned in less than 1 second.
    [Jan 26 18:18:47:1580055527.344150:2:info] Wordfence used 2 MB of memory for scan. Server peak memory usage was: 10 MB
    [Jan 26 18:18:47:1580055527.340386:1:info] -------------------
    [Jan 26 18:18:47:1580055527.286913:1:info] Initiating quick scan
    
    Thread Starter Andres Soop

    (@moonfly)

    This function fixed it.
    Thank you for your support and quick answers!

    Thread Starter Andres Soop

    (@moonfly)

    Here are the screenshots what I am seeing.

    This is how it looks like without “#blog_subscription-5” in the url (the way I would like it to look like)
    https://snag.gy/A9Myt.jpg

    and this is how it currently looks like after I hit “Subscribe” (if you scroll down on the page, it continues with the narrow black sidebar)
    https://snag.gy/rf8Rt.jpg

    I think it shows like this because it makes the sidebar loose once the button is clicked and it scrolls off the screen with the rest of the content, if the sidebar would remain fixed, I think it would be fine.

    Thanks for the quick replies.

    Thread Starter Andres Soop

    (@moonfly)

    Is there a way to disable this function since it visually brakes the sidebar when doing that?

    Thread Starter Andres Soop

    (@moonfly)

    I managed to figure it out.
    by default the show full post is set to YES.

    Here is the code:

    if ( ! function_exists( 'ct_author_excerpt' ) ) {
    	function ct_author_excerpt() {
    
    		global $post;
    		$categories = get_the_category( $post->ID );
    		$show_full_post = get_theme_mod( 'full_post' ) ;
    		$read_more_text = get_theme_mod( 'read_more_text' );
    		$ismore         = strpos( $post->post_content, '<!--more-->' );
    
    		if ( ( $show_full_post == 'yes' ) && ! is_search() ) {
    			if ( $ismore ) {
    				// Has to be written this way because i18n text CANNOT be stored in a variable
    				if ( ! empty( $read_more_text ) ) {
    					the_content( wp_kses_post( $read_more_text ) . " <span class='screen-reader-text'>" . get_the_title() . "</span>" );
    				} else {
    					the_content( __( 'Continue reading', 'author' ) . " <span class='screen-reader-text'>" . get_the_title() . "</span>" );
    				}
    				// Next part edited by Andres
    			} else {
    				if ( is_category ( array ( '106' , '107' ) ) ) {
    					the_content();
    				} else {
    					the_excerpt();
    				}
    			}	
    
    		} elseif ( $ismore ) {
    			if ( ! empty( $read_more_text ) ) {
    				the_content( wp_kses_post( $read_more_text ) . " <span class='screen-reader-text'>" . get_the_title() . "</span>" );
    			} else {
    				the_content( __( 'Continue reading', 'author' ) . " <span class='screen-reader-text'>" . get_the_title() . "</span>" );
    			}
    		} else {
    			the_excerpt();
    		}
    	}
    }

    Thread Starter Andres Soop

    (@moonfly)

    The links are not showing correct examples anymore, I deleted the caption to make it work correctly for now.

    Problem not fixed tho.

    Thread Starter Andres Soop

    (@moonfly)

    I made the purple area of the button bigger for now to make it look visually better.

    But the problem is still the same.

    Thread Starter Andres Soop

    (@moonfly)

    Made some screenshots from the problem as well

    Here is the link:
    https://www.mediafire.com/view/?32h9ezpm7i5gw#ho5ghmob1ja57go

    There are 3 pictures (Before, Open and After)

    The right edge of the button is also flickering, if it’s moving.

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