• Resolved snippet24

    (@snippet24)


    Thank you for this, though I cant get it to work for more than one line. Also after saving changes I get the 404 custom theme error. in addition I’m getting these errors:

    Warning	Constant HDOM_TYPE_ELEMENT already defined	
    
        wp-content/plugins/optimize-more/vendor/ori-dom-parser.php:30
    
    	1	Plugin: optimize-more
    Warning	Constant HDOM_TYPE_COMMENT already defined	
    
        wp-content/plugins/optimize-more/vendor/ori-dom-parser.php:31
    
    	1	Plugin: optimize-more
    Warning	Constant HDOM_TYPE_TEXT already defined	
    
        wp-content/plugins/optimize-more/vendor/ori-dom-parser.php:32
    
    	1	Plugin: optimize-more
    Warning	Constant HDOM_TYPE_ENDTAG already defined	
    
        wp-content/plugins/optimize-more/vendor/ori-dom-parser.php:33
    
    	1	Plugin: optimize-more
    Warning	Constant HDOM_TYPE_ROOT already defined	
    
        wp-content/plugins/optimize-more/vendor/ori-dom-parser.php:34
    
    	1	Plugin: optimize-more
    Warning	Constant HDOM_TYPE_UNKNOWN already defined	
    
        wp-content/plugins/optimize-more/vendor/ori-dom-parser.php:35
    
    	1	Plugin: optimize-more
    Warning	Constant HDOM_QUOTE_DOUBLE already defined	
    
        wp-content/plugins/optimize-more/vendor/ori-dom-parser.php:36
    
    	1	Plugin: optimize-more
    Warning	Constant HDOM_QUOTE_SINGLE already defined	
    
        wp-content/plugins/optimize-more/vendor/ori-dom-parser.php:37
    
    	1	Plugin: optimize-more
    Warning	Constant HDOM_QUOTE_NO already defined	
    
        wp-content/plugins/optimize-more/vendor/ori-dom-parser.php:38
    
    	1	Plugin: optimize-more
    Warning	Constant HDOM_INFO_BEGIN already defined	
    
        wp-content/plugins/optimize-more/vendor/ori-dom-parser.php:39
    
    	1	Plugin: optimize-more
    Warning	Constant HDOM_INFO_END already defined	
    
        wp-content/plugins/optimize-more/vendor/ori-dom-parser.php:40
    
    	1	Plugin: optimize-more
    Warning	Constant HDOM_INFO_QUOTE already defined	
    
        wp-content/plugins/optimize-more/vendor/ori-dom-parser.php:41
    
    	1	Plugin: optimize-more
    Warning	Constant HDOM_INFO_SPACE already defined	
    
        wp-content/plugins/optimize-more/vendor/ori-dom-parser.php:42
    
    	1	Plugin: optimize-more
    Warning	Constant HDOM_INFO_TEXT already defined	
    
        wp-content/plugins/optimize-more/vendor/ori-dom-parser.php:43
    
    	1	Plugin: optimize-more
    Warning	Constant HDOM_INFO_INNER already defined	
    
        wp-content/plugins/optimize-more/vendor/ori-dom-parser.php:44
    
    	1	Plugin: optimize-more
    Warning	Constant HDOM_INFO_OUTER already defined	
    
        wp-content/plugins/optimize-more/vendor/ori-dom-parser.php:45
    
    	1	Plugin: optimize-more
    Warning	Constant HDOM_INFO_ENDSPACE already defined	
    
        wp-content/plugins/optimize-more/vendor/ori-dom-parser.php:46
    
    	1	Plugin: optimize-more
    Warning	Constant HDOM_SMARTY_AS_TEXT already defined	
    wp-content/plugins/optimize-more/vendor/ori-dom-parser.php:55
    • This topic was modified 9 months, 1 week ago by snippet24.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Arya Dhiratara

    (@aryadhiratara)

    Hi @snippet24,

    Sorry, for the late reply.

    For the “one line” issue, are you using Firefox? A friend of mine also told me that kind of issue in Firefox. If yes, it will be fix in the next update. Meanwhile, try to use another browser (maybe Chrome?)

    For the Constant HDOM_TYPE_ELEMENT already defined warning, my guess is there’s another plugin that use the same parser library (Simple HTML Dom Parser) but not adding / using if( !class_exists(‘simple_html_dom’ ) ) check, so both library run together (that’s why that constant already defined). Try to deactivate plugins one by one to find out, and ask the developer to add it ??

    Thread Starter snippet24

    (@snippet24)

    Hi! Thank you!

    For the “one line” issue, are you using Firefox?

    Yes I am. I noticed the new version, will try and report back ??

    check, so both library run together (that’s why that constant already defined). Try to deactivate plugins one by one to find out, and ask the developer to add it

    once the website is up again I m doing so, sorry that was the reason I didn’t reply sooner..

    Thread Starter snippet24

    (@snippet24)

    Nice Thank you!! I confirm new version fixes enter stuff and the errors are gone as well!!

    Also I did more tests and I discover some minor issues do I create another topic or just here let me know ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Pressing enter just adds a space instead of a new line’ is closed to new replies.