Jupiter X 1.6 + Elementor 2.6.2 (and elementor pro 2.5.9)


Just updated from Jupiter X 1.4 to 1.6 (all plugin updated also) and from elementor 2.5.16 to 2.6.2, and found an issue with raven plugin: at every page load I have a PHP warning saying:

“elementor/post-css-file/parse is deprecated since version 2.0.0! Use elementor/css-file/post/parse instead. in […]/wp-includes/functions.php on line 4711, referer: http://[…]/wp-admin/post.php?post=20&action=elementor”

I’ve managed to track down the problem to raven/modules/custom-scripts/module.php on line 15:

add_action( 'elementor/post-css-file/parse', [ $this, 'page_custom_css' ] );

I’ve fixed the issue changing that line like this:

add_action( 'elementor/css-file/post/parse', [ $this, 'page_custom_css' ] );


I’ve got the same deprecated notice. Thanks for posting.


Well, it’s just a notice of deprecation and not any error that will mess up the site.
Anyways, the solution is very handy.
Thank you for the solution :slightly_smiling_face:


Thank you really much!

Can you tell me how you found the file?
Because it worked for me, but now I got the message again, maybe there is more files causing it?


Make a text search for “post-css-file” in themes and/or plugins folders. That’s the way I found it in raven plugin.