Support » Plugin: Jetpack by » Upgrade brings missing aurgument error

  • Resolved PinkCakePlate


    Below is the error I now have before every post. I upgraded yesterday and even in researching and editing my media file size it has not cleared the issue.
    Warning: Missing argument 3 for Jetpack_Custom_CSS::editor_max_image_size() in /home/content/73/6194873/html/wp-content/plugins/jetpack/modules/custom-css/custom-css.php on line 1147

    I am not educated enough to comfortably edit code but with a clear process I might be able to. And unfortunately I do not know how to do a “roll back” to an earlier version.

    My URL is
    Thank you for your help. I love this plug in and hate to not be able to use it.

Viewing 15 replies - 1 through 15 (of 26 total)
  • I have the exact same problem when I upload a photo. And I can’t post my post url to facebook for social media. I’m having to deactivate jetpack, but would love to be able to use it. I don’t know how to do a roll back either to an earlier version. My url is

    Same problem here. It’s causing my image slider to mess up.

    Okay, so I’ve been able to fix this by changing line 1132 from:
    static function revision_post_link( $post_link, $post_id, $context ) {
    static function revision_post_link( $post_link, $post_id, $context='' ) {

    in the file /wp-content/plugins/jetpack/modules/custom-css/custom-css.php



    Thank you I am gonna give it a try wish me luck!

    I don’t have any idea where to even find these lines, which makes me a little nervous. I may have to stop using jetpack if it involves me having to do coding !



    I couldnt find it so I had to deactivate the plug in for now. I cant have the errors showing on my blog! 🙁

    The problem is happening with the Custom CSS module of Jetpack. If you can’t modify the code, then you only need to turn the Custom CSS module off, not all of Jetpack.



    It wasn’t enabled to begin with.

    We’re seeing this error only if you are a logged-in user.

    I don’t understand what you mean??

    To clarify, this Missing argument error doesn’t appear to casual site visitors. If you are logged into the site (probably as the site’s admin), and look at the homepage, you will see the errors.

    Wimpy Veg, the OP’s problem has to do with errors appearing on the live site, not with errors related to post updating or admin-area errors. These may indeed be related, but you may find better assistance opening that as a separate thread.

    I understand that this error code is only showing up if we are logged into the back end of our site.
    The question still remains … how do we fix the error?

    I am not inclined to jump into my CSS and alter the area unless someone can tell me specifically how to changes it. My CSS isn’t numbered in lines when I go to my Jetpack CSS and there are a ton of functions on the right hand side. I’m not sure which one to even change.

    For now I have Jetpack disabled.

    Has anyone found a solution to this?

    If I disable jetpack, how does that affect my subscriptions? I have a ton of people subsribed to my blog through jetpack’s subscription services. I’m with nayajean, i’m not inclined to jump into my CSS unless the directions are specific on what to do.

    The ‘fix’ is not about ‘jumping into your CSS’. It’s about actually changing a PHP source code file on your server using a text editor that will number the lines of code.

    Where do I find the PHP source code file??? And where is a text editor??

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘Upgrade brings missing aurgument error’ is closed to new replies.