Chat World
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Latest topics
» What is the weather like where you live?
TypeError: Cannot read properties of null (reading 'parentNode') EmptyToday at 09:02 pm by APE

» Morning/afternoon/night
TypeError: Cannot read properties of null (reading 'parentNode') EmptyYesterday at 10:26 am by APE

» What was the last thing you did before coming online?
TypeError: Cannot read properties of null (reading 'parentNode') Empty20/10/24, 05:47 pm by APE

» How are you feeling today?
TypeError: Cannot read properties of null (reading 'parentNode') Empty20/10/24, 05:46 pm by APE

» How has your week been?
TypeError: Cannot read properties of null (reading 'parentNode') Empty20/10/24, 05:45 pm by APE

» Increase the size of the text
TypeError: Cannot read properties of null (reading 'parentNode') Empty18/10/24, 07:20 pm by APE

» New Servimg Premium for our forum.
TypeError: Cannot read properties of null (reading 'parentNode') Empty12/10/24, 05:02 pm by JENNY

» Welcome Ben
TypeError: Cannot read properties of null (reading 'parentNode') Empty07/10/24, 10:15 pm by Dave

» Hello
TypeError: Cannot read properties of null (reading 'parentNode') Empty07/10/24, 10:12 pm by Dave

Who’s online ?
Guests : 0
Registered : 0
Users Online :
Refresh View All
Our latest publications

TypeError: Cannot read properties of null (reading 'parentNode')

3 posters

Go down

TypeError: Cannot read properties of null (reading 'parentNode') Empty TypeError: Cannot read properties of null (reading 'parentNode')

Post by Mihai 13/06/24, 12:27 am

Name of The bug found: parentNode

What is the nature of the bug: error code in javascript

Date of bug found: 13.06.2024

Browser your using: Brave

Have you tried to use other browsers Yes or No: No

Other information you may think we need to know:
Uncaught TypeError: Cannot read properties of null (reading 'parentNode')
   at new n (28086.js:1:5070)
   at i (28086.js:1:4475)
   at HTMLDocument. (28086.js:1:7103)
   at o (jquery.min.js:2:14733)
   at Object.fireWith (jquery.min.js:2:15502)
   at Function.ready (jquery.min.js:2:9594)


at topic: https://www.achatworld.com/t1532-new-clubs-promotions-forum
proof: https://prnt.sc/-s3MBkah7Uhi
Mihai
Mihai
Premium Member

Other Browsers Not listed®
Gender Male
Posts 274
Likes Likes : 205
You have 50+ liked posts
You get this award when you have hit 50 post liked
Tutorial contribution member
Tutorial contribution member
Winner
You are a Winner
Your getting there.....
5 Friends
Premium Member
You become a Premium Member
Introduced Yourself
When you Introduce Yourself on the main forum
Bug Buster
You helped us fix a bug
Found me icon winner
You took part in the find the icon contest and found it
1st year
Ccongratulations You have been a member for 1 year or more
Bday 1
been mentioned in a birthday comment !!
Forum Gamer
for members who play the forum games.
Best Members Award...
Best Members Award... Just For Being You
200 posts
you have now posted 200 posts
Forum lover.
for them members who love to post on our forum
Credit store spender
You get this if you buy a item from the store.
Found us post award
You get this when you post in our how you found us post
You Love Talking
When you have 4 Groups
Forum Pet Owner
You get this award if you own a pet on your profile

Back to top Go down

Administrator

TypeError: Cannot read properties of null (reading 'parentNode') Empty Re: TypeError: Cannot read properties of null (reading 'parentNode')

Post by APE 13/06/24, 04:33 pm

To be honest it's just a pre made table for staff posts.
It don't really need to be fixed i don't think but will pass it on to @tikky but to be honest it's not really a problem that needs to be fixed.
APE
APE
Administrator
Administrator

