• Resolved krut1

    (@krut1)


    I am using PRO version of ypur plugin. I have a lot of PHP-warnings in LOG:

    [12-May-2020 11:01:48 UTC] PHP Warning: trim() expects parameter 1 to be string, array given in /wordpress/wp-content/plugins/woo-variation-swatches-pro/woo-variation-swatches-pro.php on line 109

    On this line you are checking the licence key:

    $license_key = trim( woo_variation_swatches()->get_option( 'license_key' ) );

    But the problem is, that the license_key is stored as array:

    Array ( [license_key] => Array ( [id] => license_key [type] => string [value] => ... ) )

    Could you please fi it?

Viewing 1 replies (of 1 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    I am using PRO version of ypur plugin.

    I’m sorry but the author cannot help you here. They are not allowed to.

    For pro or commercial product support please contact the author directly on their site. This includes any pre-sales topics as well.

    As the author is aware, commercial products are not supported in these forums. I am sure they will have no problem supporting you there.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Warning: trim() expects parameter 1 to be string, array given’ is closed to new replies.