Creating an Article Error 0 Topic is solved

Did you find a bug in Joomla! 3.x but aren't sure? This forum is the place to help figure out if the problem is a bug and how to report it. If you are an experienced Joomla! user and are certain that you have found a bug please use the Bug Tracker to submit your issue.
This forum is for discussion about bugs and to get help with reporting them to the Bug Tracker: https://issues.joomla.org

Moderator: ooffick

Forum rules
Please use the official Bug Tracker to report a bug: https://issues.joomla.org
Locked
Intern01
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Fri Feb 19, 2021 10:28 am

Creating an Article Error 0

Post by Intern01 » Fri Feb 19, 2021 10:37 am

Hello everyone ..

I had this error when I want to create a new article :


An error has occurred.
0 count(): Argument #1 ($var) must be of type Countable|array, Joomla\CMS\Object\CMSObject given


Does anyone face the same error?
My information is in my profile, need some help. thanks
You do not have the required permissions to view the files attached to this post.

User avatar
ribo
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 3507
Joined: Sun Jan 03, 2010 8:47 pm
Contact:

Re: Creating an Article Error 0

Post by ribo » Fri Feb 19, 2021 10:47 am

What is your joomla version, your php version and also check if your server has enought disc space. Also you can use Forum Post Assistant to can have a better look.
chat room spontes : http://www.spontes.com

SharkyKZ
Joomla! Hero
Joomla! Hero
Posts: 2863
Joined: Fri Jul 05, 2013 10:35 am
Location: Parts Unknown

Re: Creating an Article Error 0

Post by SharkyKZ » Fri Feb 19, 2021 1:47 pm

Enable debug in Global Configuration.

Intern01
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Fri Feb 19, 2021 10:28 am

Re: Creating an Article Error 0

Post by Intern01 » Fri Feb 19, 2021 9:23 pm

ribo wrote:
Fri Feb 19, 2021 10:47 am
What is your joomla version, your php version and also check if your server has enought disc space. Also you can use Forum Post Assistant to can have a better look.
This is my information :
You do not have the required permissions to view the files attached to this post.

Intern01
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Fri Feb 19, 2021 10:28 am

Re: Creating an Article Error 0

Post by Intern01 » Fri Feb 19, 2021 9:24 pm

SharkyKZ wrote:
Fri Feb 19, 2021 1:47 pm
Enable debug in Global Configuration.

Didn't work this is what appeared when i enable it
You do not have the required permissions to view the files attached to this post.

SharkyKZ
Joomla! Hero
Joomla! Hero
Posts: 2863
Joined: Fri Jul 05, 2013 10:35 am
Location: Parts Unknown

Re: Creating an Article Error 0

Post by SharkyKZ » Fri Feb 19, 2021 9:58 pm

"Content - XCF Content Plugin" plugin is not compatible with PHP 8. Check if an update is available. If not, disable the plugin or try to manually fix the error.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17350
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Creating an Article Error 0

Post by toivo » Fri Feb 19, 2021 10:33 pm

The third party content plugin from ThemeExpert, Xpert Custom Fields, does not support PHP 8.0.2.

Was the PHP version updated recently and the message started appearing after that?

The latest version of Xpert Custom Fields (XCF) seems to be 1.0.6 from 21 October 2018, when PHP 7.2 was still current.

You can try to change the level of error reporting in Global Configuration - Server to 'None' to get rid of the PHP warning message but that does not necessarily make the plugin work correctly.
Toivo Talikka, Global Moderator

Intern01
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Fri Feb 19, 2021 10:28 am

Re: Creating an Article Error 0

Post by Intern01 » Sat Feb 20, 2021 7:24 pm

Yes the problem was the XCF when I creat it .. thanx for help everyone


Locked

Return to “Joomla! 3.x Bug Reporting”