Mozilla FireFox ®
Gender Male
Posts 4006
Likes Likes : 726
What you talking about?
When you have all the Groups on the site
Introduced Yourself
When you Introduce Yourself on the main forum
You now have 50 Friends
You now have 50 Friends
Forum lover.
for them members who love to post on our forum
Gift Giver
When you give a gift to a member from the Store
Big Spender
You get this as you have spent lots of credits in our store
Forum Pet Owner
You get this award if you own a pet on your profile
Credit store spender
You get this if you buy a item from the store.
The Team Members
If you are staff you will have this icon
Idea's Team
When you come up with Idea's for the forum
Promotion's Members
You are a Promotion's Members
Graphic Designer
You get this award when you are a Graphic Designer
Bug Buster
You helped us fix a bug
10th Year
Member for 10 years
Forum Gamer
for members who play the forum games.
Technician
Technician
You have gave 300+ likes
You get this award as you have gave 300+ likes
Bday 1
been mentioned in a birthday comment !!
You have 3500+ Posts
You have 3500+ Posts
Tutorial contribution member
Tutorial contribution member
Christmas Award
You get this award if you buy any Christmas item from the store
Theme maker
You have made a theme in the theme forum.
You got 350+ liked posts
You get this when you get 350+ liked posts
Pet lover
You get this if you have paid for 6 pets or more and named your pets

Back to top Go down

Technician

TypeError: Cannot read properties of null (reading 'parentNode') Empty Re: TypeError: Cannot read properties of null (reading 'parentNode')

Post by tikky 13/06/24, 04:38 pm

Hello,

@Mihai: Unfortunately i can't replicate your error I have the console without error
TypeError: Cannot read properties of null (reading 'parentNode') Image219
tikky
tikky
Technician
Technician

Posts 319
Likes Likes : 180
200 posts
you have now posted 200 posts
Bug Buster
You helped us fix a bug
You have 200+ liked posts
You get this when you get 200+ liked posts
Introduced Yourself
When you Introduce Yourself on the main forum
The Team Members
If you are staff you will have this icon
What you talking about?
When you have all the Groups on the site
Idea's Team
When you come up with Idea's for the forum
Best Members Award...
Best Members Award... Just For Being You
Technician
Technician
Your getting there.....
5 Friends
5th Year
Member for 5 years
Christmas Award
You get this award if you buy any Christmas item from the store
Christmas Award 2
You get this award if you buy more then 2 Christmas item from the store
Theme maker
You have made a theme in the theme forum.
Member of the year
Admins make you member of the year
Forum Pet Owner
You get this award if you own a pet on your profile
You have gave 200+ likes
You get this award when you have gave 200 + likes

JENNY Likes This Post

Back to top Go down

TypeError: Cannot read properties of null (reading 'parentNode') Empty Re: TypeError: Cannot read properties of null (reading 'parentNode')

Post by Mihai 13/06/24, 11:01 pm

tikky wrote:Hello,

@Mihai: Unfortunately i can't replicate your error I have the console without error
TypeError: Cannot read properties of null (reading 'parentNode') Image219
Hello,

