Warning: Illegal offset type in /home/babycity/public_html/core/classes/bm/block.php on line 679

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/babycity/public_html/core/classes/bm/block.php on line 686

Database error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/tmp/#sql_6e96_0' at line 1 (1064)
Invalid query: SELECT cscart_pages.*, cscart_page_descriptions.*, cscart_seo_names.name as seo_name FROM cscart_pages LEFT JOIN cscart_page_descriptions ON cscart_pages.page_id = cscart_page_descriptions.page_id AND cscart_page_descriptions.lang_code = 'EN' LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = cscart_pages.page_id AND cscart_seo_names.type = 'a' AND cscart_seo_names.dispatch = '' AND cscart_seo_names.lang_code = 'EN' AND cscart_seo_names.company_id = cscart_pages.company_id INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = cscart_pages.page_id AND cscart_ult_objects_sharing.share_company_id = "7" AND cscart_ult_objects_sharing.share_object_type = "pages") WHERE 1 AND cscart_pages.status IN ('A') AND cscart_pages.page_type IN ('T', 'L', 'F', 'P') AND cscart_pages.parent_id IN (0) AND (cscart_pages.usergroup_ids = '' OR FIND_IN_SET(0, cscart_pages.usergroup_ids) OR FIND_IN_SET(1, cscart_pages.usergroup_ids)) AND (use_avail_period = 'N' OR (use_avail_period = 'Y' AND avail_from_timestamp <= 1406175655 AND avail_till_timestamp >= 1406175655)) ORDER BY cscart_pages.parent_id asc, cscart_pages.position asc, cscart_page_descriptions.page asc


Backtrace:

File:/home/babycity/public_html/core/fn.database.php
Line:267
Function:db_error
File:/home/babycity/public_html/core/fn.database.php
Line:54
Function:db_query
File:/home/babycity/public_html/core/fn.cms.php
Line:303
Function:db_get_hash_array
File:/home/babycity/public_html/core/classes/bm/block.php
Line:754
Function:fn_get_pages
File:/home/babycity/public_html/core/classes/bm/render_manager.php
Line:415
Function:get_items
File:/home/babycity/public_html/core/classes/bm/render_manager.php
Line:315
Function:get_value
File:/home/babycity/public_html/core/classes/bm/render_manager.php
Line:252
Function:render_block_content
File:/home/babycity/public_html/core/classes/bm/render_manager.php
Line:202
Function:render_block
File:/home/babycity/public_html/core/classes/bm/render_manager.php
Line:175
Function:render_blocks
File:/home/babycity/public_html/core/classes/bm/render_manager.php
Line:151
Function:_render_grid
File:/home/babycity/public_html/core/classes/bm/render_manager.php
Line:123
Function:_render_container
File:/home/babycity/public_html/core/smarty_plugins/function.render_location.php
Line:41
Function:render
File:/home/babycity/public_html/var/cache/templates/stores/7/customer/basic/%%45^45E^45E480CD%%index.tpl.php
Line:477
Function:smarty_function_render_location
File:/home/babycity/public_html/lib/smarty/Smarty.class.php
Line:1265
Function:include
File:/home/babycity/public_html/lib/smarty/Smarty.class.php
Line:1108
Function:fetch
File:/home/babycity/public_html/core/classes/smarty_engine/core.php
Line:226
Function:display
File:/home/babycity/public_html/core/fn.control.php
Line:578
Function:display
File:/home/babycity/public_html/index.php
Line:22
Function:fn_dispatch