Title: Deprecated ERRORs without end
Last modified: May 19, 2025

---

# Deprecated ERRORs without end

 *  Resolved [meinService](https://wordpress.org/support/users/meinservice/)
 * (@meinservice)
 * [1 year ago](https://wordpress.org/support/topic/deprecated-errors-without-end/)
 *     ```wp-block-code
       query-monitor.js:403  {key: 'a81a726c4003f34455610426f0eccf16', type: 'deprecated', message: 'Use of "parent" in callables is deprecated', file: 'wp-content/plugins/simple-lightbox/includes/class.options.php', line: 501, …}component: "Plugin: simple-lightbox"file: "wp-content/plugins/simple-lightbox/includes/class.options.php"key: "a81a726c4003f34455610426f0eccf16"line: 501message: "Use of \"parent\" in callables is deprecated"stack: (11) ['SLB_Options->add()', 'SLB_Field_Collection->add_items()', 'SLB_Field_Collection->load()', 'SLB_Base->_set_options()', 'SLB_Lightbox->_options()', 'SLB_Base->_init()', 'SLB_Lightbox->_init()', 'SLB_Base->__construct()', 'SLB_Lightbox->__construct()', 'slb_init()', "do_action('init')"]type: "deprecated"[[Prototype]]: Object
       ```
   
    1. Object
    2.  a. **component**: “Plugin: simple-lightbox”
        b. **file**: “wp-content/plugins/simple-lightbox/includes/class.options.php”
        c. **key**: “a81a726c4003f34455610426f0eccf16”
        d. **line**: 501
        e. **message**: “Use of \”parent\” in callables is deprecated”
        f. **stack**: (11) [‘SLB_Options->add()’, ‘SLB_Field_Collection->add_items()’,‘
           SLB_Field_Collection->load()’, ‘SLB_Base->_set_options()’, ‘SLB_Lightbox->_options()’,‘
           SLB_Base->_init()’, ‘SLB_Lightbox->_init()’, ‘SLB_Base->__construct()’, ‘SLB_Lightbox-
           >__construct()’, ‘slb_init()’, “do_action(‘init’)”]
        g. **type**: “deprecated”
        h. [Prototype](https://codex.wordpress.org/Prototype): Object

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [meinService](https://wordpress.org/support/users/meinservice/)
 * (@meinservice)
 * [1 year ago](https://wordpress.org/support/topic/deprecated-errors-without-end/#post-18473040)
 * sing ${var} in strings is deprecated, use {$var} instead
 *  [ivydev](https://wordpress.org/support/users/pinkivy/)
 * (@pinkivy)
 * [8 months ago](https://wordpress.org/support/topic/deprecated-errors-without-end/#post-18665597)
 * Yes, I get more than one deprecated error per second from this plugin! Can the
   author please fix the deprecated code?
 *  [pedjas](https://wordpress.org/support/users/pedjas/)
 * (@pedjas)
 * [5 months, 3 weeks ago](https://wordpress.org/support/topic/deprecated-errors-without-end/#post-18751640)
 * Go to line 501 and replace 
   ` $ret = call_user_func_array( array( 'parent', '
   add' ), $args );`
 * with
   `$ret = call_user_func_array( array( parent::class, 'add' ), $args );`
    -  This reply was modified 5 months, 3 weeks ago by [pedjas](https://wordpress.org/support/users/pedjas/).
    -  This reply was modified 5 months, 3 weeks ago by [pedjas](https://wordpress.org/support/users/pedjas/).
 *  Thread Starter [meinService](https://wordpress.org/support/users/meinservice/)
 * (@meinservice)
 * [5 months, 3 weeks ago](https://wordpress.org/support/topic/deprecated-errors-without-end/#post-18752604)
 * THX

Viewing 4 replies - 1 through 4 (of 4 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdeprecated-errors-without-end%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-lightbox.svg)
 * [Simple Lightbox](https://wordpress.org/plugins/simple-lightbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-lightbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-lightbox/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-lightbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-lightbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-lightbox/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [meinService](https://wordpress.org/support/users/meinservice/)
 * Last activity: [5 months, 3 weeks ago](https://wordpress.org/support/topic/deprecated-errors-without-end/#post-18752604)
 * Status: resolved