Title: Combine processor not replacing
Last modified: May 22, 2017

---

# Combine processor not replacing

 *  Resolved [Avf](https://wordpress.org/support/users/avf/)
 * (@avf)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/combine-processor-not-replacing/)
 * Hello and thanks for this great plugin.
    My question is why when I use the combine
   processor, the result is the same name of the variable, not the contents? When
   inserting {po[1] full_html} as per instructions, it shows exactly the same {po[
   1] full_html} as output, and not the contents of po[1] full_html.

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Contributor [Tung Pham](https://wordpress.org/support/users/phamtungpth/)
 * (@phamtungpth)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/combine-processor-not-replacing/#post-9159306)
 * Hi,
 * Which version of WPPipes are you using? Is it the latest?
 * Please export your pipe and upload it onto a share host (such as [Dropbox](https://www.dropbox.com/referrals))
   then provide me the link! I will try to check how it works on my demo site!
 * Best Regards!
 *  Thread Starter [Avf](https://wordpress.org/support/users/avf/)
 * (@avf)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/combine-processor-not-replacing/#post-9161200)
 * WP version 4.7.5
    WP-Pipes version 1.25. I created a test pipe, you can download
   it from [https://1drv.ms/u/s!Aiveo2dI6XKtoWZ9LKi60ugRj4Aw](https://1drv.ms/u/s!Aiveo2dI6XKtoWZ9LKi60ugRj4Aw).
   I’ve never got the combine processor to work, for some reason (maybe a php mod
   missing from my server?). You can check the feed created by the pipe at [https://www.fontoura.com/feeds/testing.rss](https://www.fontoura.com/feeds/testing.rss)
   and notice the description is not correct, as below:
 *     ```
       		<item>
       			<title>Auditores fiscais entram em greve e fazem operação padrão nas aduanas</title>
       			<link>https://www.fontoura.com/noticias/fontes/agencia-brasil/auditores-fiscais-entram-em-greve-e-fazem-operacao-padrao-nas-aduanas/</link>
       			<description>{po[0] html}: {pi[1] html}
       {po[1] introtext}</description>
       			<dc:creator>25458156c5222d74956599335c97200e</dc:creator>
       			<guid isPermaLink="false">https://www.fontoura.com/noticias/fontes/agencia-brasil/auditores-fiscais-entram-em-greve-e-fazem-operacao-padrao-nas-aduanas/</guid>
       		</item>
       ```
   
 * Thanks again.
    Regards
    -  This reply was modified 8 years, 11 months ago by [Avf](https://wordpress.org/support/users/avf/).
    -  This reply was modified 8 years, 11 months ago by [Avf](https://wordpress.org/support/users/avf/).
    -  This reply was modified 8 years, 11 months ago by [Avf](https://wordpress.org/support/users/avf/).
 *  Plugin Contributor [Tung Pham](https://wordpress.org/support/users/phamtungpth/)
 * (@phamtungpth)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/combine-processor-not-replacing/#post-9162713)
 * Hi,
 * I run your pipe on my demo pipe and the Combine processor works. Please watch
   this [https://www.screencast.com/t/mCfwGMQaiY](https://www.screencast.com/t/mCfwGMQaiY)
 * I only removed {pi[1] html} in Combine processor because that tag is not usable.
   You could only use tags with the output fields of Source add-on and other processors.{
   pi[1] html} is the input field, not output.
 * Please check **WPPipes Requirements** in the settings page of WPPipes on your
   site!
 *  Thread Starter [Avf](https://wordpress.org/support/users/avf/)
 * (@avf)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/combine-processor-not-replacing/#post-9163515)
 * Thanks for your reply.
    That’s very interesting, even without pi it doesn’t work.
   All requirements are satisfied, however we are running php 7. Can you please 
   provide more information on the technical side of this processor, so we can know
   where to debug? Maybe the php file where the processor is. I’m thinking it could
   be an opcache issue.
 *  Plugin Contributor [Tung Pham](https://wordpress.org/support/users/phamtungpth/)
 * (@phamtungpth)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/combine-processor-not-replacing/#post-9166476)
 * Hi,
 * The Combine processor’s code is located at YOUR_PATH_SITE/wp-content/plugins/
   wp-pipes/plugins/processors/combine/combine.php file.
 * Best Regards!
 *  Thread Starter [Avf](https://wordpress.org/support/users/avf/)
 * (@avf)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/combine-processor-not-replacing/#post-9168185)
 * Thanks!
    Ok, debugging that file, I get the following error for each tag that
   should be replaced:
 * “Notice: Array to string conversion in /wp-content/plugins/wp-pipes/plugins/processors/
   combine/combine.php on line 37”
 * Line 37 is
    `if(isset($data->no_need['op'][$result[0]]->$seperate_array[1])){`
 * Any idea on what’s going on?
 *  Thread Starter [Avf](https://wordpress.org/support/users/avf/)
 * (@avf)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/combine-processor-not-replacing/#post-9168812)
 * It seems this code
 *     ```
       preg_match('/(?<=\[).*?(?=\])/i', $seperate_array[0], $result);
       if(isset($data->no_need['op'][$result[0]]->$seperate_array[1])){
       	$inputs[$matches[0][$key]] = $data->no_need['op'][$result[0]]->$seperate_array[1];
       }
       ```
   
 * is not compatible with php7.
    -  This reply was modified 8 years, 11 months ago by [Avf](https://wordpress.org/support/users/avf/).
 *  Plugin Contributor [Tung Pham](https://wordpress.org/support/users/phamtungpth/)
 * (@phamtungpth)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/combine-processor-not-replacing/#post-9178965)
 * Hi,
 * Thank you for informing!
 * I just release new version of WPPipes. With that version, I did some changes 
   in Combine processor. Hopefully it works on your PHP7.
 * Best Regards!
 *  Thread Starter [Avf](https://wordpress.org/support/users/avf/)
 * (@avf)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/combine-processor-not-replacing/#post-9180667)
 * It works now with the fix. Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Combine processor not replacing’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-pipes_baebe7.svg)
 * [WP Pipes](https://wordpress.org/plugins/wp-pipes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-pipes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-pipes/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-pipes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-pipes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-pipes/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [Avf](https://wordpress.org/support/users/avf/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/combine-processor-not-replacing/#post-9180667)
 * Status: resolved