Deprecated: Joomla\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /homepages/13/d380392445/htdocs/Jlive/libraries/vendor/joomla/input/src/Input.php on line 41

Deprecated: Return type of Joomla\Input\Input::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/13/d380392445/htdocs/Jlive/libraries/vendor/joomla/input/src/Input.php on line 170
Default to Published - Macrotone Forum

Unknown Error 8192: KunenaControllerApplicationDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in libraries/kunena/controller/application/display.php on line 21


Unknown Error 8192: Automatic conversion of false to array is deprecated in libraries/kunena/route/route.php on line 437


Unknown Error 8192: ComponentKunenaControllerWidgetAnnouncementDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/widget/announcement/display.php on line 18


Unknown Error 8192: ComponentKunenaControllerTopicItemDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/item/display.php on line 25


Unknown Error 8192: Automatic conversion of false to array is deprecated in libraries/kunena/forum/category/category.php on line 415


Deprecated: DateTime::__construct(): Passing null to parameter #1 ($datetime) of type string is deprecated in /homepages/13/d380392445/htdocs/Jlive/libraries/src/Date/Date.php on line 112

Unknown Error 8192: Automatic conversion of false to array is deprecated in libraries/kunena/bbcode/bbcode.php on line 107

Default to Published


Unknown Error 8192: ComponentKunenaControllerTopicItemActionsDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/item/actions/display.php on line 23


Unknown Error 8192: ComponentKunenaControllerTopicPollDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/poll/display.php on line 21


Unknown Error 8192: ComponentKunenaControllerTopicItemMessageDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/item/message/display.php on line 23

7 years 10 months ago #1 by jhummel
Default to Published was created by jhummel
I have Issue Tracker 1.6.11 installed on a Joomla 3.5.1 site. I've set the Issue Defaults to default new issues to the "Published" state in the component configuration (see attachment 1). However, the new issue form always shows "Unpublished" upon issue creation requiring users to manually change the state to Published (see attachment 2). Is this a result of some other setting I don't have configured correctly? Please advise.

Thank you
Attachments:

Unknown Error 8192: ComponentKunenaControllerMessageItemActionsDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/message/item/actions/display.php on line 25

Please Log in or Create an account to join the conversation.

7 years 10 months ago #2 by geoffc
Replied by geoffc on topic Default to Published
Let me carry out a few tests. Usually the published state isn't displayed and then the default is definitely used, but I am wondering if there is an undocumented features at work here so want to test it out before replying, which will probably be tomorrow.

Regards
Geoff

Please Log in or Create an account to join the conversation.

7 years 10 months ago #3 by geoffc
Replied by geoffc on topic Default to Published
I can see what the problem is. [ I found a little problem displaying images in this forum where the image suffix is uppercase as well which delayed me a little. One to look at later.]

Your settings are correct.

When an issue is created in the front end usually the 'published' field is not displayed, to 'most' users, then when the issue is saved the 'default published' state gets applied.

However when an issue admin or staff member is raising an issue they are presented with the published field and it is then that the component default is not set correctly. Now to work out a fix.

Regards
Geoff
The following user(s) said Thank You: jhummel

Please Log in or Create an account to join the conversation.

7 years 10 months ago #4 by jhummel
Replied by jhummel on topic Default to Published
Thank you for looking into this. I will await your solution.

Also, I did notice the image issue in my initial post. That is good to know as I run the same forum component on my site.

Please Log in or Create an account to join the conversation.

7 years 10 months ago #5 by geoffc
Replied by geoffc on topic Default to Published

Unknown Error 8192: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2263

OK Here is the fix. It will be included in the next version but if you want to fix it on your own site here goes.

In the file site/components/com_issuetracker/views/form/view.html.php add the following after line 146
      $def_published = $this->state->params->get('def_published', 0);
      $this->form->setFieldAttribute('state', 'default',     $def_published);

Tested out OK on my systems.

Regards
Geoff
The following user(s) said Thank You: jhummel

Please Log in or Create an account to join the conversation.

7 years 10 months ago - 7 years 10 months ago #6 by geoffc
Replied by geoffc on topic Default to Published

Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2115


Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2115


Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2022


Unknown Error 8192: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in libraries/kunena/external/nbbc/src/BBCode.php on line 2070

There is something definitely funny about images with an uppercase suffix. I have temporarily altered the database kunena_attachments table to change the filename to lowercase and also renamed the file in the images/kunena/postid/* directory and they now display OK.

Possible something in the htaccess file although I am not convinced.

Regards
Geoff

Please Log in or Create an account to join the conversation.

Time to create page: 0.159 seconds
Go To Top

Joomla! Debug Console

Session

Profile Information

Memory Usage

Database Queries