Support » Plugin: Text Replace » Error with empty lines – line 404 in @package C2C_Plugins

  • Resolved jramoscarmenates

    (@jramoscarmenates)


    Hi, this plugins is excellent, thank you for your time.

    I fixed the error when “Text Replace Settings” Text contain empty lines and I said my solution.

    In “@package C2C_Plugins” add condition after:
    foreach ( explode( "\n", $val ) AS $line ) {

    condition can be:
    if ( trim($line) != '' ){

    I hope help.

    Jose Carlos Ramos Carmenates

    https://wordpress.org/plugins/text-replace/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Error with empty lines – line 404 in @package C2C_Plugins’ is closed to new replies.