Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    I had this issue and worked out it was because one of my custom taxonomies was being registered as “theme”:

    register_taxonomy( 'theme', array('product'), $args );

    If I changed that to something like:

    register_taxonomy( 'product-theme', array('product'), $args );

    …the errors resolved.

    B

    • This reply was modified 5 years, 7 months ago by pixelanddot.

    @sayadhussain I ended up solving this. Our caching plugin (WP Rocket) was indexing index.php and this was causing issues.

    In our case, we had added…

    remove_filter('template_redirect', 'redirect_canonical');

    to the functions file and this was stopping /index.php being taken off if accessed.

    When someone visited /index.php our caching plugin was creating a cached folder called index.php and that then caused all our pages to show the homepage (but keep the correct URL).

    We ended up removing remove_filter(‘template_redirect’, ‘redirect_canonical’) and also excluding index.php specifically in the plugin.

    Hi @sayadhussain,

    I’m experiencing the same issue, did you ever find out what was causing it?

    Thanks,
    Barney

    Thread Starter pixelanddot

    (@pixelanddot)

    Hi Mark,

    Thanks for the reply. I’ve set that up and here’s what the raw XML looks like for a post:

    a:2:{s:9:"sent_date";s:19:"23:11:2016 22:07:26";s:8:"sent_xml";s:1384:"<?xml version="1.0" encoding="UTF-8"?>
    <job>
      <command>add</command>
      <username></username>
      <password></password>
      <job_title>
        <![CDATA[WordPress Developer]]>
      </job_title>
      <job_description>
        <![CDATA[This is the description of the job which can contain some <strong>HTML</strong> such as:<ul><li>A list item</li><li>Another list item</li></ul>]]>
      </job_description>
      <short_description>The job short description. This is the post excerpt.</short_description>
      <job_type>Permanent</job_type>
      <job_location>London</job_location>
      <job_industry>IT</job_industry>
      <job_skills>PHP, HTML, Javascript</job_skills>
      <job_startdate>ASAP</job_startdate>
      <application_email>bob.12345.123@smith.aplitrak.com</application_email>
      <job_reference>abc1237e4444</job_reference>
      <salary_from>25000</salary_from>
      <salary_to>30000</salary_to>
      <salary_per>year</salary_per>
      <salary_currency>gbp</salary_currency>
      <salary>Up to €30,000 plus hardware allowance.</salary>
      <contact_email>contact@domain.com</contact_email>
      <contact_tel>01234 567 890</contact_tel>
      <contact_name>John Smith</contact_name>
      <contact_url>http://compnay.com/contact/</contact_url>
      <days_to_advertise>28</days_to_advertise>
      <job_duration>6 months</job_duration>
      <job_start_date>01/01/2016</job_start_date>
    </job>";}

    It looks like it’s receiving it but then not storing it maybe? I’ve taken out my username and password for obvious reasons. The password does contain a $ though, could that be an issue? I’ve seen you raise that before.

    B

    Thread Starter pixelanddot

    (@pixelanddot)

    Hi Jack,

    Thanks, the “Welcome Email” works….I wonder why that works but not the New User one?

    Barney

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