-
Closed
-
I created a Gallery Post with 6 images and I see a shaded box with the following code where the post summary normally is:
#gallery-1 { margin: auto; } #gallery-1 .gallery-item { float: left; margin-top: 10px; text-align: center; width: 33%; } #gallery-1 img { border: 2px solid #cfcfcf; } #gallery-1 .gallery-caption { margin-left: 0; } /* see gallery_shortcode() in wp-includes/media.php */ [...]I have a few other posts which are fine on the same page as it is set to show a grid of 6 latest posts.
Any help would be appreciated.
This showing up in my posts slide show using the flex slider in the sidebar widget area as well.
This site is not live as it is in Development behind 2 DMZ’s so I cant give you a look other then a Screen shot. How do I get you an attachment?
I would need to see a live website….screenshot cannot help either 🙁
Perhaps the output of my apache error log then.
Mint-DevServer wp-content # tail -f /var/log/apache2/error.log
[Thu Apr 02 23:38:47.280429 2015] [:error] [pid 24578]
PHP Warning: array_map(): Argument #2 should be an array in /var/www/html/ascending-path.com/wp-content/themes/evolve-plus/library/plugins/t4p-flexslider/widgets/widget-wooslider-base.php on line 186, referer: http://www.ascending-path.com/wp-admin/widgets.php
[Thu Apr 02 23:39:33.174267 2015] [:error] [pid 24563]
WordPress database error Table 'wordpress6.wp_layerslider' doesn't exist for query SELECT * FROM wp_layerslider\n\t\t\t\t\t\t\t\t\tWHERE flag_hidden = '0' AND flag_deleted = '0'\n\t\t\t\t\t\t\t\t\tORDER BY date_c ASC made by include('wp-admin/edit-form-advanced.php'), do_meta_boxes, call_user_func, evolve_ThemeFrameworkMetaboxes->evolve_page_options, require_once('/themes/evolve-plus/library/functions/page_options.php'), referer: http://www.ascending-path.com/wp-admin/edit.php?post_type=page
[Thu Apr 02 23:40:22.400047 2015] [:error] [pid 24556]
WordPress database error Table 'wordpress6.wp_layerslider' doesn't exist for query SELECT * FROM wp_layerslider\n\t\t\t\t\t\t\t\t\tWHERE flag_hidden = '0' AND flag_deleted = '0'\n\t\t\t\t\t\t\t\t\tORDER BY date_c ASC made by include('wp-admin/edit-form-advanced.php'), do_meta_boxes, call_user_func, evolve_ThemeFrameworkMetaboxes->evolve_page_options, require_once('/themes/evolve-plus/library/functions/page_options.php'), referer: http://www.ascending-path.com/wp-admin/post.php?post=6&action=edit
[Thu Apr 02 23:41:35.656518 2015] [:error] [pid 24631]
PHP Warning: array_map(): Argument #2 should be an array in /var/www/html/ascending-path.com/wp-content/themes/evolve-plus/library/plugins/t4p-flexslider/widgets/widget-wooslider-base.php on line 186, referer: http://www.ascending-path.com/wp-admin/widgets.php
[Thu Apr 02 23:41:35.656561 2015] [:error] [pid 24631]
PHP Warning: array_map(): Argument #2 should be an array in /var/www/html/ascending-path.com/wp-content/themes/evolve-plus/library/plugins/t4p-flexslider/widgets/widget-wooslider-base.php on line 186, referer: http://www.ascending-path.com/wp-admin/widgets.php
[Fri Apr 03 14:18:56.253752 2015] [:error] [pid 24586]
WordPress database error Table 'wordpress6.wp_layerslider' doesn't exist for query SELECT * FROM wp_layerslider\n\t\t\t\t\t\t\t\t\tWHERE flag_hidden = '0' AND flag_deleted = '0'\n\t\t\t\t\t\t\t\t\tORDER BY date_c ASC made by include('wp-admin/edit-form-advanced.php'), do_meta_boxes, call_user_func, evolve_ThemeFrameworkMetaboxes->evolve_post_options, require_once('/themes/evolve-plus/library/functions/page_options.php'), referer: http://www.ascending-path.com/favoured-weekly-photos/
[Fri Apr 03 14:19:19.867137 2015] [:error] [pid 24594]
WordPress database error Table 'wordpress6.wp_layerslider' doesn't exist for query SELECT * FROM wp_layerslider\n\t\t\t\t\t\t\t\t\tWHERE flag_hidden = '0' AND flag_deleted = '0'\n\t\t\t\t\t\t\t\t\tORDER BY date_c ASC made by include('wp-admin/edit-form-advanced.php'), do_meta_boxes, call_user_func, evolve_ThemeFrameworkMetaboxes->evolve_post_options, require_once('/themes/evolve-plus/library/functions/page_options.php'), referer: http://www.ascending-path.com/wp-admin/post.php?post=93&action=edit
[Fri Apr 03 14:19:40.898044 2015] [:error] [pid 24563]
WordPress database error Table 'wordpress6.wp_layerslider' doesn't exist for query SELECT * FROM wp_layerslider\n\t\t\t\t\t\t\t\t\tWHERE flag_hidden = '0' AND flag_deleted = '0'\n\t\t\t\t\t\t\t\t\tORDER BY date_c ASC made by include('wp-admin/edit-form-advanced.php'), do_meta_boxes, call_user_func, evolve_ThemeFrameworkMetaboxes->evolve_post_options, require_once('/themes/evolve-plus/library/functions/page_options.php'), referer: http://www.ascending-path.com/wp-admin/post.php?post=93&action=edit&message=1
[Fri Apr 03 14:20:27.155635 2015] [:error] [pid 37458]
WordPress database error Table 'wordpress6.wp_layerslider' doesn't exist for query SELECT * FROM wp_layerslider\n\t\t\t\t\t\t\t\t\tWHERE flag_hidden = '0' AND flag_deleted = '0'\n\t\t\t\t\t\t\t\t\tORDER BY date_c ASC made by include('wp-admin/edit-form-advanced.php'), do_meta_boxes, call_user_func, evolve_ThemeFrameworkMetaboxes->evolve_post_options, require_once('/themes/evolve-plus/library/functions/page_options.php'), referer: http://www.ascending-path.com/wp-admin/edit.php
[Fri Apr 03 14:21:56.220244 2015] [:error] [pid 37466]
WordPress database error Table 'wordpress6.wp_layerslider' doesn't exist for query SELECT * FROM wp_layerslider\n\t\t\t\t\t\t\t\t\tWHERE flag_hidden = '0' AND flag_deleted = '0'\n\t\t\t\t\t\t\t\t\tORDER BY date_c ASC made by include('wp-admin/edit-form-advanced.php'), do_meta_boxes, call_user_func, evolve_ThemeFrameworkMetaboxes->evolve_post_options, require_once('/themes/evolve-plus/library/functions/page_options.php'), referer: http://www.ascending-path.com/wp-admin/post.php?post=93&action=edit
This what I get from clicking on the Blog page to show me the 4 grid posts. (I changed it to 4 per your recommendation in the theme layout for blogs page.
[Fri Apr 03 14:43:41.608261 2015] [:error] [pid 37673]
PHP Warning: array_map(): Argument #2 should be an array in /var/www/html/ascending-path.com/wp-content/themes/evolve-plus/library/plugins/t4p-flexslider/widgets/widget-wooslider-base.php on line 186, referer: http://www.ascending-path.com/wp-admin/widgets.php
This dose not happen when I view the Category for which this post is assigned to. Everything looks great on the Category view and there is a difference because on that page I am not showing the blog posts flexslider in the sidebar widget area.
I am also wondering why the code is making a SQL call to a table that does not exist when trying edit the post?
[Fri Apr 03 14:21:56.220244 2015] [:error] [pid 37466]
WordPress database error Table 'wordpress6.wp_layerslider' doesn't exist for query SELECT * FROM wp_layerslider\n\t\t\t\t\t\t\t\t\tWHERE flag_hidden = '0' AND flag_deleted = '0'\n\t\t\t\t\t\t\t\t\tORDER BY date_c ASC made by include('wp-admin/edit-form-advanced.php'), do_meta_boxes, call_user_func, evolve_ThemeFrameworkMetaboxes->evolve_post_options, require_once('/themes/evolve-plus/library/functions/page_options.php'), referer: http://www.ascending-path.com/wp-admin/post.php?post=93&action=edit
I also cant open up a forward though the dmz’s because even if I did the main outside IP is PPOE and changes constantly. you would never be able to connect.
try repair your wp tables/optimize them https://wordpress.org/plugins/wp-optimize/
Roman,
I followed the following process to see if it is your code with the bug.
1. On a Development box I set-up a base WordPress site and loaded the Evolve Pro theme.
2. I then created a home and blog page and set them as static.
3. I created a gallery post with a 3 grid across layout with 7 images all at 1240 x 850 original size .jpegs
4. I used a featured image.
5. I placed the flex post slider widget in a sidebar to display posts.
6. When you view the page you will see the css code bug.
7. I went one step further and added a posts slider to the blog page using Flex and then the css code not only showed up in the widget but also in the main Slider too.
I want to return these themes for a refund. I have spent to much time debugging and still have no end in site. Just so you know I have managed developers and their code for years as well as being a developer myself. I purchased your themes because I did not want to have to spend the time writing one myself. Standard WordPress functionality should work without having to debug, so for me your themes are not ready for prime time and I want to return these themes ASAP.
Thank You
Troy Danella
The topic CSS showing up in blog summary for a gallery post. is closed to new replies