Support » Plugin: TablePress » Plugin Option Page

  • Resolved wpodeskstar

    (@wpodeskstar)


    Today when I updated my plugin options page, I got the message “options saved successfully” but now will only displaying 109 lines of text (there are should be around 992 lines of code).

    I have disabled/reenable the plugin (version 1.1) and tried an alternate theme. I have the latest version of wordpress.

    When I try to copy the code back there is a message at line 995 with red x “expected RBRACE at line 995, col3.”

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    That message with the red x means that there’s a closing brace (probably a } or )) missing somewhere in your CSS code – in line 995, according to that error message.

    However, that should not cause the CSS to be stripped down to 109 lines…

    Can you maybe post your full CSS at e.g. https://pastebin.com/ and post a link here?

    Regards,
    Tobias

    Thread Starter wpodeskstar

    (@wpodeskstar)

    Hi Tobias, Thanks for the quick response.

    Here is the link to the code https://pastebin.com/qkZcDmkr

    I found the missing bracket on line 109 and fix it and now file seems to be saving just fine.

    Guess that’s why it stopped saving on that line.

    Very glad I had a backup.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    great! Good to hear that this fixed it!
    Yes, it might be possible that this error then threw off the parser and sanitizer, so that it erroneously removed the code after that.

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin Option Page’ is closed to new replies.