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') EmptyYesterday at 15:02 by Mihai

» How many notifications did you have when you logged on?
TypeError: Cannot read properties of null (reading 'parentNode') EmptyYesterday at 13:30 by APE

» How has your week been?
TypeError: Cannot read properties of null (reading 'parentNode') Empty2024-07-12, 22:40 by JENNY

» Morning/afternoon/night
TypeError: Cannot read properties of null (reading 'parentNode') Empty2024-07-12, 22:37 by JENNY

» How are you feeling today?
TypeError: Cannot read properties of null (reading 'parentNode') Empty2024-07-12, 17:33 by APE

» What are you going to do this weekend?
TypeError: Cannot read properties of null (reading 'parentNode') Empty2024-07-12, 17:32 by APE

» Technical maintenance
TypeError: Cannot read properties of null (reading 'parentNode') Empty2024-07-08, 21:36 by APE

» What are / did you have for Dinner today ?
TypeError: Cannot read properties of null (reading 'parentNode') Empty2024-06-24, 15:34 by APE

» What is your plans for the day ?
TypeError: Cannot read properties of null (reading 'parentNode') Empty2024-06-24, 11:41 by Ben

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 2024-06-13, 00:27

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 233
Likes Likes : 169
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
Talk Talk
You love to talk
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
Congrats 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

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 2024-06-13, 16:33

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 3881
Likes Likes : 642
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

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 2024-06-13, 16:38

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 313
Likes Likes : 168
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 2024-06-13, 23:01

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 233
Likes Likes : 169
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
Talk Talk
You love to talk
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
Congrats 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

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 2024-06-14, 09:45

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 3881
Likes Likes : 642
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

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 2024-06-14, 20:01

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 233
Likes Likes : 169
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
Talk Talk
You love to talk
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
Congrats 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

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 2024-06-14, 21:11

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 3881
Likes Likes : 642
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

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.