Errors thrown at line 149
-
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 149The 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
- The topic ‘Errors thrown at line 149’ is closed to new replies.