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

  • Resolved 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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.