Forum Replies Created
-
AuthorPosts
-
March 28, 2018 at 7:21 am in reply to: Plugin produces errors in /metaboxes/default-content.php in line 111 to 114 #17333
microTOOL
ParticipantHi again, Ernest,
I uploaded your first solution to our website today and it seems that the error is gone. We will have to try it some more but I guess that your changes fixed the error.
Thanks a lot,
PatrickMarch 27, 2018 at 3:53 pm in reply to: Plugin produces errors in /metaboxes/default-content.php in line 111 to 114 #17321microTOOL
ParticipantHi Ernest,
thanks for the quick help. I will try that tomorrow, early in the morning (German time), since I am already off work for today.
I’ll let you know about the solutions.
best regards,
Patrick-
This reply was modified 8 years, 2 months ago by
microTOOL.
March 21, 2018 at 1:00 pm in reply to: As of today results are being displayed vertically instead of next to each other #17208microTOOL
ParticipantThanks for the quick help! I could figure it out with your help. It wasn’t the Easy Social Share Button Plugin even though I didn’t like it that much, because it had some small errors like the one that you pointed to. So I deleted the plugin and installed “Monarch” by ElegantThemes for doing the same thing. But that didn’t resolve the problem.
So I looked again at your screenshot of the console and tried to see, what differences are there to my console and what may cause the problem, because it still is in both consoles. It was the unexpected token ‘:’ thing.
On the website we make use of the SEO Framework Plugin by Sybre Waaijer. We use that for about a year now and it was never a problem. Though yesterday, I actived the “Breadcrumbs” option in that plugin, to help adding breadcrumbs to our pages automatically (for google). The problem is, that the pages then include something like this:
[code]
{"@context":"http://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"https://www.microtool.de/","name":"Erfolgreich. Mit Software von microTOOL!","image":"https://www.microtool.de/wp-content/uploads/2016/05/Erfolgreich-Mit-Software-von-microTOOL.png"}},{"@type":"ListItem","position":2,"item":{"@id":"https://www.microtool.de/requirements/","name":"Requirements Engineering"}},{"@type":"ListItem","position":3,"item":{"name":"Spurensuche in der Vergangenheit – microTOOL Blog","image":"https://www.microtool.de/wp-content/uploads/2018/03/spurensuche_share-1.jpg"}}]}
[/code]which then results in this error in the console:
[code]SyntaxError: unexpected token: ‘:’ die-last-mit-dem-lastenheft:884:11[/code]It seems, that the schema is not included correctly, as the browser does not know what to do with the ‘:’s in the schema code. And that breaks your plugin then (even though the scope option is activated).
Thank you very much for your help and for pointing me to the problematic things that went wrong. I was looking for that in the wrong directions. (And I guess, I could activate the plugins on the other pages again after deactivating the breadcrumbs functionallity there as well.)
Best regards,
Patrick @ microTOOL -
This reply was modified 8 years, 2 months ago by
-
AuthorPosts