• Hi, I need some help. Not sure when I started getting this warning:

    Warning: explode() expects parameter 2 to be string, array given in /wp-content/plugins/responsive-lightbox/includes/class-frontend.php on line 719

    It seems everything is working, except for the warning that it is printed on the site. Any of you knows:

    1) Remove this warning (the proper option)
    2) Remove the printing message from the site (no the best, but still valid)

    Thanks in advance, and happy to share the solution if any of you is having the same issue.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter luisgj

    (@luisgj)

    I did a fix that it might help, at least not to get the warning on the site.

    1) Access to the file /wp-content/plugins/responsive-lightbox/includes/class-frontend.php

    2) Change line 719 for this one:

    $include = array_unique( array_filter( array_map( ‘intval’, explode( ‘,’, (string) $shortcode_atts[‘include’] ) ) ) );

    You can check that the only change has been adding the “(string) label”

    I hope it might be of help

Viewing 1 replies (of 1 total)
  • The topic ‘Warning: explode() expects parameter 2 to be string’ is closed to new replies.