gjbarnard / moodle-format_grid

Grid course format contributed by Gareth J Barnard originally created by Paul Krix
GNU General Public License v3.0
21 stars 55 forks source link

format_base deprecated in Moodle 4.0 #151

Closed nwp90 closed 2 years ago

nwp90 commented 3 years ago

Not sure whether 4.0 will be the first release in which this is deprecated, but in current master (dev for 4.0), the following is logged:

[14-Oct-2021 15:05:57 Pacific/Auckland] Debugging: Class 'format_base' has been renamed for the autoloader and is now deprecated. Please use 'core_courseformat\base' instead. in

There might well be more warnings once that one is fixed - happy to help fix, if you have a branch or otherwise know how you'd like to manage the relevant code.

gjb2048 commented 3 years ago

@nwp90 Thanks for the offer of help, its a bit more complex than that -> https://docs.moodle.org/dev/Moodle_4.0_developer_update#The_core_courseformat_subsystem - currently a moving goal post. Currently spent around 3 days already on Collapsed Topics refactoring so that its in a state to begin even contemplating this. Watch this space with Grid,

nwp90 commented 3 years ago

Yep, we're trying to get into a position where we can hit the moving target as soon as it stops moving, so going through all the deprecation warnings and trying to work on them as they crop up, as well as identifying anything that's actually broken (it's much harder to see what's going on with all the deprecation warnings getting in the way ;) )

aspark21 commented 2 years ago

Hi Gareth @gjb2048 ,

Just wondering what your current thinking is about format_grid and 4.0:

Is it feasible? A lot of effort involved? Blockers in core? Needs funding?

Al

gjb2048 commented 2 years ago

Dear Alistair,

Thanks for asking, thinking about this at the moment as complex and have been learning new skills to potentially shine a light on the answers to your questions.

Kind regards,

Gareth

gjb2048 commented 2 years ago

@aspark21 As M4.0 version has now been created, this is not an issue.

octavio-meneghetti commented 3 months ago

estoy instalando la version 4.4.1 de moodle y me salta este error y no abre ni el administrador Error Excepción - Class "format_base" not found alguien sabe como arreglarlo?

I'm installing version 4.4.1 of Moodle and I'm encountering this error which prevents the admin from opening:

Error Exception - Class "format_base" not found

Does anyone know how to fix it?

gjb2048 commented 3 months ago

@octavio-meneghetti What version of Grid?

octavio-meneghetti commented 3 months ago

No se y ya no puedo entrar como la descubro?

gjb2048 commented 3 months ago

@octavio-meneghetti Look in course/format/grid/version.php.

octavio-meneghetti commented 3 months ago

// Plugin version. $plugin->version = 2021102703;

octavio-meneghetti commented 3 months ago

la renombré a la carpeta de grid pero no dio resultado

gjb2048 commented 3 months ago

@octavio-meneghetti That's the version for Moodle 4.0, install the version for Moodle 4.4 -> https://moodle.org/plugins/format_grid/404.1.0/32324.

gjb2048 commented 3 months ago

@octavio-meneghetti When you have the code, follow https://github.com/gjbarnard/moodle-format_grid/blob/main/Readme.md#upgrade-instructions.