Latest topics
Our latest publications
TypeError: Cannot read properties of null (reading 'parentNode')
3 posters
Page 1 of 1
TypeError: Cannot read properties of null (reading 'parentNode')
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:
at topic: https://www.achatworld.com/t1532-new-clubs-promotions-forum
proof: https://prnt.sc/-s3MBkah7Uhi
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- Premium Member
-
268
Likes : 199 - You have 50+ liked postsYou get this award when you have hit 50 post likedTutorial contribution memberTutorial contribution memberWinnerYou are a WinnerYour getting there.....5 FriendsPremium MemberYou become a Premium MemberIntroduced YourselfWhen you Introduce Yourself on the main forumBug BusterYou helped us fix a bugFound me icon winnerYou took part in the find the icon contest and found it1st yearCcongratulations You have been a member for 1 year or moreBday 1been mentioned in a birthday comment !!Forum Gamerfor members who play the forum games.Best Members Award...Best Members Award... Just For Being You200 postsyou have now posted 200 postsForum lover.for them members who love to post on our forumCredit store spenderYou get this if you buy a item from the store.Found us post awardYou get this when you post in our how you found us postYou Love TalkingWhen you have 4 GroupsForum Pet OwnerYou get this award if you own a pet on your profile
Re: TypeError: Cannot read properties of null (reading 'parentNode')
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.
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- Administrator
-
3985
Likes : 715 - What you talking about?When you have all the Groups on the siteIntroduced YourselfWhen you Introduce Yourself on the main forumYou now have 50 FriendsYou now have 50 FriendsForum lover.for them members who love to post on our forumGift GiverWhen you give a gift to a member from the StoreBig SpenderYou get this as you have spent lots of credits in our storeForum Pet OwnerYou get this award if you own a pet on your profileCredit store spenderYou get this if you buy a item from the store.The Team MembersIf you are staff you will have this iconIdea's TeamWhen you come up with Idea's for the forumPromotion's MembersYou are a Promotion's MembersGraphic DesignerYou get this award when you are a Graphic DesignerBug BusterYou helped us fix a bug10th YearMember for 10 yearsForum Gamerfor members who play the forum games.TechnicianTechnicianYou have gave 300+ likesYou get this award as you have gave 300+ likesBday 1been mentioned in a birthday comment !!You have 3500+ PostsYou have 3500+ PostsTutorial contribution memberTutorial contribution memberChristmas AwardYou get this award if you buy any Christmas item from the storeTheme makerYou have made a theme in the theme forum.You got 350+ liked postsYou get this when you get 350+ liked postsPet loverYou get this if you have paid for 6 pets or more and named your pets
tikky- Technician
- 319
Likes : 180 - 200 postsyou have now posted 200 postsBug BusterYou helped us fix a bugYou have 200+ liked postsYou get this when you get 200+ liked postsIntroduced YourselfWhen you Introduce Yourself on the main forumThe Team MembersIf you are staff you will have this iconWhat you talking about?When you have all the Groups on the siteIdea's TeamWhen you come up with Idea's for the forumBest Members Award...Best Members Award... Just For Being YouTechnicianTechnicianYour getting there.....5 Friends5th YearMember for 5 yearsChristmas AwardYou get this award if you buy any Christmas item from the storeChristmas Award 2You get this award if you buy more then 2 Christmas item from the storeTheme makerYou have made a theme in the theme forum.Member of the yearAdmins make you member of the yearForum Pet OwnerYou get this award if you own a pet on your profileYou have gave 200+ likesYou get this award when you have gave 200 + likes
JENNY Likes This Post
Re: TypeError: Cannot read properties of null (reading 'parentNode')
Hello,tikky wrote:Hello,
@Mihai: Unfortunately i can't replicate your error I have the console without error
@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 ? ' <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- Premium Member
-
268
Likes : 199 - You have 50+ liked postsYou get this award when you have hit 50 post likedTutorial contribution memberTutorial contribution memberWinnerYou are a WinnerYour getting there.....5 FriendsPremium MemberYou become a Premium MemberIntroduced YourselfWhen you Introduce Yourself on the main forumBug BusterYou helped us fix a bugFound me icon winnerYou took part in the find the icon contest and found it1st yearCcongratulations You have been a member for 1 year or moreBday 1been mentioned in a birthday comment !!Forum Gamerfor members who play the forum games.Best Members Award...Best Members Award... Just For Being You200 postsyou have now posted 200 postsForum lover.for them members who love to post on our forumCredit store spenderYou get this if you buy a item from the store.Found us post awardYou get this when you post in our how you found us postYou Love TalkingWhen you have 4 GroupsForum Pet OwnerYou get this award if you own a pet on your profile
Re: TypeError: Cannot read properties of null (reading 'parentNode')
If we don't get the same error we can't fix the problem as we can't see it our self.
APE- Administrator
-
3985
Likes : 715 - What you talking about?When you have all the Groups on the siteIntroduced YourselfWhen you Introduce Yourself on the main forumYou now have 50 FriendsYou now have 50 FriendsForum lover.for them members who love to post on our forumGift GiverWhen you give a gift to a member from the StoreBig SpenderYou get this as you have spent lots of credits in our storeForum Pet OwnerYou get this award if you own a pet on your profileCredit store spenderYou get this if you buy a item from the store.The Team MembersIf you are staff you will have this iconIdea's TeamWhen you come up with Idea's for the forumPromotion's MembersYou are a Promotion's MembersGraphic DesignerYou get this award when you are a Graphic DesignerBug BusterYou helped us fix a bug10th YearMember for 10 yearsForum Gamerfor members who play the forum games.TechnicianTechnicianYou have gave 300+ likesYou get this award as you have gave 300+ likesBday 1been mentioned in a birthday comment !!You have 3500+ PostsYou have 3500+ PostsTutorial contribution memberTutorial contribution memberChristmas AwardYou get this award if you buy any Christmas item from the storeTheme makerYou have made a theme in the theme forum.You got 350+ liked postsYou get this when you get 350+ liked postsPet loverYou get this if you have paid for 6 pets or more and named your pets
tikky Likes This Post
Re: TypeError: Cannot read properties of null (reading 'parentNode')
Here is the screenshot from google chrome also: https://prnt.sc/R3H9ys1int0WAPE wrote:If we don't get the same error we can't fix the problem as we can't see it our self.
Mihai- Premium Member
-
268
Likes : 199 - You have 50+ liked postsYou get this award when you have hit 50 post likedTutorial contribution memberTutorial contribution memberWinnerYou are a WinnerYour getting there.....5 FriendsPremium MemberYou become a Premium MemberIntroduced YourselfWhen you Introduce Yourself on the main forumBug BusterYou helped us fix a bugFound me icon winnerYou took part in the find the icon contest and found it1st yearCcongratulations You have been a member for 1 year or moreBday 1been mentioned in a birthday comment !!Forum Gamerfor members who play the forum games.Best Members Award...Best Members Award... Just For Being You200 postsyou have now posted 200 postsForum lover.for them members who love to post on our forumCredit store spenderYou get this if you buy a item from the store.Found us post awardYou get this when you post in our how you found us postYou Love TalkingWhen you have 4 GroupsForum Pet OwnerYou get this award if you own a pet on your profile
Re: TypeError: Cannot read properties of null (reading 'parentNode')
okay i will see if we can get the same and ask @tikky to try again.
APE- Administrator
-
3985
Likes : 715 - What you talking about?When you have all the Groups on the siteIntroduced YourselfWhen you Introduce Yourself on the main forumYou now have 50 FriendsYou now have 50 FriendsForum lover.for them members who love to post on our forumGift GiverWhen you give a gift to a member from the StoreBig SpenderYou get this as you have spent lots of credits in our storeForum Pet OwnerYou get this award if you own a pet on your profileCredit store spenderYou get this if you buy a item from the store.The Team MembersIf you are staff you will have this iconIdea's TeamWhen you come up with Idea's for the forumPromotion's MembersYou are a Promotion's MembersGraphic DesignerYou get this award when you are a Graphic DesignerBug BusterYou helped us fix a bug10th YearMember for 10 yearsForum Gamerfor members who play the forum games.TechnicianTechnicianYou have gave 300+ likesYou get this award as you have gave 300+ likesBday 1been mentioned in a birthday comment !!You have 3500+ PostsYou have 3500+ PostsTutorial contribution memberTutorial contribution memberChristmas AwardYou get this award if you buy any Christmas item from the storeTheme makerYou have made a theme in the theme forum.You got 350+ liked postsYou get this when you get 350+ liked postsPet loverYou get this if you have paid for 6 pets or more and named your pets
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
09/10/24, 07:32 pm by JENNY
» Welcome Ben
07/10/24, 10:15 pm by Dave
» Hello
07/10/24, 10:12 pm by Dave
» Automatic Awards system.
07/10/24, 10:10 pm by Dave
» NEW FOLLOW A MEMBER
07/10/24, 10:06 pm by Dave
» New Servimg Premium for our forum.
07/10/24, 10:05 pm by Dave
» Reputation bar & Warning bar update.
07/10/24, 10:04 pm by Dave
» Notifications and Profile update
07/10/24, 10:03 pm by Dave
» The Pet Store
01/10/24, 09:56 pm by APE