Carousel Addon / Project Page
-
Hi everybody,
I have just installed the theme and right now i'm trying to save an project page with an carousel. after clicking on save the error message appears
Fatal error: Uncaught ArgumentCountError: Too few arguments to function wpdb::prepare(), 1 passed in /www/htdocs/w0137f02/neu/wp-content/themes/lay/updatejson/update_thumbnails.php on line 28 and exactly 2 expected in /www/htdocs/w0137f02/neu/wp-includes/wp-db.php:1222 Stack trace: #0 /www/htdocs/w0137f02/neu/wp-content/themes/lay/updatejson/update_thumbnails.php(28): wpdb->prepare('SELECT * FROM w...') #1 /www/htdocs/w0137f02/neu/wp-content/themes/lay/updatejson/update_thumbnails.php(218): LayUpdateThumbnails::get_gridder_json_values(false) #2 /www/htdocs/w0137f02/neu/wp-includes/class-wp-hook.php(286): LayUpdateThumbnails::update_thumbnail_everywhere(1, Object(WP_Post), Object(WP_Post)) #3 /www/htdocs/w0137f02/neu/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #4 /www/htdocs/w0137f02/neu/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /www/htdocs/w0137f02/neu/wp-includes/post.php(3647): do_action('post_updated', 1, Object(WP_Post), Object(WP_Post)) #6 /www/htdocs/w0137f02/neu/wp-includ in /www/htdocs/w0137f02/neu/wp-includes/wp-db.php on line 1222
can someone help me?
Best regards,
Pascal -
the same error occurs again when saving a single project.
Fatal error: Uncaught ArgumentCountError: Too few arguments to function wpdb::prepare(), 1 passed in /www/htdocs/w0137f02/neu/wp-content/themes/lay/updatejson/update_thumbnails.php on line 28 and exactly 2 expected in /www/htdocs/w0137f02/neu/wp-includes/wp-db.php:1222 Stack trace: #0 /www/htdocs/w0137f02/neu/wp-content/themes/lay/updatejson/update_thumbnails.php(28): wpdb->prepare('SELECT * FROM w...') #1 /www/htdocs/w0137f02/neu/wp-content/themes/lay/updatejson/update_thumbnails.php(218): LayUpdateThumbnails::get_gridder_json_values(false) #2 /www/htdocs/w0137f02/neu/wp-includes/class-wp-hook.php(286): LayUpdateThumbnails::update_thumbnail_everywhere(147, Object(WP_Post), Object(WP_Post)) #3 /www/htdocs/w0137f02/neu/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #4 /www/htdocs/w0137f02/neu/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /www/htdocs/w0137f02/neu/wp-includes/post.php(3647): do_action('post_updated', 147, Object(WP_Post), Object(WP_Post)) #6 /www/htdocs/w0137f02/neu/wp-in in /www/htdocs/w0137f02/neu/wp-includes/wp-db.php on line 1222
What can I do???
-
Dear @PascalKueppers
did you test the website on your local computer?
Looks like a Server issue…Best!
Marius
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it