WordPress.org

Ready to get started?Download WordPress

Forums

Crayon Syntax Highlighter
[resolved] bugs (3 posts)

  1. thomask
    Member
    Posted 1 year ago #

    1. Notice: Undefined variable: langs in /var/www/projects/zdrojak/htdocs/public/soubory/plugins/crayon-syntax-highlighter/util/list_posts.php on line 16

    2. i am not sure if it is your bug, but it does not appear with other plugins: when updating, it shows error, that has_cap was used with parameter, which is not used since 2.0 (it does not show the file and line number, so i can't say if it is not of other plugin which may affect your updates).

    3. Warning: touch(): Unable to create file /var/www/projects/zdrojak/htdocs/public/soubory/plugins/crayon-syntax-highlighter/log.txt because Operace zamítnuta in /var/www/projects/zdrojak/htdocs/public/soubory/plugins/crayon-syntax-highlighter/crayon_settings_wp.class.php on line 803 The log is currently empty. The log file does not exist and is not writable.

    4. setting page did't load for me completely, it always hanged on tag editor with no error notice. when i put return at the begining of tag_editor function ,the rest of settings page loaded normaly (but anyway for quite long time). i have few thousands of articles, i am not sure if it may be reason.

    http://wordpress.org/extend/plugins/crayon-syntax-highlighter/

  2. akarmenia
    Member
    Plugin Author

    Posted 1 year ago #

    I believe all but 4 are taken care of. I'm working on getting a better way to handle legacy posts, so number won't happen. At the moment it searches through each post for crayons on each reload of the settings, but I've now made a set of functions that checks if legacy tags exist only on a single post being saved (and only for that post) per post. I've added a refresh button on the settings which will allow you to check for crayons in all posts if you really want to. I should release it shortly.

  3. akarmenia
    Member
    Plugin Author

    Posted 1 year ago #

    Try the latest dev build:

    https://github.com/aramkocharyan/crayon-syntax-highlighter/archive/master.zip

    The settings page no longer searches through all posts looking for legacy tags until you hit a new "refresh" button. Refreshing will look through all posts for crayon tags, and also mark any that are legacy tags. The same process occurs on an individual basis when saving a post.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags