• Resolved AdrianFx

    (@adrianfx)


    Error found in v1.8.4 in file:
    cluevo-lms\functions\functions.utilities.inc.php line 1025.

    
    if (!array_key_exists($d, $item->dependencies->modules->all)) {
    

    should be replaced with

    
    if(!property_exists($item->dependencies->modules->all, $d)) {
    

    https://www.php.net/manual/en/function.array-key-exists.php <- check deprecation notes.

    Fixing this made the plugin work for me.
    I’m using with PHP 8.0.5 (forced to update by the host) and WP 6.0.2.

Viewing 1 replies (of 1 total)
  • Plugin Author eliasatcluevo

    (@eliasatcluevo)

    Hello AdrianFx,

    thank you for bringing this to our attention. We will fix it for future versions.

    Best,
    Elias

Viewing 1 replies (of 1 total)
  • The topic ‘Error and Fix with PHP 8 using plugin v1.8.4’ is closed to new replies.