• Hey Armando! I hope you are well!

    I recently enabled wp-debug to see if I have any errors and I noticed some warnings and notices for FL3R Feelbox, so I post them below.

    Warning: Missing argument 2 for wp_register_style(), called in /home/www/site/site.com/www/wp-content/plugins/fl3r-feelbox/feelbox.php on line 124 and defined in /home/www/site/site.com/www/wp-includes/functions.wp-styles.php on line 120

    Notice: Undefined variable: src in /home/www/site/site.com/www/wp-includes/functions.wp-styles.php on line 123

    Below are all the mentioned lines, I opened the files with Notepad++.

    Lines 123-125 of feelbox.php:

    if ( $customCSS ) {
    <strong>wp_register_style('feelbox-custom-style' );</strong>
    wp_enqueue_style('feelbox-custom-style');

    Lines 120-123 of functions.wp-styles.php:

    function wp_register_style( $handle, $src, $deps = array(), $ver = false, $media = 'all' ) {
    _wp_scripts_maybe_doing_it_wrong( __FUNCTION__ );
    return wp_styles()->add( $handle, $src, $deps, $ver, $media ); }

    Since I’m not much familiar with coding, can you please tell me what all these mean and how can they fixed?

    Please let me know.
    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author FL3R

    (@armandofiore)

    Hi catmaniax!
    I activated as you suggested wp-debug, but the error you reported is not shown. What theme do you use?

    Thread Starter catmaniax

    (@catmaniax)

    Hey!

    I’m using Arcade theme from Bavotasan.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Warnings and notices in debug mode’ is closed to new replies.