• Hi,

    I had installed this plugin in wordpress 5.8 and getting below error at plugin page.

    Warning:  strpos() expects parameter 1 to be string, array given in D:\xampp\htdocs\stsergius\wp-includes\shortcodes.php on line 209
    
    Warning:  preg_match_all() expects parameter 2 to be string, array given in D:\xampp\htdocs\stsergius\wp-includes\shortcodes.php on line 218
    
    Warning:  array_intersect(): Expected parameter 2 to be an array, null given in D:\xampp\htdocs\stsergius\wp-includes\shortcodes.php on line 219
    
    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'load_msgs' not found or invalid function name in D:\xampp\htdocs\stsergius\wp-includes\class-wp-hook.php on line 303

    Can you please help me out.

    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author luckychingi

    (@luckychingi)

    Hello @supplesumit

    These aren’t errors but warnings and does not affect the functionality of the plugin.

    Have you enabled WP_DEBUG in the wp-config.php file?
    If yes, disable it and you won’t see these errors.

    Thread Starter supplesumit

    (@supplesumit)

    Hi Lucky,

    I like your plugin and concepet. And needed this plugin.

    In config WP_DEBUG is disabled and still showing warning message in admin area. Also wordpress show warning and suggesion below line.

    Warning: strpos() expects parameter 1 to be string, array given in D:\xampp\htdocs\wpdemo\wp-includes\shortcodes.php on line 209
    
    Warning: preg_match_all() expects parameter 2 to be string, array given in D:\xampp\htdocs\wpdemo\wp-includes\shortcodes.php on line 218
    
    Warning: array_intersect(): Expected parameter 2 to be an array, null given in D:\xampp\htdocs\wpdemo\wp-includes\shortcodes.php on line 219
    
    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'load_msgs' not found or invalid function name in D:\xampp\htdocs\wpdemo\wp-includes\class-wp-hook.php on line 303

    The plugin generated 512 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

    Can you please help me.

    Thanks

    Plugin Author luckychingi

    (@luckychingi)

    I’ll take a look.

    Can you tell me the theme and editor that you are using?

    Thread Starter supplesumit

    (@supplesumit)

    Hi Lucky,

    I am using default Twenty Twenty-One theme and gutenburg editor for CMS.

    Thank you so much for kind help.

    Plugin Author luckychingi

    (@luckychingi)

    Hello @supplesumit

    Please upgrade the plugin and let me know if there are any issues.

    Thread Starter supplesumit

    (@supplesumit)

    Hello Lucky,

    Thank you so much for help. Its working perfectly only issue I am facing to edit and delete shorcode in shortcode generator page.

    Thanks

    Plugin Author luckychingi

    (@luckychingi)

    @supplesumit

    Is there an error?

    Thread Starter supplesumit

    (@supplesumit)

    Hi @luckychingi,

    We are facing issue to delete or edit shortcode. And other things are all fine.

    Thanks

    Plugin Author luckychingi

    (@luckychingi)

    @supplesumit

    Can you contact me using the form on my website?

    I have a demo site where we can test together

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Getting Error’ is closed to new replies.