• We enabled debug log and we are seeing a large number of errors from the multiple domain mapping plugin.

    The errors all look like this:
    [31-Oct-2018 13:14:28 UTC] PHP Notice: Undefined offset: 0 in /home/tedpenne/public_html/wp-content/plugins/multiple-domain-mapping-on-single-site/multidomainmapping.php on line 149
    [31-Oct-2018 13:14:28 UTC] PHP Notice: Undefined offset: 1 in /home/tedpenne/public_html/wp-content/plugins/multiple-domain-mapping-on-single-site/multidomainmapping.php on line 149
    [31-Oct-2018 13:14:28 UTC] PHP Notice: Undefined offset: 2 in /home/tedpenne/public_html/wp-content/plugins/multiple-domain-mapping-on-single-site/multidomainmapping.php on line 149
    [31-Oct-2018 13:14:28 UTC] PHP Notice: Undefined offset: 3 in /home/tedpenne/public_html/wp-content/plugins/multiple-domain-mapping-on-single-site/multidomainmapping.php on line 149
    [31-Oct-2018 13:14:28 UTC] PHP Notice: Undefined offset: 4 in /home/tedpenne/public_html/wp-content/plugins/multiple-domain-mapping-on-single-site/multidomainmapping.php on line 149
    [31-Oct-2018 13:14:28 UTC] PHP Notice: Undefined offset: 5 in /home/tedpenne/public_html/wp-content/plugins/multiple-domain-mapping-on-single-site/multidomainmapping.php on line 149

    The loop that is throwing the error starts like this:
    foreach($falke_mdm_domains as $key => $val){
    if($falke_mdm_destinations[$key]){

    The second line is generating the error.
    Please help.

    We are on php 7.2

Viewing 1 replies (of 1 total)
  • Plugin Author matthias.wagner

    (@matthiaswagner)

    hello,

    thanks for getting in touch ?? these are notices that result of some not really clean code by us and may be related to mappings that have been removed. do you experience any issues with the functionality? if no, i would recommend you to dismiss it. we will publish way better code in one of the next updates where such things will be fixed.

    if you have issues with the functionality i would recommend you to remove the mappings one by one until nothing remains in the mapping fields. then the notices should be gone and you can start to add them again.

    matt

Viewing 1 replies (of 1 total)
  • The topic ‘Errors thrown at line 149’ is closed to new replies.