WordPress.org

Ready to get started?Download WordPress

Forums

CSS Plus
[resolved] Receive warning at top of page - create new posts (16 posts)

  1. gozigzag
    Member
    Posted 1 year ago #

    Activating version 1.4.1 of CSS Plus, I receive the following warning when add new post or page. It does not show error if editing page already created.

    Warning: Missing argument 2 for css_plus_plugin_save_post() in /home/content/44/4787244/html/photo/wp-content/plugins/css-plus/css-plus.php on line 188
    
    Warning: Missing argument 2 for css_plus_plugin_save_post() in /home/content/44/4787244/html/photo/wp-content/plugins/css-plus/css-plus.php on line 188

    http://wordpress.org/extend/plugins/css-plus/

  2. paulo4lzn
    Member
    Plugin Author

    Posted 1 year ago #

    How WordPress version you use?

  3. jarmerson
    Member
    Posted 1 year ago #

    I am having the same problem after update to plugin. No blank spaces in either file.

    I also get a second missing argument error, here are both.

    Latest v WPMU and CSS Plus

    'Warning: Missing argument 2 for css_plus_plugin_save_post() in /home/iemajen/public_html/wp-content/plugins/css-plus/css-plus.php on line 188

    Warning: Cannot modify header information - headers already sent by (output started at /home/iemajen/public_html/wp-content/plugins/css-plus/css-plus.php:188) in /home/iemajen/public_html/wp-includes/pluggable.php on line 876'

  4. Christopher Su
    Member
    Posted 1 year ago #

    I'm getting this same error:

    Warning: Missing argument 2 for css_plus_plugin_save_post() in /home/~username~/public_html/wp-content/plugins/css-plus/css-plus.php on line 188
    
    Warning: Missing argument 2 for css_plus_plugin_save_post() in /home/~username~/public_html/wp-content/plugins/css-plus/css-plus.php on line 188
    
    Warning: Missing argument 2 for css_plus_plugin_save_post() in /home/~username~/public_html/wp-content/plugins/css-plus/css-plus.php on line 188
    
    Warning: Missing argument 2 for css_plus_plugin_save_post() in /home/~username~/public_html/wp-content/plugins/css-plus/css-plus.php on line 188
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/~username~/public_html/wp-content/plugins/css-plus/css-plus.php:188) in /home/~username~/public_html/wp-includes/pluggable.php on line 876
  5. paulo4lzn
    Member
    Plugin Author

    Posted 1 year ago #

    Christopher Su, how WordPress version you use?

  6. krushen
    Member
    Posted 1 year ago #

    Same problem here

  7. gozigzag
    Member
    Posted 1 year ago #

    I was using 3.5.1

  8. cityweb
    Member
    Posted 1 year ago #

    I too have the same problem
    WordPress 3.5.1

    Warning: Missing argument 2 for css_plus_plugin_save_post() in /var/www/vhosts/********/httpdocs/wp-content/plugins/css-plus/css-plus.php on line 188
    
    Warning: Missing argument 2 for css_plus_plugin_save_post() in /var/www/vhosts/********/httpdocs/wp-content/plugins/css-plus/css-plus.php on line 188
    
    Warning: Missing argument 2 for css_plus_plugin_save_post() in /var/www/vhosts/********/httpdocs/wp-content/plugins/css-plus/css-plus.php on line 188
    
    Warning: Missing argument 2 for css_plus_plugin_save_post() in /var/www/vhosts/*******.com/httpdocs/wp-content/plugins/css-plus/css-plus.php on line 188
    
    Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/********/httpdocs/wp-content/plugins/css-plus/css-plus.php:188) in /var/www/vhosts/********/httpdocs/wp-includes/pluggable.php on line 876
  9. paulo4lzn
    Member
    Plugin Author

    Posted 1 year ago #

    I not found this problem, yet.
    Please, open css-plus.php and replace the line 188 and 192 the variable $post_type_id to $post_id. After, let me know if solved.
    Thanks.

  10. jarmerson
    Member
    Posted 1 year ago #

    I've replaced line 188 and 192 the variable $post_type_id to $post_id

    No luck :(

    WPMU 3.5.1

    CSS Plus 1.4.1

  11. jarmerson
    Member
    Posted 1 year ago #

    BTW paulo4lzn the plugin is awesome! Thanks so much for your contribution!

  12. cityweb
    Member
    Posted 1 year ago #

    does not work

  13. paulo4lzn
    Member
    Plugin Author

    Posted 1 year ago #

    My plugin works without error.
    Please comment the line 185 that contains the function add_action, wp_insert_post.
    I want to make sure the problem is fixed before upload the version 1.4.2 with correction.

  14. paulo4lzn
    Member
    Plugin Author

    Posted 1 year ago #

    Help for this problem here. Use the version 1.4.2 or lastest.

  15. emajen
    Member
    Posted 1 year ago #

    YES! Thank you very much!

  16. cityweb
    Member
    Posted 1 year ago #

    Perfect
    Great
    Thank you very much!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic