Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Using ?publisher_status=draft won’t show the page or shows weird template

Status Resolved
Add-on / Version Publisher 1.6.2
Severity
EE Version 1.9.2

LouWii D.

Apr 09, 2015

Hi,

We have a weird issue on a website when we use ?publisher_status=draft in the URL to look at a draft

On some cases, the page would just timeout :
http://lucistru.nextmp.net/arcane_school/introduction/esoteric_training?publisher_status=draft

So we made a very tiny template :

{exp:channel:entries entry_id="23318" publisher_fields="y" limit="1"}

{title}<br>

{if has_translation}has translation{/if}
This is some text
{/exp:channel:entries}

And the page HTML is weird
http://lucistru.nextmp.net/site/default_test?publisher_status=draft

A self-made man
 how he made
<del>it<br>This</del><ins>it<br>


This</ins> is some text

And this is only for drafts, open entries are working properly.

So I tested a local copy of the website, and I don’t get a timeout but I get

( ! ) Fatal error: Maximum function nesting level of '100' reached, aborting! in /Applications/MAMP/htdocs/HopStudios/LucisTrust/contentzsystem/codeigniter/system/core/Common.php on line 392
Call Stack
# Time Memory Function Location
1 0.0013 680376 {main}( ) ../index.php:0
2 0.0024 759200 require_once( '/Applications/MAMP/htdocs/HopStudios/LucisTrust/contentzsystem/codeigniter/system/core/CodeIgniter.php' ) ../index.php:190
3 2.0220 19031208 call_user_func_array:{/Applications/MAMP/htdocs/HopStudios/LucisTrust/contentzsystem/codeigniter/system/core/CodeIgniter.php:329} ( ) ../CodeIgniter.php:329
4 2.0220 19031288 EE->index( ) ../CodeIgniter.php:329
5 2.0221 19031336 EE_Core->generate_page( ) ../ee.php:68
6 2.0351 20746448 EE_Template->run_template_engine( ) ../Core.php:709
7 2.0351 20746496 EE_Template->fetch_and_parse( ) ../Template.php:159
8 2.4746 29130208 EE_Template->parse( ) ../Template.php:211
9 2.5109 29956696 EE_Template->process_sub_templates( ) ../Template.php:556
10 2.5112 29961176 EE_Template->fetch_and_parse( ) ../Template.php:884
11 3.0121 47266312 EE_Extensions->call( ) ../Template.php:224
12 3.0121 47267816 call_user_func_array:{/Applications/MAMP/htdocs/HopStudios/LucisTrust/contentzsystem/expressionengine/libraries/Extensions.php:119} ( ) ../Extensions.php:119
13 3.0121 47268480 EE_Extensions->universal_call( ) ../Extensions.php:119
14 3.0127 47272312 call_user_func_array:{/Applications/MAMP/htdocs/HopStudios/LucisTrust/contentzsystem/expressionengine/libraries/Extensions.php:258} ( ) ../Extensions.php:258
15 3.0127 47272400 Publisher_ext->template_post_parse( ) ../Extensions.php:258
16 3.0134 47272480 Publisher_diff->parse( ) ../ext.publisher.php:1231
17 3.3001 47427224 EE_Template->parse( ) ../Publisher_diff.php:154
18 3.8401 50068664 EE_Template->process_sub_templates( ) ../Template.php:556
19 3.8404 50073632 EE_Template->fetch_and_parse( ) ../Template.php:884
20 3.8600 50029224 EE_Extensions->call( ) ../Template.php:224
21 3.8600 50030784 call_user_func_array:{/Applications/MAMP/htdocs/HopStudios/LucisTrust/contentzsystem/expressionengine/libraries/Extensions.php:119} ( ) ../Extensions.php:119
22 3.8600 50031448 EE_Extensions->universal_call( ) ../Extensions.php:119
23 3.8607 50035672 call_user_func_array:{/Applications/MAMP/htdocs/HopStudios/LucisTrust/contentzsystem/expressionengine/libraries/Extensions.php:258} ( ) ../Extensions.php:258
24 3.8608 50035760 Publisher_ext->template_post_parse( ) ../Extensions.php:258
25 3.8623 50035840 Publisher_diff->parse( ) ../ext.publisher.php:1231
26 3.8624 50055648 EE_Template->parse( ) ../Publisher_diff.php:154
27 4.3176 50387704 EE_Template->process_sub_templates( ) ../Template.php:556
28 4.3179 50392672 EE_Template->fetch_and_parse( ) ../Template.php:884
29 4.3357 50310912 EE_Extensions->call( ) ../Template.php:224
30 4.3357 50312472 call_user_func_array:{/Applications/MAMP/htdocs/HopStudios/LucisTrust/contentzsystem/expressionengine/libraries/Extensions.php:119} ( ) ../Extensions.php:119
31 4.3357 50313136 EE_Extensions->universal_call( ) ../Extensions.php:119
32 4.3361 50317360 call_user_func_array:{/Applications/MAMP/htdocs/HopStudios/LucisTrust/contentzsystem/expressionengine/libraries/Extensions.php:258} ( ) ../Extensions.php:258
33 4.3361 50317448 Publisher_ext->template_post_parse( ) ../Extensions.php:258
34 4.3367 50317528 Publisher_diff->parse( ) ../ext.publisher.php:1231
35 4.3368 50337336 EE_Template->parse( ) ../Publisher_diff.php:154
36 4.7561 50669256 EE_Template->process_sub_templates( ) ../Template.php:556
37 4.7564 50674224 EE_Template->fetch_and_parse( ) ../Template.php:884
38 4.7733 50593464 EE_Extensions->call( ) ../Template.php:224
39 4.7733 50595024 call_user_func_array:{/Applications/MAMP/htdocs/HopStudios/LucisTrust/contentzsystem/expressionengine/libraries/Extensions.php:119} ( ) ../Extensions.php:119
40 4.7733 50595688 EE_Extensions->universal_call( ) ../Extensions.php:119
41 4.7737 50599912 call_user_func_array:{/Applications/MAMP/htdocs/HopStudios/LucisTrust/contentzsystem/expressionengine/libraries/Extensions.php:258} ( ) ../Extensions.php:258
42 4.7737 50600000 Publisher_ext->template_post_parse( ) ../Extensions.php:258
43 4.7744 50600080 Publisher_diff->parse( ) ../ext.publisher.php:1231
44 4.7745 50619888 EE_Template->parse( ) ../Publisher_diff.php:154
45 5.1893 50950512 EE_Template->process_sub_templates( ) ../Template.php:556
46 5.1896 50955480 EE_Template->fetch_and_parse( ) ../Template.php:884
47 5.2103 50874352 EE_Extensions->call( ) ../Template.php:224
48 5.2104 50875912 call_user_func_array:{/Applications/MAMP/htdocs/HopStudios/LucisTrust/contentzsystem/expressionengine/libraries/Extensions.php:119} ( ) ../Extensions.php:119
49 5.2104 50876576 EE_Extensions->universal_call( ) ../Extensions.php:119
50 5.2108 50880800 call_user_func_array:{/Applications/MAMP/htdocs/HopStudios/LucisTrust/contentzsystem/expressionengine/libraries/Extensions.php:258} ( ) ../Extensions.php:258
51 5.2108 50880888 Publisher_ext->template_post_parse( ) ../Extensions.php:258
52 5.2115 50880968 Publisher_diff->parse( ) ../ext.publisher.php:1231
53 5.2116 50900776 EE_Template->parse( ) ../Publisher_diff.php:154
54 5.6694 51234016 EE_Template->process_sub_templates( ) ../Template.php:556
55 5.6697 51238984 EE_Template->fetch_and_parse( ) ../Template.php:884
56 5.6908 51158344 EE_Extensions->call( ) ../Template.php:224
57 5.6908 51159920 call_user_func_array:{/Applications/MAMP/htdocs/HopStudios/LucisTrust/contentzsystem/expressionengine/libraries/Extensions.php:119} ( ) ../Extensions.php:119
58 5.6909 51160592 EE_Extensions->universal_call( ) ../Extensions.php:119
59 5.6914 51165240 call_user_func_array:{/Applications/MAMP/htdocs/HopStudios/LucisTrust/contentzsystem/expressionengine/libraries/Extensions.php:258} ( ) ../Extensions.php:258
60 5.6914 51165328 Publisher_ext->template_post_parse( ) ../Extensions.php:258
61 5.6923 51165408 Publisher_diff->parse( ) ../ext.publisher.php:1231
62 5.6924 51185840 EE_Template->parse( ) ../Publisher_diff.php:154
63 6.1712 51519424 EE_Template->process_sub_templates( ) ../Template.php:556
64 6.1715 51524392 EE_Template->fetch_and_parse( ) ../Template.php:884
65 6.1926 51442936 EE_Extensions->call( ) ../Template.php:224
66 6.1927 51444528 call_user_func_array:{/Applications/MAMP/htdocs/HopStudios/LucisTrust/contentzsystem/expressionengine/libraries/Extensions.php:119} ( ) ../Extensions.php:119
67 6.1927 51445264 EE_Extensions->universal_call( ) ../Extensions.php:119
68 6.1931 51450360 call_user_func_array:{/Applications/MAMP/htdocs/HopStudios/LucisTrust/contentzsystem/expressionengine/libraries/Extensions.php:258} ( ) ../Extensions.php:258
69 6.1931 51450448 Publisher_ext->template_post_parse( ) ../Extensions.php:258
70 6.1937 51450528 Publisher_diff->parse( ) ../ext.publisher.php:1231
71 6.1938 51471368 EE_Template->parse( ) ../Publisher_diff.php:154
72 6.6695 51804472 EE_Template->process_sub_templates( ) ../Template.php:556
73 6.6697 51809560 EE_Template->fetch_and_parse( ) ../Template.php:884
74 6.6907 51727968 EE_Extensions->call( ) ../Template.php:224
75 6.6907 51729560 call_user_func_array:{/Applications/MAMP/htdocs/HopStudios/LucisTrust/contentzsystem/expressionengine/libraries/Extensions.php:119} ( ) ../Extensions.php:119
76 6.6907 51730312 EE_Extensions->universal_call( ) ../Extensions.php:119
77 6.6911 51735232 call_user_func_array:{/Applications/MAMP/htdocs/HopStudios/LucisTrust/contentzsystem/expressionengine/libraries/Extensions.php:258} ( ) ../Extensions.php:258
78 6.6911 51735320 Publisher_ext->template_post_parse( ) ../Extensions.php:258
79 6.6918 51735408 Publisher_diff->parse( ) ../ext.publisher.php:1231
80 6.6919 51755728 EE_Template->parse( ) ../Publisher_diff.php:154
81 6.8196 51769424 EE_Template->tags( ) ../Template.php:508
82 6.8307 51796520 EE_Template->process_tags( ) ../Template.php:1231
83 6.8425 51922304 Channel->entries( ) ../Template.php:1620
84 6.8512 52051648 Channel->parse_channel_entries( ) ../mod.channel.php:314
85 6.8526 51878328 EE_Channel_parser->parse( ) ../mod.channel.php:2348
86 6.8526 51879288 EE_Channel_parser->pre_parser( ) ../Channel_entries_parser.php:201
87 6.8526 51881168 EE_Channel_preparser->__construct( ) ../Channel_entries_parser.php:237
88 6.8678 51893736 EE_Channel_relationship_parser->pre_process( ) ../Preparser.php:114
89 6.8680 51894056 EE_Relationships_parser->create( ) ../Relationship.php:77
90 6.8680 51897104 EE_relationship_tree_builder->build_tree( ) ../Relationships_parser.php:137
91 6.8686 51917488 Relationship_model->node_query( ) ../Tree_builder.php:139
92 6.8686 51917816 Relationship_model->_run_node_query( ) ../relationship_model.php:52
93 6.8714 51922632 EE_Extensions->call( ) ../relationship_model.php:182
94 6.8715 51925528 call_user_func_array:{/Applications/MAMP/htdocs/HopStudios/LucisTrust/contentzsystem/expressionengine/libraries/Extensions.php:119} ( ) ../Extensions.php:119
95 6.8715 51926320 EE_Extensions->universal_call( ) ../Extensions.php:119
96 6.8715 51926672 EE_Loader->library( ) ../Extensions.php:154
97 6.8715 51926768 CI_Loader->library( ) ../EE_Loader.php:98
98 6.8715 51926768 CI_Loader->_ci_load_class( ) ../Loader.php:138
99 6.8720 51928072 log_message( ) ../Loader.php:890

The tiny template is the same

A self-made man
 how he made
<del>it<br>This</del><ins>it<br>


This</ins> is some text

I’d be happy to give you more information if needed. I tried to debug it but I didn’t find the source of it and I don’t know where to look.

#1

BoldMinded (Brian)

Looks like it has something to do with using the diffs. If you disable diffs does it load fine?

#2

LouWii D.

I disabled Diff on Front-End and they now loads. Cool ! I don’t think we need it on front-end so that’s OK for me now. But if you want more information I can make some tests.

Login to reply