Octopoos / SEBLOD

Build high-end websites with SEBLOD®, a CCK for Joomla!
https://www.seblod.com
GNU General Public License v2.0
129 stars 54 forks source link

Add 'jform_accesslevel' to the list of loaded field types in admin for dev fields #691

Closed olivier-nolbert closed 1 year ago

olivier-nolbert commented 1 year ago

Add the 'jform_accesslevel' field type to be loaded to avoid this error when loading a search or a type in backend :

0 call_user_func_array(): Argument #1 ($callback) must be a valid callback, class "plgCCK_Fieldjform_accesslevel" not found

sebastienheraud commented 1 year ago

Hi @olivier-nolbert,

Since the Release Preview 1 (for both install and upgrade), the "core_access" is updated to a "select_dynamic". So the "jform_accesslevel" should not be required anymore.

Running it again in upcoming rp8 with https://github.com/Octopoos/SEBLOD/commit/095054f4be2c68ae25422a85a6da3828bd3968bd.

If this issue is still there after rp8 update (or if it his triggered by something else), please let me know. So far not able to replicate.

Thanks, Saba

coolcat-creations commented 1 year ago

I have this error after upgrading:

An error has occurred.

                    <blockquote class="blockquote">
                        <span class="badge bg-secondary">0</span>
                        call_user_func_array(): Argument #1 

($callback) must be a valid callback, class "plgCCK_Fieldjform_accesslevel" not found

Call stack -- # | Function | Location 1 | () | JROOT/libraries/cck/_/cck.php:34 2 | JCck::callFunc_Array() | JROOT/libraries/cck/_/dev/field.php:80 3 | JCckDevField::get() | JROOT/libraries/cck/_/dev.php:898

what should I do?