Warning error by new update
-
Hi,
Since the update i have an error.
Warning: sizeof(): Parameter must be an array or an object that implements Countable in wp-content/plugins/waymark/inc/Waymark_Config.php on line 161
Maybe you can check.
-
Hi @cameraspots1,
Thanks for bringing this to my attention. I am not seeing this anywhere on my end, so I am unable to replicate.
From the error I have created a release with a possible fix, which you can download here. In order to install this version you will need to either manually install it, or use a plugin that allows you to upload it through the WP Admin.
If this does not resolve your issue please provide as many details as possible about where and when you are seeing this error.
Thanks,
Joe
Solved!
I change only the Waymark_Config.php with your downloaded file. So a new manual installation was not necessary.
And your mapbox key tutorial for basemaps is working very well!
Maybe for others users you can put a link to your tutorial after the question mark in settings/basemaps. Now it is going directly to thunderforest. But this is only an idea.Good job
Many thanks!
- This reply was modified 3 years, 11 months ago by cameraspots1.
Hi @cameraspots1,
I change only the Waymark_Config.php with your downloaded file. So a new manual installation was not necessary.
Glad that fix the issue, I will be sure to include the fix in the next update.
Maybe for others users you can put a link to your tutorial after the question mark in settings/basemaps.
Good idea, I will look at improving this.
Thanks,
Joe
Hello
I get quite the same error, even after loading your fix :
Warning: sizeof(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/waymark/inc/Waymark_Config.php on line 157 Warning: sizeof(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/waymark/inc/Waymark_Config.php on line 161 Warning: sizeof(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/waymark/inc/Waymark_Config.php on line 157 Warning: sizeof(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/waymark/inc/Waymark_Config.php on line 161 Warning: sizeof(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/waymark/inc/Waymark_Config.php on line 157 Warning: sizeof(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/waymark/inc/Waymark_Config.php on line 161 Warning: sizeof(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/waymark/inc/Waymark_Config.php on line 157 Warning: sizeof(): Parameter must be an array or an object that implements Countable in /wp-content/plugins/waymark/inc/Waymark_Config.php on line 161
This set of warning appears at 2 different locations :
1/ above title
2/ between the picture you choose to illustrate the post (sorry, I don’t know the English wording, in French: image mise en avant) and the textmy config :
Wordpress V 5.6 French
template : Screenr , but not relevant as I tried others and the same happenedMay you help ?
Otherwise, it would be fine if you enrich the available icons to better differentiate, for example : churches, castles, museums, gardens,…
Thanks
Patrice
Hi Patrice,
Thanks for the details. Judging from the line numbers in the error messages, these appear to be from the plugin before the fix. Could you provide any errors you are getting with the 0.9.15-config_fix version activated?
Cheers,
Joe
Hello,
it is working. I don’t know what happened as I changed the config.php file yesterday evening before posting to you. Either a wrong doing or not enough time for the server to update ?
Anyway, anything is fine. Thanks for your help and this plugin
Patrice
Hello
it’s me again.
I just noticed a small detail : I’m in the process of testing new templates. Whenever I test a new template (Preview ? button, near the Activate ? one) , I get some messages, but too quickly to be 100% sure they are the same and to be bothering.
Patrice
I notice another issue. Somme templates interact with your plugin :
– the map is shown
– the GPS trackis invisible
– the labels are shown (start,finish,beer …)as an example :
– Screenr template OK
– MIK no OKPatrice
Hi @shadocmotard,
I get some messages, but too quickly to be 100% sure they are the same and to be bothering.
Try viewing the HTML source of the page, you might find them there. Alternatively, PHP error messages should be logged, but these might take a little finding on your setup.
If these are Waymark related errors, but different from the ones shown above please can you provide them in a different support topic with as many details as possible?
I notice another issue. Somme templates interact with your plugin :
– the map is shown
– the GPS trackis invisible
– the labels are shown (start,finish,beer …)Please can you create a separate support topic for this and provide a link to your site so I can see this?
Thanks,
Joe
Hi
I get some messages, but too quickly to be 100% sure they are the same and to be bothering.
Try viewing the HTML source of the page, you might find them there. Alternatively, PHP error messages should be logged, but these might take a little finding on your setup.
It seems that the messages are not relatedto you. Here they are (some in French, sorry)
Cette page utilise la propriété non standard ? zoom ?. Envisagez d’utiliser calc() dans les valeurs des propriétés pertinentes ou utilisez ? transform ? avec ? transform-origin: 0 0 ?. customize.php
JQMIGRATE: Migrate is installed, version 3.3.2 jquery-migrate.min.js:2:709
Content Security Policy: ? x-frame-options ? ignoré en raison de la directive ? frame-ancestors ?.Un iframe possédant à la fois allow-scripts et allow-same-origin pour son attribut sandbox peut se retirer du mode bac à sable (sandboxing). customize.php
Cette page utilise la propriété non standard ? zoom ?. Envisagez d’utiliser calc() dans les valeurs des propriétés pertinentes ou utilisez ? transform ? avec ? transform-origin: 0 0 ?. https://www.lesrouestournent.com
JQMIGRATE: Migrate is installed, version 3.3.2 jquery-migrate.min.js:2:709
Uncaught TypeError: s is null
<anonymous> https://c0.wp.com/p/jetpack/9.2.1/_inc/build/widgets/eu-cookie-law/eu-cookie-law.min.js:2
<anonymous> https://c0.wp.com/p/jetpack/9.2.1/_inc/build/widgets/eu-cookie-law/eu-cookie-law.min.js:2
eu-cookie-law.min.js:2:210
échec du chargement pour l’élément <script> dont la source est ? https://connect.facebook.net/fr_FR/sdk.js#xfbml=1&appId=249643311490&version=v2.3 ?. https://www.lesrouestournent.com:1:1
La ressource à l’adresse ? https://platform.twitter.com/widgets.js ? a été bloquée car le blocage de contenu est activé.Please can you create a separate support topic for this and provide a link to your site so I can see this?
done
- This reply was modified 3 years, 11 months ago by shadocmotard.
Hi Joe,
I also had an error start coming up after updating your plugin. It appeared at the top of the page beneath the header menu and was exactly the same the first poster, except mine read ‘line 157’.
I downloaded the fix you provided and swapped in only the newer Waymark.php file – this has fixed the issue.
Cheers,
Jordan
Hi @jmillernz,
Thanks for posting about this.
I downloaded the fix you provided and swapped in only the newer Waymark.php file – this has fixed the issue.
Do you mean you swapped out the Waymark_Config.php file? As Waymark.php was unchanged in the fix.
I’m glad the fix worked for you, I plan on pushing it out for everyone shortly.
Cheers,
Joe
- The topic ‘Warning error by new update’ is closed to new replies.