Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Frank Goossens

    (@futtta)

    Hi Lucia;
    “cannot use output buffering” is usually due to a conflict with another plugin (e.g. when also using W3 total cache and having that do minimizing as well). does that page by any chance trigger a specific plugin?

    frank

    Thread Starter luciapuebla

    (@luciapuebla)

    Hi Frank,

    thank you for your support.

    I have deactivated all plugins and activate one by one.

    The problem is with the jetpack plugin.

    Regards

    Plugin Author Frank Goossens

    (@futtta)

    Ah, JetPack, the meta-plugin. In that case; is there any specific JetPack-functionality active on that page? Can you systematically disable/ enable JetPack features?

    You could, alternatively, disable AO on that page by adding something like this piece of code in a seperate plugin (or in your theme’s functions.php, but it could get overwritten there);

    add_filter('autoptimize_filter_noptimize','lucia_ao_noptimize',10,0);
    function lucia_ao_noptimize() {
    	if (strpos($_SERVER['REQUEST_URI'],'some-words-from-page-url')!==false) {
    		return true;
    	} else {
    		return false;
    	}
    }

    Where you would have to replace “some-words-from-page-url” with a string which really makes sense.

    Hope this helps,
    frank

    Thread Starter luciapuebla

    (@luciapuebla)

    The problem occurs inly in this post, and it happens with some features of Jetpack plugin, like stats for example.

    Plugin Author Frank Goossens

    (@futtta)

    very weird; stats is used on every page. there very probably is something very specific in this page that triggers specific jetpack functionality which is not to be found elsewhere.

    Thread Starter luciapuebla

    (@luciapuebla)

    If I put the filter for this psot in the functions file, it will filter automatically, or do I have to put more code in other site?

    Because of the problem is only with https://luciapuebla.com/sorteo-%E2%99%A1-cumple-blog/ I’d like to disable AO only in this page.

    Thanks

    Plugin Author Frank Goossens

    (@futtta)

    adding it to the functions.php will be enough (but in that case you’ll have to take care to re-add this when updating your theme), you can replace “some-words-from-page-url” with “-cumple-blog”.

    Thread Starter luciapuebla

    (@luciapuebla)

    Thank you so much!!

    Now it works whit Jetpack features ??

    Plugin Author Frank Goossens

    (@futtta)

    You’re welcome!

    frank

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Fatal Error’ is closed to new replies.