• Hi,

    I am trying to add a new snippet but when I try to add code to the Enter the code for your snippet text field in the Base Option section of the ADD NEW page I don’t get a cursor and can’t enter any text into the field.

    I can access all other option…

    Title
    Where to execute
    Description.

    Thanks
    Chris

    • This topic was modified 7 years, 10 months ago by christfgg. Reason: submitted to early
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author webcraftic

    (@webcraftic)

    Hi,
    When you edit a new snippet, simply open the developer panel in your browser. Take a screenshot of the panel on the “console” tab and attach a screenshot so I can understand what the problem is.

    How to open the console of the developer? Look at this article:
    https://kb.mailster.co/how-can-i-open-the-browsers-console/

    Best regards, Alex

    Thread Starter christfgg

    (@christfgg)

    Hi unfortuantely there is no option to add a screenshot on the forum but below is the text as shown on the console…

    JQMIGRATE: Migrate is installed, version 1.4.1
    codemirror.js?ver=2.0.4:1 Uncaught TypeError: Cannot read property ‘attach’ of undefined
    at Object.keyMap (codemirror.js?ver=2.0.4:1)
    at new _l (codemirror.js?ver=2.0.4:1)
    at _l (codemirror.js?ver=2.0.4:1)
    at Function._l.fromTextArea (codemirror.js?ver=2.0.4:1)
    at VM1625 post-new.php:1341
    (anonymous) @ codemirror.js?ver=2.0.4:1
    _l @ codemirror.js?ver=2.0.4:1
    _l @ codemirror.js?ver=2.0.4:1
    _l.fromTextArea @ codemirror.js?ver=2.0.4:1
    (anonymous) @ VM1625 post-new.php:1341

    spinner-1x.gif:1 GET https://thetanningshop.co.uk/wp-admin/images/spinner-1x.gif 404 (Not Found)

    If you need a screenshot can you provide an e-mail address or alternative method.

    Thanks
    Chris

    Plugin Author webcraftic

    (@webcraftic)

    Hi,

    I think this problem can be due to conflicts with one of your plug-ins, try to disable all the plugins except mine and check whether it works for you or not?

    If this is a conflict of plugins, try to determine which plug-in causes the problem and I will fix this error.

    Also, write down which version of WordPress you are using.

    Thank you for reporting bugs

    Best regards, Alex

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Can’t enter PHP Snippet in text box.’ is closed to new replies.