Back to Maintenance Support

amreed8
amreed8

Greetings,

When I enter the Maintenance plugin, this error shows up:

"The reserved indicator "@" cannot start a plain scalar; you need to quote the scalar at line 28 (near "path: @/plugins/shahiemseymor/maintenance/models/settings/_url.htm")." on line 259 of /home/metroren/public_html/vendor/symfony/yaml/Inline.php

Thank you in advance.

msalguer19014
msalguer19014

Me too happens to me sometimes. View another bug that I'll post.

creg33270
creg33270

Even though the contributions are quite old. The bug can be fixed as follows: under ..plugins/shahiemseymor/pflege/modelle/settings/fields.yaml in line 28 replace the following line: path: @/plugins/shahiemseymor/maintenance/models/settings/_url.htm with path: $/shahiemseymor/maintenance/models/settings/_url.htm

You should also remove (replace) the second colon in line 99: comment: Color Markers: _BGCOLOR Use this code for background color | _TXTCOLOR Use this code for text color

Maintenance Plugin version: 1.0.9 on October version: 443 Evaluated on: 2018-11-30

josto111
josto111

Did the 1 step - changed the @ to $ - ok The 2nd step with removing - "comment: Color Markers: _BGCOLOR Use this code for background color | _TXTCOLOR Use this code for text color" is not working - without this error message plugin is not workig and even with this text the plugin is not working as well

Getting this error - ""A colon cannot be used in an unquoted mapping value at line 99 (near "comment: Color Markers: _BGCOLOR Use this code for background color | _TXTCOLOR Use this code for text color")." on line 702 of /nfsmnt/hosting1_1/1/3/13505013-ed30-41f8-9043-5c70b425d6a3/gensedklinik.cz/sub/test/vendor/symfony/yaml/Parser.php"

What am i supposted to do ? Thanks for help

josto111
josto111

So i fixed it but this needs to be done - on update or re-vision of this plugin Steps to fix :

  1. under ..plugins/shahiemseymor/pflege/modelle/settings/fields.yaml in line 28 replace the following line: path: @/plugins/shahiemseymor/maintenance/models/settings/_url.htm with path: $/shahiemseymor/maintenance/models/settings/_url.htm
    • /plugins/ is really important that needs to be deleted from url and also @ to $
  2. in ti same file "plugins/shahiemseymor/pflege/modelle/settings/fields.yaml" change this - > "Color Markers: _BGCOLOR Use this code for background color | _TXTCOLOR Use this code for text color" to this - > "Color Markers _BGCOLOR Use this code for background color | _TXTCOLOR Use this code for text color"
    • basically remove "colon (:) " from the text

All this change can be fixed in new version or update - so please consider this

1-5 of 5