Forum Replies Created

Viewing 30 posts - 1 through 30 (of 108 total)
  • Author
    Posts
  • in reply to: PHP Warning headers have already been sent #1427707

    Thank you, that’s useful to know. It’s a client project so I will forward your suggestions and see what they want to do.

    Yes, please close this thread.

    in reply to: PHP Warning headers have already been sent #1427681

    Yes, unfortunately, that is the plugin I have to use.

    They are already implementing ob_start() but I guess it is in the wrong way or wrong place. They do not answer support requests so I will just have to live with the issue for now.

    Thanks again, appreciate your help.

    in reply to: PHP Warning headers have already been sent #1427622

    Thanks Rikard. Unfortunately this is the only plugin that performs this specific task so I can’t use a different one.

    I’m using the latest version of the theme – updated yesterday.

    in reply to: PHP Warning headers have already been sent #1427597

    Hello, I have to revisit this issue. To remind you, the DocCheck plugin restricts access to certain pages. I am currently logged out on every page load.

    [21-May-2023 08:10:13 UTC] PHP Warning: Cannot modify header information - headers already sent in /home/mysitex/public_html/wp-content/themes/enfold/includes/helper-privacy.php on line 406

    As the line above suggests, this is related to Enfold cookie handling. If I disable cookie consent messages in Enfold then I can browse pages without having to login on every page load. When I enable cookie consent messages, the login status is not remembered and I have to login on every page page load. It does not make a difference if I accept of reject cookies.

    My cookie consent setting is “User must accept and must opt in, only essential cookies selected”

    This line:

    [21-May-2023 08:10:07 UTC] PHP Warning: session_start(): Session cannot be started after headers have already been sent in /home/mysitex/public_html/wp-content/plugins/doccheck-login/includes/class-dcl-base.php on line 304

    Relates to this code:

    session_start( [
    			'cookie_lifetime' => 86400,
    			'read_and_close'  => true,    // READ ACCESS FAST
    		] );

    Any ideas how I can keep using cookie consent but avoid the headers related warning messages so DocCheck stays logged in?

    Thank you very much

    in reply to: Post Types Order not working anymore #1416412

    Sorry for not spotting the difference and for the slow reply. Your code works and now I can successfully use the Post Types Order plugin to order posts.

    Thanks

    in reply to: Post Types Order not working anymore #1414100

    Thanks Mike but that’s literally exactly what I said I already tried and isn’t working.

    Any other ideas?

    in reply to: Post Types Order not working anymore #1413047

    Hi, we’re seeing the same behaviour. I have tried Post Types Order and Intuitive Custom Post Order but neither make a difference when using Post Slider or Blog Posts elements.

    I’m not in a position to try this with a clean install but plugins and theme are all up-to-date.

    I tried using the code snippet from here replacing ’tilte’ with ‘menu_order’ (the column Intuitive Custom Post Order uses for ordering) but still no difference.

    add_filter('avia_blog_post_query', 'avia_modify_post_grid_query_desc');
    
    function avia_modify_post_grid_query_desc( $query ) {
    $query['orderby'] = 'title';
    $query['order'] = 'DESC';
    return $query;
    }

    Should the ordering plugins be working? Any ideas why they might not be?

    Thanks

    in reply to: PHP Warning headers have already been sent #1408397

    Thanks Rikard. Yes logged out on every page. I will try to run some further tests to determine if Enfold is impacting the plugin operation.

    Thanks Günter, much appreciated.

    Details in private

    in reply to: Dynamic category using Blog Posts element #1405797

    That’s very helpful, thank you Ismael.

    Perhaps a mechanism to allow the user to filter blog post categories could be considered for future Enfold update.

    Thanks again

    in reply to: Dynamic category using Blog Posts element #1405678

    Thanks Ismael

    You mention “extend the functionality of the blog posts element”, is there a hook I can use to achieve that? I can probably do the development myself but would be good to know what options are available (if any)?.

    Thanks

    Installed the market plugin.
    Plugin recognised a later version of theme available.
    Used plugin to try and update.
    Plugin then reported ‘Updating failed The theme is at the latest version
    Now Enfold ‘Theme Update’ panel shows an update is available
    Use update now button
    Update worked

    So this is resolved for now but we’ll see what happens with the next Enfold update.

    Thanks for your help. Good to know about the Envato plugin.

    in reply to: Page creator does not load #1285712
    in reply to: Is Enfold compatible with the new GA4tag? #1258862
    This reply has been marked as private.
    in reply to: Possible to allow custom essential cookie? #1219010

    Thank you. I don’t believe your proposed solution is GDPR compliant so doesn’t address my issue. I think Enfold would benefit from greater control over cookies with an option to define if a custom cookie is essential and therefore prevent Enfold from acting on it.

    To solve my issue I switched from using a cookie to sessionStorage. I would prefer more end user control but at least my site now works as expected.

    Thanks

    in reply to: Possible to allow custom essential cookie? #1215849

    I don’t think the docs answer my question. I asked how to stop enfold from blocking an essential custom cookie. If this is answered in the docs could you please explain because the docs aren’t clear.

    in reply to: Unwanted hentry css #1184298

    Thanks Victoria. Site provided in Private Content but the function I added removes the offending CSS so the error is no longer present. If my report is unclear please let know what else I can tell you.

    in reply to: Stop Background-Video at last frame and keep showing it #1178993

    I’m also looking for a way to achieve this. I have a color section with a video background that, using the various solutions mentioned in these forums no longer loops but disappears completely when playback completes. I need it to stop on the final frame.

    Any solution for this yet?

    Thanks

    in reply to: Linking to accordion from SVG #1014698

    A bit late but in case it helps someone in the future this was my solution:

    $('svg.org-chart a').on('click',function (e) {
    	e.preventDefault();
    	var $existingTab = $('.active_tc');
    	var existingTabHeight = $existingTab.height() || 0 ;
    	if (existingTabHeight) {
    		var existingTabPosition = $existingTab.offset().top;
    	} else {
    		var existingTabPosition = 0;
    	}
    	var target = $(this).attr('xlink:href');
    	var $target = $("p[data-fake-id='" + target + "']");
    	if (window.location.hash != target) {
    		$target.click();
    	}
    	var scrdis = $target.offset().top - 140
    	if (existingTabPosition < scrdis) {
    		var scrdis =scrdis- existingTabHeight;
    	}
    	$('html, body').stop().animate({
    		'scrollTop': scrdis
    	}, 900, 'swing');
    });
    in reply to: Linking to accordion from SVG #993877

    Thanks Dude but that’s not it.

    On the page I have two SVGs, one using standard href links and the other using xlink:href links. Neither work.

    Any other suggestions please?

    Thanks

    in reply to: Blog posts content element displaying pages #990271

    Can be closed. Thanks again.

    in reply to: Blog posts content element displaying pages #989773

    Thank you Victoria, those two pages had had categories added to them somehow. I will review my code to find what caused the issue but for now it is fixed.

    Thanks again. Excellent support as always.

    in reply to: Blog posts content element displaying pages #989630

    One of the pages shares the name but the other doesn’t. The commonality between the two is that both pages which are displaying IN the feed also display the feed ON them. I tried renaming the page which shares the category name and it didn’t make a difference.

    Shouldn’t it only display posts anyway? Any idea why it’s including pages at all?

    Would it be possible to write a function to override the query so it only returns posts?

    • This reply was modified 6 years, 5 months ago by Rustybucket.
    in reply to: Google Maps Platform #960434

    I’m still looking for clarity on this but I’m not sure the post Mike referenced above is correct. Google’s post https://mapsplatform.googleblog.com/2018/05/introducing-google-maps-platform.html states:

    ‘…We’re simplifying our 18 individual APIs into three core products—Maps, Routes and Places…’

    and

    ‘Beginning June 11, you’ll need a valid API key and a Google Cloud Platform billing account to access our core products. Once you enable billing, you will gain access to your $200 of free monthly usage to use for our Maps, Routes, and Places products.’

    If you then look at their new pricing page https://cloud.google.com/maps-platform/pricing/sheet/ you get 28,000 dynamic map loads per month and it’s $7 per 1000 loads thereafter. So, if you currently use 25,000 per day it’s going to cost you around $5k per month to continue using.

    Does Enfold use Dynamic Maps?

    in reply to: Google Maps Platform #951750

    Interested in this too. I just created an API key under a new Google account and Enfold doesn’t see it as valid. The key is a valid Maps JavaScript API key, it is the correct value (copied and pasted), there are no restrictions and only Yoast SEO plugin installed.

    Edit: It’s connected. Took about 3 hours to recognise the new Key.

    • This reply was modified 6 years, 7 months ago by Rustybucket.
    in reply to: Menu not displaying on tablets #883171

    Many thanks for your support but managed to resolve this.
    Thanks

    in reply to: Pagination path on custom loop #882978

    Should have thought of this before asking the question:

    		$page_string = avia_pagination($page_number_max, 'nav');
    		if ( !strpos($page_string, '/page/') ) {
    			$page_string = preg_replace("/\/\d\//", "/page$0", $page_string);
    		}
    in reply to: Menu not displaying on tablets #880623

    Hi guys, any help with this one please, looks like it’s an issue with 4.2?
    Thanks

    Sorry, posted now

Viewing 30 posts - 1 through 30 (of 108 total)