Insertions not woring correctly
-
Since updating to 2.6.0 and 2.6.1, my auto insertions are not working as usual.
My first insertion after paragraph 5 is now appearing after paragraph 20 on new posts. On existing posts, some are after para 5, but some are not.
My 2nd and 3rd insertions are also quite a few paragraphs further down the page than my settings.
-
Hello,
please enable remote debugging and post page address to check:
https://wordpress.org/support/topic/ad-inserter-support-before-you-ask-for-help/Thanks for your prompt reply. But I just found the problem. It is another plugin,
Table of Contents Plus, that is causing the issue.Sorry to have bothered you.
🙂
If you like Ad Inserter I would appreciate if you could rate it:
https://wordpress.org/support/plugin/ad-inserter/reviews/#new-postThank you!
Will do.
In fact, there might be an issue here. I have just tried 4 different table of contents plugins, and all of them bump the insertions down the page.
I didn’t have this issue before 2.6.0 with a conflict with TOC plugins.
You need to provide required data to check.
This is what I see in the debugging log.
Ad Inserter 2.6.1 INSTALLED: 2017-08-30 15:01:22 (0002-04-11 21:32:55, 863 days ago) GENERATED (WP time): 2020-01-11 12:34:18 GENERATED (Server time): 2020-01-11 11:34:18 PLUGIN CODE PROCESSING: 55.70 ms USER CODE PROCESSING: 0.00 ms TOTAL PROCESSING TIME: 55.70 ms SETTINGS: 2.6.1 SETTINGS SIZE: 11108 SETTINGS TIMESTAMP: 2020-01-11 12:09:38 SETTINGS EXTRACT: 2.6.1-96 EXTRACT TIMESTAMP: 2020-01-11 12:09:38 EXTRACT SOURCE: SAVED SETTINGS USER: LOGGED-IN ADMINISTRATOR USERNAME: bobsled USER ROLES: administrator MIN.USER FOR EXCEPTIONS: administrator PAGE TYPE: POST PUBLISHED: 2020-01-11 10:48:50 ID: 95091 POST TYPE: post CATEGORIES: Grammar (grammar), Writing (writinghints) PARENT CATEGORIES: TAGS: TAXONOMIES: category:grammar, category:writinghints POST META: _aioseop_opengraph_settings:a:15:{s:32:"aioseop_opengraph_settings_title";s:0:"";s:31:"aioseop_opengraph_settings_desc";s:0:"";s:32:"aioseop_opengraph_settings_image";s:86:"https://justpublishingadvice.com/wp-content/uploads/2020/01/Grammarly-Alternatives.png";s:36:"aioseop_opengraph_settings_customimg";s:0:"";s:37:"aioseop_opengraph_settings_imagewidth";s:0:"";s:38:"aioseop_opengraph_settings_imageheight";s:0:"";s:32:"aioseop_opengraph_settings_video";s:0:"";s:37:"aioseop_opengraph_settings_videowidth";s:0:"";s:38:"aioseop_opengraph_settings_videoheight";s:0:"";s:35:"aioseop_opengraph_settings_category";s:7:"article";s:34:"aioseop_opengraph_settings_section";s:0:"";s:30:"aioseop_opengraph_settings_tag";s:0:"";s:34:"aioseop_opengraph_settings_setcard";s:19:"summary_large_image";s:44:"aioseop_opengraph_settings_customimg_twitter";s:0:"";s:44:"aioseop_opengraph_settings_customimg_checker";s:1:"0";}, _edit_lock:1578738728:1, _edit_last:1, colormag_page_layout:default_layout, _thumbnail_id:95092, rating_form_position:, rating_results_position:, video_url:, total_number_of_views:44, mr_rating_results:a:9:{s:20:"adjusted_star_result";d:5;s:11:"star_result";d:5;s:22:"total_max_option_value";i:5;s:21:"adjusted_score_result";d:5;s:12:"score_result";d:5;s:17:"percentage_result";d:100;s:26:"adjusted_percentage_result";d:100;s:5:"count";i:1;s:7:"post_id";i:95091;}, mr_rating_results_star_rating:5, mr_rating_results_count_entries:1, snap_isAutoPosted:1578736130, dpsp_networks_shares:a:1:{s:9:"pinterest";i:1;}, dpsp_networks_shares_total:1, dpsp_networks_shares_last_updated:1578742457, _snapPHST:a:4:{s:2:"tw";a:4:{i:4;a:1:{i:0;a:4:{s:1:"l";s:60:"https://twitter.com/VampireAgatha/status/1215933719279800321";s:2:"id";s:19:"1215933719279800321";s:1:"d";s:19:"2020-01-11 09:49:24";s:1:"w";s:1:"s";}}i:1;a:1:{i:0;a:4:{s:1:"l";s:59:"https://twitter.com/Derek_Haines/status/1215933721091756032";s:2:"id";s:19:"1215933721091756032";s:1:"d";s:19:"2020-01-11 09:49:24";s:1:"w";s:1:"s";}}i:0;a:1:{i:0;a:4:{s:1:"l";s:61:"https://twitter.com/justpublishing/status/1215933730885423104";s:2:"id";s:19:"1215933730885423104";s:1:"d";s:19:"2020-01-11 09:49:27";s:1:"w";s:1:"s";}}i:2;a:1:{i:0;a:4:{s:1:"l";s:56:"https://twitter.com/FebThe5th/status/1215933732781199360";s:2:"id";s:19:"1215933732781199360";s:1:"d";s:19:"2020-01-11 09:49:27";s:1:"w";s:1:"s";}}}s:2:"li";a:1:{i:0;a:1:{i:0;a:4:{s:1:"l";s:69:"https://www.linkedin.com/feed/update/urn:li:share:6621699417701445632";s:2:"id";s:32:"urn:li:share:6621699417701445632";s:1:"d";s:19:"2020-01-11 09:49:26";s:1:"w";s:1:"s";}}}s:2:"pn";a:1:{i:0;a:1:{i:0;a:4:{s:1:"l";s:47:"https://www.pinterest.ch/pin/237987161545813352";s:2:"id";s:18:"237987161545813352";s:1:"d";s:19:"2020-01-11 09:49:30";s:1:"w";s:1:"s";}}}s:2:"fb";a:1:{i:0;a:1:{i:0;a:4:{s:1:"l";s:62:"https://www.facebook.com/justpublishing/posts/2636132369997968";s:2:"id";s:16:"2636132369997968";s:1:"d";s:19:"2020-01-11 09:49:41";s:1:"w";s:1:"s";}}}}, _snap_forceSURL:2, snap_MYURL:, snapEdIT:1, snapFB:s:416:"a:1:{i:0;a:13:{s:2:"do";s:1:"1";s:9:"msgFormat";s:23:"%TITLE% %EXCERPT% %URL%";s:8:"postType";s:1:"A";s:9:"isAutoImg";s:1:"A";s:8:"imgToUse";s:0:"";s:9:"isAutoURL";s:1:"A";s:8:"urlToUse";s:0:"";s:9:"timeToRun";s:1:"i";s:4:"doFB";i:0;s:8:"isPosted";s:1:"1";s:4:"pgID";s:16:"2636132369997968";s:7:"postURL";s:62:"https://www.facebook.com/justpublishing/posts/2636132369997968";s:5:"pDate";s:19:"2020-01-11 09:49:41";}}";, snapFP:s:165:"a:1:{i:0;a:6:{s:2:"do";s:1:"0";s:9:"msgFormat";s:23:"%TITLE% %EXCERPT% %URL%";s:9:"isAutoURL";s:1:"A";s:8:"urlToUse";s:0:"";s:9:"timeToRun";s:1:"i";s:4:"doFP";i:0;}}";, snapLI:s:439:"a:1:{i:0;a:13:{s:2:"do";s:1:"1";s:9:"msgFormat";s:23:"%TITLE% %EXCERPT% %URL%";s:8:"postType";s:1:"A";s:9:"isAutoImg";s:1:"A";s:8:"imgToUse";s:0:"";s:9:"isAutoURL";s:1:"A";s:8:"urlToUse";s:0:"";s:9:"timeToRun";s:1:"i";s:4:"doLI";i:0;s:8:"isPosted";s:1:"1";s:4:"pgID";s:32:"urn:li:share:6621699417701445632";s:7:"postURL";s:69:"https://www.linkedin.com/feed/update/urn:li:share:6621699417701445632";s:5:"pDate";s:19:"2020-01-11 09:49:26";}}";, snapPN:s:420:"a:1:{i:0;a:13:{s:2:"do";s:1:"2";s:9:"msgFormat";s:23:"%TITLE% %EXCERPT% %URL%";s:7:"pnBoard";s:18:"237987230247936002";s:9:"isAutoImg";s:1:"A";s:8:"imgToUse";s:0:"";s:9:"isAutoURL";s:1:"A";s:8:"urlToUse";s:0:"";s:9:"timeToRun";s:1:"i";s:4:"doPN";i:0;s:8:"isPosted";s:1:"1";s:4:"pgID";s:18:"237987161545813352";s:7:"postURL";s:47:"https://www.pinterest.ch/pin/237987161545813352";s:5:"pDate";s:19:"2020-01-11 09:49:30";}}";, snapTW:s:2482:"a:6:{i:1;a:13:{s:2:"do";s:1:"2";s:9:"msgFormat";s:103:"RT @justpublishing %TITLE% %RAWEXCERPT% Publishing and writing advice for #amwriting #writerslife %URL%";s:8:"attchImg";s:1:"0";s:9:"isAutoImg";s:1:"A";s:8:"imgToUse";s:0:"";s:9:"isAutoURL";s:1:"A";s:8:"urlToUse";s:0:"";s:9:"timeToRun";s:1:"i";s:4:"doTW";i:0;s:8:"isPosted";s:1:"1";s:4:"pgID";s:19:"1215933721091756032";s:7:"postURL";s:59:"https://twitter.com/Derek_Haines/status/1215933721091756032";s:5:"pDate";s:19:"2020-01-11 09:49:24";}i:2;a:13:{s:2:"do";s:1:"2";s:9:"msgFormat";s:88:"RT @justpublishing %TITLE% %RAWTEXT% Advice for #amwriting #indieauthor #amwriting %URL%";s:8:"attchImg";s:1:"0";s:9:"isAutoImg";s:1:"A";s:8:"imgToUse";s:0:"";s:9:"isAutoURL";s:1:"A";s:8:"urlToUse";s:0:"";s:9:"timeToRun";s:1:"i";s:4:"doTW";i:0;s:8:"isPosted";s:1:"1";s:4:"pgID";s:19:"1215933732781199360";s:7:"postURL";s:56:"https://twitter.com/FebThe5th/status/1215933732781199360";s:5:"pDate";s:19:"2020-01-11 09:49:27";}i:0;a:13:{s:2:"do";s:1:"2";s:9:"msgFormat";s:104:"New Publishing Advice Article: %TITLE% %RAWEXCERPT% For those who are #amwriting and #indieauthor %URL%";s:8:"attchImg";s:1:"0";s:9:"isAutoImg";s:1:"A";s:8:"imgToUse";s:0:"";s:9:"isAutoURL";s:1:"A";s:8:"urlToUse";s:0:"";s:9:"timeToRun";s:1:"i";s:4:"doTW";i:0;s:8:"isPosted";s:1:"1";s:4:"pgID";s:19:"1215933730885423104";s:7:"postURL";s:61:"https://twitter.com/justpublishing/status/1215933730885423104";s:5:"pDate";s:19:"2020-01-11 09:49:27";}i:4;a:13:{s:2:"do";s:1:"2";s:9:"msgFormat";s:69:"RT @justpublishing %TITLE% %RAWEXCERPT% #amwriting #writerslife %URL%";s:8:"attchImg";s:1:"0";s:9:"isAutoImg";s:1:"A";s:8:"imgToUse";s:0:"";s:9:"isAutoURL";s:1:"A";s:8:"urlToUse";s:0:"";s:9:"timeToRun";s:1:"i";s:4:"doTW";i:0;s:8:"isPosted";s:1:"1";s:4:"pgID";s:19:"1215933719279800321";s:7:"postURL";s:60:"https://twitter.com/VampireAgatha/status/1215933719279800321";s:5:"pDate";s:19:"2020-01-11 09:49:24";}i:5;a:9:{s:2:"do";s:1:"0";s:9:"msgFormat";s:76:"RT @justpublishing %TITLE% %RAWEXCERPT% For #indieauthors and #writers %URL%";s:8:"attchImg";s:1:"0";s:9:"isAutoImg";s:1:"A";s:8:"imgToUse";s:0:"";s:9:"isAutoURL";s:1:"A";s:8:"urlToUse";s:0:"";s:9:"timeToRun";s:1:"i";s:4:"doTW";i:0;}i:3;a:9:{s:2:"do";s:1:"0";s:9:"msgFormat";s:76:"RT @justpublishing %TITLE% %RAWEXCERPT% Free advice for a #writerslife %URL%";s:8:"attchImg";s:1:"0";s:9:"isAutoImg";s:1:"A";s:8:"imgToUse";s:0:"";s:9:"isAutoURL";s:1:"A";s:8:"urlToUse";s:0:"";s:9:"timeToRun";s:1:"i";s:4:"doTW";i:0;}}";, _aioseop_description:There are Grammarly alternatives that work very well and can save you a lot of money. Take a look at the options that are available for new writers., _aioseop_title:The Seven Best Grammarly Alternatives For A New Writer AMP PAGE: NO URL: /what-are-the-best-grammarly-alternatives-for-a-new-writer/ REFERER: justpublishingadvice.com (https://justpublishingadvice.com/what-are-the-best-grammarly-alternatives-for-a-new-writer/) VIEWPORT 1: Desktop min width 980 px VIEWPORT 2: Tablet min width 768 px VIEWPORT 3: Phone min width 0 px SERVER-SIDE DETECTION: USED SERVER-SIDE DEVICE: DESKTOP CLIENT-SIDE DETECTION: NOT USED CLIENT-SIDE INSERTION: NOT USED BLOCK CLASS NAME: code-block INLINE STYLES: ENABLED DYNAMIC BLOCKS: Server-side PARAGRAPH COUNTING: Standard NO PAR. COUNTING INSIDE: blockquote, figure, li OUTPUT BUFFERING: Disabled AD LABEL: Advertisements MAIN CONTENT: PLUGIN PRIORITY: 99999 ADMIN DISABLE CACHING: ENABLED WAIT FOR JQUERY: DISABLED DO NOT CACHE CONSTANTS: DONOTCACHEPAGE DONOTCACHEOBJECT DONOTCACHEDB HEADER: DISABLED FOOTER: DISABLED AD BLOCKING DETECTION: DISABLED BLOCK SETTINGS Po Pa Hp Cp Ap Sp AM Aj Fe 404 Wi Sh PHP 1 Block 1 o . . . . . . o . . x . . [After paragraph][Custom CSS][detect_server_side: 1][display_for_devices: desktop and tablet devices][show_label: 1][paragraph_number: 5][id_list: 40008, 55005][exceptions_enabled: 1][custom_css: margin: 30px 75px; clear: both;] 2 Block 2 o . . . . . . o . . x . . [After paragraph][Custom CSS][detect_server_side: 1][display_for_devices: desktop and tablet devices][show_label: 1][paragraph_number: 20][min_words: 400][id_list: 40008, 55005][exceptions_enabled: 1][custom_css: margin: 30px 75px; clear: both;] 3 Block 3 o . . . . . . o . . x . . [After paragraph][Custom CSS][detect_server_side: 1][display_for_devices: desktop and tablet devices][show_label: 1][paragraph_number: 45][min_words: 1000][id_list: 40008, 55005][exceptions_enabled: 1][custom_css: margin: 30px 75px; clear: both;] 4 Block 4 o . . . . . . o . . x . . [After paragraph][Custom CSS][detect_server_side: 1][display_for_devices: desktop and tablet devices][show_label: 1][paragraph_number: .9][min_words: 1600][id_list: 40008, 55005][exceptions_enabled: 1][custom_css: margin: 30px 75px; clear: both;] 5 Block 5 o . . . . . . o . . x . . [Disabled][Custom CSS][detect_server_side: 1][display_for_devices: phone devices][show_label: 1][paragraph_number: 5][id_list: 40008, 55005][exceptions_enabled: 1][custom_css: margin: 30px 0; clear: both;] 6 Block 6 o . . . . . . o . . x . . [Disabled][Custom CSS][detect_server_side: 1][display_for_devices: phone devices][show_label: 1][paragraph_number: 20][min_words: 500][id_list: 40008, 55005][exceptions_enabled: 1][custom_css: margin: 30px 0; clear: both;] 7 Block 7 o . . . . . . o . . x . . [Disabled][Default][detect_server_side: 1][display_for_devices: phone devices][show_label: 1][paragraph_number: .9][id_list: 40008, 55005][exceptions_enabled: 1] EXCEPTIONS FOR BLOCKS ID TYPE TITLE URL 1,2,3,4,5,6,7 76909 Post How To Use Whizbuzz Books To Promote Your Books https://justpublishingadvice.com/how-to-use-whizbuzz-books-to-promote-your-books/ 2,5 55005 Post How To Promote Erotic Books - 9 Tips To Sell Erotica Stories https://justpublishingadvice.com/how-to-promote-erotic-fiction-9-actions-you-can-take/ 2,5 40008 Post Attracting Readers To Buy Kindle Erotica Ebooks https://justpublishingadvice.com/attracting-readers-to-buy-erotica-ebooks/ TOTAL BLOCKS CONTENT HOOK: 1, 2, 3, 4 BLOCKS FOR THIS PAGE TYPE CONTENT HOOK: 1, 2, 3, 4 TIME EVENT ====================================== 0 INITIALIZATION START 17 AFTER REQUIRE: 17.97 ms 0 LOAD SETTINGS START 0 LOAD OPTIONS START 0 LOAD OPTIONS END 0 LOAD SETTINGS END 0 AFTER LOAD SETTINGS: 19.17 ms 0 AFTER LOAD GLOBALS: 19.18 ms 1 INITIALIZATION END: 20.64 ms 275 PLUGINS LOADED START 0 PLUGINS LOADED END: 0.01 ms 0 PLUGINS LOADED INSTALL DST START 3 PLUGINS LOADED INSTALL DST END: 3.02 ms 219 INIT HOOK START 0 INIT HOOK END: 0.74 ms 33 WP LOADED HOOK START 0 WP LOADED HOOK END: 0.00 ms 11 WP HOOK START 0 WP HOOK END: 0.15 ms 278 HEAD HOOK START 0 HEAD HOOK END: 0.06 ms 67 CONTENT HOOK START [1, IN THE LOOP] 1 JAVASCRIPT NOT WORKING");jQuery(".ai-js-0").hide();0!=ai_js_errors.length?jQuery(".ai-js-2").show():jQuery(".ai-js-1").show(); }; if (document.readyState === 'complete' || (document.readyState !== 'loading' && !document.documentElement.doScroll)) ai_run_951073324006 (); else document.addEventListener ('DOMContentLoaded', ai_run_951073324006);
- This reply was modified 4 years, 3 months ago by Marius L. J..
- This reply was modified 4 years, 3 months ago by Marius L. J.. Reason: Fix formatting
Hi, can you please hide my last message with my debugging code because it shows my username.
I’m sorry but only you or forum moderators can edit your posts.
For some time after posting when you hover over your post you should see Edit link in bottom right corner.To check insertions I need to check you page.
Please enable remote debugging and post page address.Hi,
I can’t edit the post because it has been modified by the moderator. Can you ask the moderator to edit or hide the post?
I have enabled remote debugging. https://justpublishingadvice.com/what-are-the-best-grammarly-alternatives-for-a-new-writer/
Contact for forum moderators
It seems that all the blocks are inserted according to the settings.
You can use debugging functions to diagnose insertions:
https://adinserter.pro/documentation/debuggingYour page with labeled positions and blocks:
https://justpublishingadvice.com/what-are-the-best-grammarly-alternatives-for-a-new-writer/?ai-debug-blocks=1&ai-debug-positions=1
However, you have
jQuery is not defined
error in the console.
Automptimize has moved it into own script with deferred loading.You should enable Wait for jQuery:
https://adinserter.pro/documentation/plugin-settings#wait-for-jqueryI tried wait for jquery and then even disabled Autoptimize. But neither worked. However, I then gave one more TOC plugin a try, Lucky Table of Contents, and there is no issue. It might be because there is an option to use DIV markers instead of li/ul.
I don’t know if some popular TOC plugins are using similar code that doesn’t play well with the new version of Ad Inserter.
But as this is an issue that is taking a lot of time chasing, I think I will stick with the new plugin and see what happens.- This reply was modified 4 years, 3 months ago by bobsled. Reason: Add marker info
Great, thank you.
The Wait for jQuerry setting will only prevent Javascript errors, has nothing to do with your insertions.
Yep, I understand. But I think using DIV list markup tags instead of li/ul is what solved the issue. Thanks for all your time and help. I’ll mark the issue as resolved.
- The topic ‘Insertions not woring correctly’ is closed to new replies.