Git Product home page Git Product logo

Comments (2)

eri-trabiccolo avatar eri-trabiccolo commented on July 18, 2024

Testing this with php 8.0 because of https://github.com/gocodebox/private-issues/issues/46 the way we call the apply_filters_deprecated throws a Fatal Error:

[28-Sep-2021 09:38:38 UTC] PHP Warning:  Undefined array key 0 in /shared/httpd/mywp/wordpress.git/wp-includes/plugin.php on line 233
[28-Sep-2021 09:38:38 UTC] PHP Fatal error:  Uncaught Error: Unknown named parameter $layout in /shared/httpd/mywp/wordpress.git/wp-includes/class-wp-hook.php:303
Stack trace:
#0 /shared/httpd/mywp/wordpress.git/wp-includes/plugin.php(233): WP_Hook->apply_filters(NULL, Array)
#1 /shared/httpd/mywp/wordpress.git/wp-includes/plugin.php(656): apply_filters_ref_array('llms_get_quiz_t...', Array)
#2 /Users/LjubaDavie/rock-dev/Dev/plugins/lifterlms/includes/functions/llms.functions.quiz.php(140): apply_filters_deprecated('llms_get_quiz_t...', Array, '3.17.6')
#3 /Users/LjubaDavie/rock-dev/Dev/plugins/lifterlms/includes/models/model.llms.quiz.php(253): llms_get_quiz_theme_setting('layout')
#4 /Users/LjubaDavie/rock-dev/Dev/plugins/lifterlms/includes/abstracts/abstract.llms.post.model.php(1471): LLMS_Quiz->toArrayAfter(Array)
#5 /Users/LjubaDavie/rock-dev/Dev/plugins/lifterlms/includes/models/model.llms.lesson.php(551): LLMS_Post_Model->toArray()
#6 /Users/LjubaDavie/rock-dev/Dev/plugins/lifterlms/includes/abstracts/abstract.llms.post.model.php(1471): LLMS_Lesson->toArrayAfter(Array)
#7 /Users/LjubaDavie/rock-dev/Dev/plugins/lifterlms/includes/models/model.llms.section.php(258): LLMS_Post_Model->toArray()
#8 /Users/LjubaDavie/rock-dev/Dev/plugins/lifterlms/includes/abstracts/abstract.llms.post.model.php(1471): LLMS_Section->toArrayAfter(Array)
#9 /Users/LjubaDavie/rock-dev/Dev/plugins/lifterlms/includes/models/model.llms.course.php(734): LLMS_Post_Model->toArray()
#10 /Users/LjubaDavie/rock-dev/Dev/plugins/lifterlms/includes/abstracts/abstract.llms.post.model.php(1471): LLMS_Course->toArrayAfter(Array)
#11 /Users/LjubaDavie/rock-dev/Dev/plugins/lifterlms/includes/admin/class.llms.admin.builder.php(619): LLMS_Post_Model->toArray()
#12 /Users/LjubaDavie/rock-dev/Dev/plugins/lifterlms/includes/admin/class.llms.admin.menus.php(264): LLMS_Admin_Builder::output()
#13 /shared/httpd/mywp/wordpress.git/wp-includes/class-wp-hook.php(303): LLMS_Admin_Menus->builder_init('')
#14 /shared/httpd/mywp/wordpress.git/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
#15 /shared/httpd/mywp/wordpress.git/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
#16 /shared/httpd/mywp/wordpress.git/wp-admin/admin.php(259): do_action('admin_page_llms...')
#17 {main}

from lifterlms-labs.

eri-trabiccolo avatar eri-trabiccolo commented on July 18, 2024

fixed via #44, released with #39

from lifterlms-labs.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.