Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter dougicg

    (@dougicg)

    In the log with debug on its was the same results with Page caching turned on and off:

    [24-May-2023 14:50:50 UTC] PHP Warning: Undefined array key “terms” in /var/www/vhosts/lakeside-village.co.uk/httpdocs/wp-content/plugins/post-expirator/src/Views/classic-metabox.php on line 143
    [24-May-2023 14:50:50 UTC] PHP Notice: Function acf_get_value was called incorrectly. Advanced Custom Fields PRO – We’ve detected one or more calls to retrieve ACF field values before ACF has been initialized. This is not supported and can result in malformed or missing data. Learn how to fix this. Please see Debugging in WordPress for more information. (This message was added in version 5.11.1.) in /var/www/vhosts/lakeside-village.co.uk/httpdocs/wp-includes/functions.php on line 5865
    [24-May-2023 14:50:50 UTC] PHP Notice: Function acf_get_value was called incorrectly. Advanced Custom Fields PRO – We’ve detected one or more calls to retrieve ACF field values before ACF has been initialized. This is not supported and can result in malformed or missing data. Learn how to fix this. Please see Debugging in WordPress for more information. (This message was added in version 5.11.1.) in /var/www/vhosts/lakeside-village.co.uk/httpdocs/wp-includes/functions.php on line 5865
    [24-May-2023 14:50:52 UTC] BWT_IndexNow_Admin::on_post_published is_public_post0
    [24-May-2023 14:50:52 UTC] BWT_IndexNow_Admin::on_post_published link https://lakeside-village.co.uk/amp_validated_url/7ac3b50ab2baeb3347518f5d0e3ca400/
    [24-May-2023 14:50:52 UTC] BWT_IndexNow_Admin::on_post_published is_public_post0
    [24-May-2023 14:50:52 UTC] BWT_IndexNow_Admin::on_post_published link https://lakeside-village.co.uk/amp_validated_url/7ac3b50ab2baeb3347518f5d0e3ca400/

    There were no references to Hummingbird and same reference to post-expirator plugin PHP warning in both cases. Nothing unique with caching on or off.

    No errors in console when saving. Previous to save there is

    “Block “core/legacy-widget” is already registered.”

    This is a JS error which always appears irrespective if page caching turned on or off.

    Thread Starter dougicg

    (@dougicg)

    The main plugin that is being effected is https://www.ads-software.com/plugins/post-expirator/

    This controls post expiry. We only have problems with this plugin when Hummingbird Page Caching is active.

    In the post variables there are for example

    enable-expirationdate: checked
    expirationdate_year: 2023
    expirationdate_month: 05
    expirationdate_day: 31
    expirationdate_hour: 15
    expirationdate_minute: 07
    expirationdate_expiretype: draft

    This data is seemingly removed before the expiry plugin can process it, so the process fails and a cron job which would control the expiry doesn’t have the data it needs.

    As soon as page caching is disabled this works.

    If you can install the Post Expirtarator plugin, enable page caching in Hummingbird then create a new post > check the Enable Post Expiration option and then publish. Go back to the Posts admin area and you will see next to the post a warning symbol which on hover says Cron Event not found!

    https://snipboard.io/xBURS7.jpg

    When page caching is disabled this is purple and says “Cron event scheduled”

    Thread Starter dougicg

    (@dougicg)

    Thanks Luis

    That setting is already disabled. Still an issue.

    Thread Starter dougicg

    (@dougicg)

    Please ignore this. Developers had added define(‘WPCF7_LOAD_JS’, false); to wp-config.php

    Thread Starter dougicg

    (@dougicg)

    I’ve replied via your contact us form with URL. Thanks

    Thread Starter dougicg

    (@dougicg)

    This is one of the forms below:

    [dynamichidden competition "CF7_get_post_var key='title'"]
    <div class="row">
    <div class="col-sm-3">
                            <label><span class="sr-only">First name</span>
                                <input type="text" value="" name="first_name" id="first_name" placeholder="First name*" data-validation="required" data-validation-error-msg="Please enter your name">
                            </label>
                        </div>
                        <div class="col-sm-3">
                            <label><span class="sr-only">Last name</span>
                                <input type="text" value="" name="last_name" id="last_name" placeholder="Last name*" data-validation="required" data-validation-error-msg="Please enter your name">
                            </label>
                        </div>
                        <div class="col-sm-3">
                            <label><span class="sr-only">Email Address</span>
                                <input type="email" value="" name="email" id="email" placeholder="Email Address*" data-validation="email" data-validation-error-msg="Please enter a valid email address">
                            </label>
                        </div>
                        <div class="col-sm-3">
                            <label><span class="sr-only">Postcode</span>
                                <input type="text" value="" name="postcode" id="postcode" placeholder="Postcode*" data-validation="required" data-validation-error-msg="This is a required field">
                            </label>
                        </div>
    </div>
        <div class="row">
            <div class="col-sm-6 relative checkboxes-validate">
                <label>
                <span>Please specify the types of stores/brands you are interested in</span>
                </label>
    			 <div class="row">
                    <div class="col-sm-3">
    
    				<label for="tof_womenswear">
    					<input type="checkbox" name="types_of_stores[]" value="Womenswear" id="tof_womenswear" >
    					<span>Womenswear</span>
    				</label>
                </div>
    			   <div class="col-sm-3">
                        <label for="tof_menswear">
                            <input type="checkbox" name="types_of_stores[]" value="Menswear" id="tof_menswear">
                            <span>Menswear</span>
                        </label>
                    </div>
                </div><!--row-->
                <div class="row">
                    <div class="col-sm-3">
                        <label for="tof_childrenswear">
                            <input type="checkbox" name="types_of_stores[]" value="Childrens-wear" id="tof_childrenswear">
                            <span>Childrens-wear</span>
                        </label>
                    </div>
    				<div class="col-sm-3">
                        <label for="tof_shoes">
                            <input type="checkbox" name="types_of_stores[]" value="Shoes & Accessories" id="tof_shoes">
                            <span>Shoes & Accessories</span>
                        </label>
                    </div>
                </div>
                <div class="row">
    				<div class="col-sm-3">
    					<label for="tof_sports">
    						<input type="checkbox" name="types_of_stores[]" value="Sports & Outdoor" id="tof_sports" >
    						<span>Sports & Outdoor</span>
    					</label>
    				</div>
                    <div class="col-sm-3">
                        <label for="tof_homegifts">
    
                            <input type="checkbox" name="types_of_stores[]" value="Home & Gifts" id="tof_homegifts" >
                            <span>Home & Gifts</span>
                        </label>
                    </div>
                </div>
                <div class="row">
    				<div class="col-sm-3">
                        <label for="tof_beauty">
                            <input type="checkbox" name="types_of_stores[]" value="Beauty" id="tof_beauty" >
                            <span>Beauty</span>
                        </label>
                    </div>
                </div>
        </div>
    </div>
    <div class="row">
    <div class="col-sm-10">
    <label for="opt_out">
    <input type="checkbox" name="opt-in" id="opt-in" checked="checked" value="true" checked />
    <span>Please tick the box if you would like to hear about more great offers?</span></label>
    </div>
    <div class="col-sm-10">
    [recaptcha size:compact]
    <br/>
    </div>
    <div class="col-sm-3">
            <button class="bttn bttn-brand bttn-block" type="submit">Submit Form</button>
        </div>
    </div>

    Did you manage to solve this?

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