Every time when I want to make a new page or post I get this message: Fatal error: Call to undefined function wp_add_inline_script() in /public/sites/www.websitename.nl/wp-content/plugins/gp-premium/sections/functions/metaboxes/metabox-functions.php on line 159
What do I have to do, so I can go on with my site?
The best thing you can do is update WordPress to the latest version. Not only will it fix this error, it will also make your site considerably more secure.
A fallback has been implemented in the next version of GP Premium to prevent this error on old installations.