@tikky: The problem comes from this javascript (28086.js):
Code:
$(function() {
    var config = {
            position_left: true,
            negative_vote: false,
            vote_bar: false,
            icon_plus: '<img src="https://i.servimg.com/u/f68/12/23/10/57/heart110.png" alt="+"/>',
            icon_minus: '<img src="https://i.servimg.com/u/f18/18/21/41/30/minus10.png" alt="-"/>',
            title_plus: 'Like %{USERNAME}\'s post',
            title_minus: 'Dislike %{USERNAME}\'s post',
            title_like_singular: '%{VOTES} person likes %{USERNAME}\'s post',
            title_like_plural: '%{VOTES} people like %{USERNAME}\'s post',
            title_dislike_singular: '%{VOTES} person dislikes %{USERNAME}\'s post',
            title_dislike_plural: '%{VOTES} people dislike %{USERNAME}\'s post',
            title_vote_bar: '%{VOTES} people liked %{USERNAME}\'s post %{PERCENT}'
        },
        submit_vote = function() {
            var next = this.nextSibling,
                box = this.parentNode,
                bar = box.getElementsByTagName('DIV'),
                vote = box.getElementsByTagName('A'),
                mode = /eval=plus/.test(this.href) ? 1 : 0,
                i = 0,
                j = vote.length,
                pos, neg, major, minor, percent;
            $.get(this.href, function() {
                next.innerHTML = +next.innerHTML + 1;
                next.title = next.title.replace(/(\d+)/, function(M, $1) {
                    return +$1 + 1
                });
                pos = +vote[0].nextSibling.innerHTML;
                neg = vote[1] ? +vote[1].nextSibling.innerHTML : 0;
                percent = pos == 0 ? '0%' : pos == neg ? '50%' : Math.round(pos / (pos + neg) * 100) + '%';
                if (bar[0]) {
                    bar[0].style.display = '';
                    bar[0].firstChild.style.width = percent;
                    box.title = box.title.replace(/\d+\/\d+/, pos + '/' + (pos + neg)).replace(/\(\d+%\)/, '(' + percent + ')')
                }
            });
            for (; i < j; i++) {
                vote[i].href = '#';
                vote[i].className = vote[i].className.replace(/fa_vote/, 'fa_voted');
                vote[i].onclick = function() {
                    return false
                }
            }
            return false
        },
        vote = $('.vote'),
        i = 0,
        j = vote.length,
        version = $('.bodylinewidth')[0] ? 0 : document.getElementById('wrap') ? 1 : $('.pun')[0] ? 2 : document.getElementById('ipbwrapper') ? 3 : 'badapple',
        vdata = {
            tag: ['SPAN', 'LI', 'SPAN', 'LI'][version],
            name: ['.name', '.postprofile dt > strong', '.username', '.popmenubutton'][version],
            actions: ['.post-options', '.profile-icons', '.post-options', '.posting-icons'][version],
        },
        post, plus, minus, n_pos, n_neg, title_pos, title_neg, li, ul, bar, button, total, percent, span, pseudo, vote_bar;
    if (version == 'badapple') {
        if (window.console) console.warn('This plugin is not optimized for your forum version. Please contact the support for further assistance.');
        return
    }
    for (; i < j; i++) {
        post = $(vote[i]).parentsUntil('.post').parent()[0];
        bar = $('.vote-bar', vote[i])[0];
        button = $('.vote-button', vote[i]);
        pseudo = $(vdata.name, post).text() || 'MISSING_STRING';
        ul = $(vdata.actions, post)[0];
        li = document.createElement(vdata.tag);
        li.className = 'fa_reputation';
        if (li.tagName == 'SPAN') li.style.display = 'inline-block';
        if (bar) {
            total = +bar.title.replace(/.*?\((\d+).*/, '$1');
            percent = +bar.title.replace(/.*?(\d+)%.*/, '$1');
            n_pos = Math.round(total * (percent / 100));
            n_neg = total - n_pos
        } else {
            n_pos = 0;
            n_neg = 0
        }
        title_pos = (n_pos == 1 ? config.title_like_singular : config.title_like_plural).replace(/%\{USERNAME\}/g, pseudo).replace(/%\{VOTES\}/g, n_pos);
        title_neg = (n_neg == 1 ? config.title_dislike_singular : config.title_dislike_plural).replace(/%\{USERNAME\}/g, pseudo).replace(/%\{VOTES\}/g, n_neg);
        li.innerHTML = '<span class="fa_count fa_positive" title="' + title_pos + '">' + n_pos + '</span>' + (config.negative_vote ? '&nbsp;<span class="fa_count fa_negative" title="' + title_neg + '">' + n_neg + '</span>' : '');
        span = li.getElementsByTagName('SPAN');
        plus = document.createElement('A');
        plus.href = button[0] ? button[0].firstChild.href : '#';
        plus.onclick = button[0] ? submit_vote : function() {
            return false
        };
        plus.className = 'fa_vote' + (button[0] ? '' : 'd') + ' fa_plus';
        plus.innerHTML = config.icon_plus;
        plus.title = (button[0] ? config.title_plus : title_pos).replace(/%\{USERNAME\}/g, pseudo);
        span[0] && li.insertBefore(plus, span[0]);
        if (config.negative_vote) {
            minus = document.createElement('A');
            minus.href = button[1] ? button[1].firstChild.href : '#';
            minus.onclick = button[1] ? submit_vote : function() {
                return false
            };
            minus.className = 'fa_vote' + (button[1] ? '' : 'd') + ' fa_minus';
            minus.innerHTML = config.icon_minus;
            minus.title = (button[1] ? config.title_minus : title_neg).replace(/%\{USERNAME\}/g, pseudo);
            span[1] && li.insertBefore(minus, span[1])
        }
        if (config.vote_bar) {
            vote_bar = document.createElement('DIV');
            vote_bar.className = 'fa_votebar';
            vote_bar.innerHTML = '<div class="fa_votebar_inner" style="width:' + percent + '%;"></div>';
            vote_bar.style.display = bar ? '' : 'none';
            li.title = config.title_vote_bar.replace(/%\{USERNAME\}/, pseudo).replace(/%\{VOTES\}/, n_pos + '/' + (n_pos + n_neg)).replace(/%\{PERCENT\}/, '(' + percent + '%)');
            li.appendChild(vote_bar)
        }
        config.position_left ? ul.insertBefore(li, ul.firstChild) : ul.appendChild(li);
        vote[i].parentNode.removeChild(vote[i])
    }
});
(function(l, j, m) {
    var b, k, c, g, e, h = true;
    var i = function(o, p, d) {
        if (!i.done) {
            return new n(o, p, d)
        }
    };
    i.debug = false;
    i.done = false;
    i.titles = true;
    i.lang = {
        subscribe: "Subscribe",
        unsubscribe: "Unsubscribe",
        title_unSubscribe: "Unsubscribe to this topic",
        title_subscribe: "subscribe to this topic"
    };
    var n = function(o, s, d) {
        if (typeof o == "object") {
            d = s;
            s = o;
            h = false
        }
        if (typeof s == "function") {
            d = s
        }
        if (h == true && o.toLowerCase() == "invision") {
            i._anchors = b = j.querySelectorAll(".left-overview a");
            i._target = k = j.getElementById("text_editor_textarea").parentNode.nextSibling
        }
        if (h == true && o.toLowerCase() == "phpbb3") {
            i._anchors = b = j.querySelectorAll(".right a");
            i._target = k = j.getElementById("text_editor_textarea").parentNode.nextSibling
        }
        if (h == true && o.toLowerCase() == "phpbb2") {
            i._anchors = b = j.querySelectorAll(".gensmall a");
            i._target = k = j.getElementById("quick_reply").getElementsByClassName("row2")[1]
        }
        if (h == true && o.toLowerCase() == "punbb") {
            i._anchors = b = j.querySelectorAll("#pun-visit li a");
            i._target = k = j.getElementById("pun-qpost").getElementsByClassName("frm-buttons")[0]
        }
        if (s) {
            if (s.selector) {
                if (s.selector.anchors) {
                    b = i._anchors = s.selector.anchors
                }
                if (s.selector.target) {
                    k = i._target = s.selector.target
                }
            }
            if (s.titles && s.titles === false) {
                i.titles = false
            }
            if (s.id) {
                c = s.id
            }
        }
        var r = b,
            q = false,
            t = j.createElement("button");
        t.type = "button";
        if (r) {
            for (var p = 0; p < r.length; p++) {
                if ((/\?unwatch=topic/gi).test(r[p].href)) {
                    t.value = r[p].href;
                    r[p].parentNode.removeChild(r[p]);
                    t.innerHTML = i.lang.unsubscribe;
                    if (i.titles === true) {
                        t.title = i.lang.title_unSubscribe
                    }
                    t.className = "easyBB_btn unsub";
                    q = true
                }
                if ((/\?watch=topic/gi).test(r[p].href)) {
                    t.value = r[p].href;
                    r[p].parentNode.removeChild(r[p]);
                    t.innerHTML = i.lang.subscribe;
                    if (i.titles === true) {
                        t.title = i.lang.title_subscribe
                    }
                    t.className = "easyBB_btn sub";
                    q = true
                }
                if (c !== undefined) {
                    t.id = c
                }
                if (k && q === true) {
                    t.setAttribute("onclick", "ajaxSubscribe(this)");
                    if (!s || !s.selector) {
                        k.appendChild(t);
                        i.done = true;
                        break
                    } else {
                        k.appendChild(t);
                        i.done = true;
                        break
                    }
                }
            }
        }
        console.log(d);
        console.log(s);
        if (d !== undefined) {
            d.call(this, i.done, t)
        }
    };

    function f(o, d) {
        if (i.debug) {
            return console[o](d)
        }
    }

    function a(o) {
        var p = o.innerHTML,
            d = o.value;
        $.post(d, function(q) {
            if (/no longer watching/g.test(q)) {
                o.innerHTML = easyScribe.lang.subscribe;
                $(o).removeClass("unsub").addClass("sub");
                if (easyScribe.titles === true) {
                    o.title = easyScribe.lang.title_subscribe
                }
                o.value = o.value.replace(/\?unwatch=topic/, "?watch=topic")
            }
            if (/are now watching this/g.test(q)) {
                o.innerHTML = easyScribe.lang.unsubscribe;
                $(o).removeClass("sub").addClass("unsub");
                if (easyScribe.titles === true) {
                    o.title = easyScribe.lang.title_unSubscribe
                }
                o.value = o.value.replace(/\?watch=topic/, "?unwatch=topic")
            }
        })
    }
    return (l.easyScribe = i) && (l.ajaxSubscribe = a)
})(this, document);
$(function() {
    var target = document.body;
    easyScribe('phpbb3', {
        titles: false,
        id: "easyScriber"
    }, function(done, button) {
        if (done == true) {
            $(button.parentNode).prepend(button)
        }
    })
});
Mihai
Mihai
Premium Member

Other Browsers Not listed®
Gender Male
Posts 274
Likes Likes : 205
You have 50+ liked posts
You get this award when you have hit 50 post liked
Tutorial contribution member
Tutorial contribution member
Winner
You are a Winner
Your getting there.....
5 Friends
Premium Member
You become a Premium Member
Introduced Yourself
When you Introduce Yourself on the main forum
Bug Buster
You helped us fix a bug
Found me icon winner
You took part in the find the icon contest and found it
1st year
Ccongratulations You have been a member for 1 year or more
Bday 1
been mentioned in a birthday comment !!
Forum Gamer
for members who play the forum games.
Best Members Award...
Best Members Award... Just For Being You
200 posts
you have now posted 200 posts
Forum lover.
for them members who love to post on our forum
Credit store spender
You get this if you buy a item from the store.
Found us post award
You get this when you post in our how you found us post
You Love Talking
When you have 4 Groups
Forum Pet Owner
You get this award if you own a pet on your profile

Back to top Go down

Administrator

TypeError: Cannot read properties of null (reading 'parentNode') Empty Re: TypeError: Cannot read properties of null (reading 'parentNode')

Post by APE 14/06/24, 09:45 am

If we don't get the same error we can't fix the problem as we can't see it our self. Think
APE
APE
Administrator
Administrator

Mozilla FireFox ®
Gender Male
Posts 4006
Likes Likes : 726
What you talking about?
When you have all the Groups on the site
Introduced Yourself
When you Introduce Yourself on the main forum
You now have 50 Friends
You now have 50 Friends
Forum lover.
for them members who love to post on our forum
Gift Giver
When you give a gift to a member from the Store
Big Spender
You get this as you have spent lots of credits in our store
Forum Pet Owner
You get this award if you own a pet on your profile
Credit store spender
You get this if you buy a item from the store.
The Team Members
If you are staff you will have this icon
Idea's Team
When you come up with Idea's for the forum
Promotion's Members
You are a Promotion's Members
Graphic Designer
You get this award when you are a Graphic Designer
Bug Buster
You helped us fix a bug
10th Year
Member for 10 years
Forum Gamer
for members who play the forum games.
Technician
Technician
You have gave 300+ likes
You get this award as you have gave 300+ likes
Bday 1
been mentioned in a birthday comment !!
You have 3500+ Posts
You have 3500+ Posts
Tutorial contribution member
Tutorial contribution member
Christmas Award
You get this award if you buy any Christmas item from the store
Theme maker
You have made a theme in the theme forum.
You got 350+ liked posts
You get this when you get 350+ liked posts
Pet lover
You get this if you have paid for 6 pets or more and named your pets

tikky Likes This Post

Back to top Go down

TypeError: Cannot read properties of null (reading 'parentNode') Empty Re: TypeError: Cannot read properties of null (reading 'parentNode')

Post by Mihai 14/06/24, 08:01 pm

APE wrote:If we don't get the same error we can't fix the problem as we can't see it our self. Think
Here is the screenshot from google chrome also: https://prnt.sc/R3H9ys1int0W
Mihai
Mihai
Premium Member

Other Browsers Not listed®
Gender Male
Posts 274
Likes Likes : 205
You have 50+ liked posts
You get this award when you have hit 50 post liked
Tutorial contribution member
Tutorial contribution member
Winner
You are a Winner
Your getting there.....
5 Friends
Premium Member
You become a Premium Member
Introduced Yourself
When you Introduce Yourself on the main forum
Bug Buster
You helped us fix a bug
Found me icon winner
You took part in the find the icon contest and found it
1st year
Ccongratulations You have been a member for 1 year or more
Bday 1
been mentioned in a birthday comment !!
Forum Gamer
for members who play the forum games.
Best Members Award...
Best Members Award... Just For Being You
200 posts
you have now posted 200 posts
Forum lover.
for them members who love to post on our forum
Credit store spender
You get this if you buy a item from the store.
Found us post award
You get this when you post in our how you found us post
You Love Talking
When you have 4 Groups
Forum Pet Owner
You get this award if you own a pet on your profile

Back to top Go down

Administrator

TypeError: Cannot read properties of null (reading 'parentNode') Empty Re: TypeError: Cannot read properties of null (reading 'parentNode')

Post by APE 14/06/24, 09:11 pm

okay i will see if we can get the same and ask @tikky to try again.
APE
APE
Administrator
Administrator

Mozilla FireFox ®
Gender Male
Posts 4006
Likes Likes : 726
What you talking about?
When you have all the Groups on the site
Introduced Yourself
When you Introduce Yourself on the main forum
You now have 50 Friends
You now have 50 Friends
Forum lover.
for them members who love to post on our forum
Gift Giver
When you give a gift to a member from the Store
Big Spender
You get this as you have spent lots of credits in our store
Forum Pet Owner
You get this award if you own a pet on your profile
Credit store spender
You get this if you buy a item from the store.
The Team Members
If you are staff you will have this icon
Idea's Team
When you come up with Idea's for the forum
Promotion's Members
You are a Promotion's Members
Graphic Designer
You get this award when you are a Graphic Designer
Bug Buster
You helped us fix a bug
10th Year
Member for 10 years
Forum Gamer
for members who play the forum games.
Technician
Technician
You have gave 300+ likes
You get this award as you have gave 300+ likes
Bday 1
been mentioned in a birthday comment !!
You have 3500+ Posts
You have 3500+ Posts
Tutorial contribution member
Tutorial contribution member
Christmas Award
You get this award if you buy any Christmas item from the store
Theme maker
You have made a theme in the theme forum.
You got 350+ liked posts
You get this when you get 350+ liked posts
Pet lover
You get this if you have paid for 6 pets or more and named your pets

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum
© 2022 - 2024, achatworld.co.uk,
Theme and Images by Ape & Jenny,
Banners by skouliki
Codes by Ape Jenny and tikky.