1.  
  2.  
  3. Invalid method Mage_Catalog_Model_Product_Visibility::addValueSortToCollection(Array
  4. (
  5. [0] => Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection Object
  6. (
  7. [_flatEnabled:protected] => Array
  8. (
  9. )
  10.  
  11. [_productWebsiteTable:protected] => catalog_product_website
  12. [_productCategoryTable:protected] => catalog_category_product
  13. [_addUrlRewrite:protected] =>
  14. [_urlRewriteCategory:protected] =>
  15. [_addMinimalPrice:protected] =>
  16. [_addFinalPrice:protected] =>
  17. [_allIdsCache:protected] =>
  18. [_addTaxPercents:protected] =>
  19. [_categoryIndexJoined:protected] =>
  20. [_productCountSelect:protected] =>
  21. [_storeId:protected] =>
  22. [_itemsById:protected] => Array
  23. (
  24. )
  25.  
  26. [_staticFields:protected] => Array
  27. (
  28. [entity_id] => entity_id
  29. [entity_type_id] => entity_type_id
  30. [attribute_set_id] => attribute_set_id
  31. [type_id] => type_id
  32. [created_at] => created_at
  33. [updated_at] => updated_at
  34. )
  35.  
  36. [_entity:protected] => Mage_Catalog_Model_Resource_Eav_Mysql4_Product Object
  37. (
  38. [_productWebsiteTable:protected] => catalog_product_website
  39. [_productCategoryTable:protected] => catalog_category_product
  40. [_read:protected] => Varien_Db_Adapter_Pdo_Mysql Object
  41. (
  42. [_transactionLevel:protected] => 0
  43. [_connectionFlagsSet:protected] => 1
  44. [_describesCache:protected] => Array
  45. (
  46. )
  47.  
  48. [_bindParams:protected] => Array
  49. (
  50. )
  51.  
  52. [_bindIncrement:protected] => 0
  53. [_debug:protected] =>
  54. [_logQueryTime:protected] => 0.05
  55. [_debugFile:protected] => var/debug/sql.txt
  56. [_debugIoAdapter:protected] =>
  57. [_debugTimer:protected] => 0
  58. [_pdoType:protected] => mysql
  59. [_numericDataTypes:protected] => Array
  60. (
  61. [0] => 0
  62. [1] => 1
  63. [2] => 2
  64. [INT] => 0
  65. [INTEGER] => 0
  66. [MEDIUMINT] => 0
  67. [SMALLINT] => 0
  68. [TINYINT] => 0
  69. [BIGINT] => 1
  70. [SERIAL] => 1
  71. [DEC] => 2
  72. [DECIMAL] => 2
  73. [DOUBLE] => 2
  74. [DOUBLE PRECISION] => 2
  75. [FIXED] => 2
  76. [FLOAT] => 2
  77. )
  78.  
  79. [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo
  80. [_config:protected] => Array
  81. (
  82. [model] => mysql4
  83. [initStatements] => SET NAMES utf8
  84. [type] => pdo_mysql
  85. [host] => localhost
  86. [username] => findabet_horse
  87. [password] => horse
  88. [dbname] => findabet_horse
  89. [active] => 1
  90. [options] => Array
  91. (
  92. [caseFolding] => 0
  93. [autoQuoteIdentifiers] => 1
  94. )
  95.  
  96. [driver_options] => Array
  97. (
  98. )
  99.  
  100. [port] => 3307
  101. )
  102.  
  103. [_fetchMode:protected] => 2
  104. [_profiler:protected] => Zend_Db_Profiler Object
  105. (
  106. [_queryProfiles:protected] => Array
  107. (
  108. )
  109.  
  110. [_enabled:protected] =>
  111. [_filterElapsedSecs:protected] =>
  112. [_filterTypes:protected] =>
  113. )
  114.  
  115. [_defaultProfilerClass:protected] => Zend_Db_Profiler
  116. [_connection:protected] => PDO Object
  117. (
  118. )
  119.  
  120. [_caseFolding:protected] => 0
  121. [_autoQuoteIdentifiers:protected] => 1
  122. [_allowSerialization:protected] => 1
  123. [_autoReconnectOnUnserialize:protected] =>
  124. )
  125.  
  126. [_write:protected] => Varien_Db_Adapter_Pdo_Mysql Object
  127. (
  128. [_transactionLevel:protected] => 0
  129. [_connectionFlagsSet:protected] => 1
  130. [_describesCache:protected] => Array
  131. (
  132. )
  133.  
  134. [_bindParams:protected] => Array
  135. (
  136. )
  137.  
  138. [_bindIncrement:protected] => 0
  139. [_debug:protected] =>
  140. [_logQueryTime:protected] => 0.05
  141. [_debugFile:protected] => var/debug/sql.txt
  142. [_debugIoAdapter:protected] =>
  143. [_debugTimer:protected] => 0
  144. [_pdoType:protected] => mysql
  145. [_numericDataTypes:protected] => Array
  146. (
  147. [0] => 0
  148. [1] => 1
  149. [2] => 2
  150. [INT] => 0
  151. [INTEGER] => 0
  152. [MEDIUMINT] => 0
  153. [SMALLINT] => 0
  154. [TINYINT] => 0
  155. [BIGINT] => 1
  156. [SERIAL] => 1
  157. [DEC] => 2
  158. [DECIMAL] => 2
  159. [DOUBLE] => 2
  160. [DOUBLE PRECISION] => 2
  161. [FIXED] => 2
  162. [FLOAT] => 2
  163. )
  164.  
  165. [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo
  166. [_config:protected] => Array
  167. (
  168. [model] => mysql4
  169. [initStatements] => SET NAMES utf8
  170. [type] => pdo_mysql
  171. [host] => localhost
  172. [username] => findabet_horse
  173. [password] => horse
  174. [dbname] => findabet_horse
  175. [active] => 1
  176. [options] => Array
  177. (
  178. [caseFolding] => 0
  179. [autoQuoteIdentifiers] => 1
  180. )
  181.  
  182. [driver_options] => Array
  183. (
  184. )
  185.  
  186. [port] => 3307
  187. )
  188.  
  189. [_fetchMode:protected] => 2
  190. [_profiler:protected] => Zend_Db_Profiler Object
  191. (
  192. [_queryProfiles:protected] => Array
  193. (
  194. )
  195.  
  196. [_enabled:protected] =>
  197. [_filterElapsedSecs:protected] =>
  198. [_filterTypes:protected] =>
  199. )
  200.  
  201. [_defaultProfilerClass:protected] => Zend_Db_Profiler
  202. [_connection:protected] => PDO Object
  203. (
  204. )
  205.  
  206. [_caseFolding:protected] => 0
  207. [_autoQuoteIdentifiers:protected] => 1
  208. [_allowSerialization:protected] => 1
  209. [_autoReconnectOnUnserialize:protected] =>
  210. )
  211.  
  212. [_type:protected] => Mage_Eav_Model_Entity_Type Object
  213. (
  214. [_attributes:protected] =>
  215. [_attributesBySet:protected] => Array
  216. (
  217. )
  218.  
  219. [_sets:protected] =>
  220. [_eventPrefix:protected] => core_abstract
  221. [_eventObject:protected] => object
  222. [_resourceName:protected] => eav/entity_type
  223. [_resource:protected] =>
  224. [_resourceCollectionName:protected] => eav/entity_type_collection
  225. [_cacheTag:protected] =>
  226. [_dataSaveAllowed:protected] => 1
  227. [_data:protected] => Array
  228. (
  229. [entity_type_id] => 4
  230. [entity_type_code] => catalog_product
  231. [entity_model] => catalog/product
  232. [attribute_model] => catalog/resource_eav_attribute
  233. [entity_table] => catalog/product
  234. [value_table_prefix] => catalog_product_entity
  235. [entity_id_field] =>
  236. [is_data_sharing] => 1
  237. [data_sharing_key] => default
  238. [default_attribute_set_id] => 4
  239. [increment_model] =>
  240. [increment_per_store] => 0
  241. [increment_pad_length] => 8
  242. [increment_pad_char] => 0
  243. )
  244.  
  245. [_origData:protected] =>
  246. [_idFieldName:protected] => entity_type_id
  247. [_isDeleted:protected] =>
  248. )
  249.  
  250. [_attributesById:protected] => Array
  251. (
  252. [85] => Mage_Catalog_Model_Resource_Eav_Attribute Object
  253. (
  254. [_eventPrefix:protected] => eav_entity_attribute
  255. [_eventObject:protected] => attribute
  256. [_cacheTag:protected] => EAV_ATTRIBUTE
  257. [_name:protected] =>
  258. [_entity:protected] => Mage_Catalog_Model_Resource_Eav_Mysql4_Product Object
  259. *RECURSION*
  260. [_backend:protected] =>
  261. [_frontend:protected] =>
  262. [_source:protected] => Mage_Catalog_Model_Product_Visibility Object
  263. (
  264. [_data:protected] => Array
  265. (
  266. [attribute] => Mage_Catalog_Model_Resource_Eav_Attribute Object
  267. *RECURSION*
  268. )
  269.  
  270. [_origData:protected] =>
  271. [_idFieldName:protected] => visibility_id
  272. [_isDeleted:protected] =>
  273. )
  274.  
  275. [_attributeIdCache:protected] => Array
  276. (
  277. )
  278.  
  279. [_dataTable:protected] => catalog_product_entity_int
  280. [_resourceName:protected] => eav/entity_attribute
  281. [_resource:protected] =>
  282. [_resourceCollectionName:protected] => eav/entity_attribute_collection
  283. [_dataSaveAllowed:protected] => 1
  284. [_data:protected] => Array
  285. (
  286. [attribute_id] => 85
  287. [entity_type_id] => 4
  288. [attribute_code] => visibility
  289. [attribute_model] => catalog/resource_eav_attribute
  290. [backend_model] =>
  291. [backend_type] => int
  292. [backend_table] =>
  293. [frontend_model] =>
  294. [frontend_input] => select
  295. [frontend_input_renderer] =>
  296. [frontend_label] => Visibility
  297. [frontend_class] =>
  298. [source_model] => catalog/product_visibility
  299. [is_global] => 0
  300. [is_visible] => 1
  301. [is_required] => 1
  302. [is_user_defined] => 0
  303. [default_value] => 4
  304. [is_searchable] => 0
  305. [is_filterable] => 0
  306. [is_comparable] => 0
  307. [is_visible_on_front] => 0
  308. [is_html_allowed_on_front] => 0
  309. [is_unique] => 0
  310. [is_used_for_price_rules] => 1
  311. [is_filterable_in_search] => 0
  312. [used_in_product_listing] => 0
  313. [used_for_sort_by] => 0
  314. [is_configurable] => 1
  315. [apply_to] =>
  316. [position] => 1
  317. [note] =>
  318. [is_visible_in_advanced_search] => 0
  319. [entity_type] => Mage_Eav_Model_Entity_Type Object
  320. (
  321. [_attributes:protected] =>
  322. [_attributesBySet:protected] => Array
  323. (
  324. )
  325.  
  326. [_sets:protected] =>
  327. [_eventPrefix:protected] => core_abstract
  328. [_eventObject:protected] => object
  329. [_resourceName:protected] => eav/entity_type
  330. [_resource:protected] =>
  331. [_resourceCollectionName:protected] => eav/entity_type_collection
  332. [_cacheTag:protected] =>
  333. [_dataSaveAllowed:protected] => 1
  334. [_data:protected] => Array
  335. (
  336. [entity_type_id] => 4
  337. [entity_type_code] => catalog_product
  338. [entity_model] => catalog/product
  339. [attribute_model] => catalog/resource_eav_attribute
  340. [entity_table] => catalog/product
  341. [value_table_prefix] => catalog_product_entity
  342. [entity_id_field] =>
  343. [is_data_sharing] => 1
  344. [data_sharing_key] => default
  345. [default_attribute_set_id] => 4
  346. [increment_model] =>
  347. [increment_per_store] => 0
  348. [increment_pad_length] => 8
  349. [increment_pad_char] => 0
  350. )
  351.  
  352. [_origData:protected] =>
  353. [_idFieldName:protected] => entity_type_id
  354. [_isDeleted:protected] =>
  355. )
  356.  
  357. )
  358.  
  359. [_origData:protected] =>
  360. [_idFieldName:protected] => attribute_id
  361. [_isDeleted:protected] =>
  362. )
  363.  
  364. )
  365.  
  366. [_attributesByCode:protected] => Array
  367. (
  368. [sku] => Mage_Catalog_Model_Resource_Eav_Attribute Object
  369. (
  370. [_eventPrefix:protected] => eav_entity_attribute
  371. [_eventObject:protected] => attribute
  372. [_cacheTag:protected] => EAV_ATTRIBUTE
  373. [_name:protected] =>
  374. [_entity:protected] => Mage_Catalog_Model_Resource_Eav_Mysql4_Product Object
  375. *RECURSION*
  376. [_backend:protected] => Mage_Eav_Model_Entity_Attribute_Backend_Default Object
  377. (
  378. [_attribute:protected] => Mage_Catalog_Model_Resource_Eav_Attribute Object
  379. *RECURSION*
  380. [_valueId:protected] =>
  381. [_table:protected] =>
  382. [_entityIdField:protected] =>
  383. [_defaultValue:protected] =>
  384. )
  385.  
  386. [_frontend:protected] =>
  387. [_source:protected] =>
  388. [_attributeIdCache:protected] => Array
  389. (
  390. )
  391.  
  392. [_dataTable:protected] =>
  393. [_resourceName:protected] => eav/entity_attribute
  394. [_resource:protected] =>
  395. [_resourceCollectionName:protected] => eav/entity_attribute_collection
  396. [_dataSaveAllowed:protected] => 1
  397. [_data:protected] => Array
  398. (
  399. [attribute_id] => 59
  400. [entity_type_id] => 4
  401. [attribute_code] => sku
  402. [attribute_model] => catalog/resource_eav_attribute
  403. [backend_model] => eav/entity_attribute_backend_default
  404. [backend_type] => static
  405. [backend_table] =>
  406. [frontend_model] =>
  407. [frontend_input] => text
  408. [frontend_input_renderer] =>
  409. [frontend_label] => Item Number
  410. [frontend_class] =>
  411. [source_model] =>
  412. [is_global] => 1
  413. [is_visible] => 1
  414. [is_required] => 1
  415. [is_user_defined] => 0
  416. [default_value] =>
  417. [is_searchable] => 1
  418. [is_filterable] => 0
  419. [is_comparable] => 1
  420. [is_visible_on_front] => 1
  421. [is_html_allowed_on_front] => 1
  422. [is_unique] => 1
  423. [is_used_for_price_rules] => 1
  424. [is_filterable_in_search] => 0
  425. [used_in_product_listing] => 1
  426. [used_for_sort_by] => 1
  427. [is_configurable] => 1
  428. [apply_to] =>
  429. [position] => 1
  430. [note] =>
  431. [is_visible_in_advanced_search] => 1
  432. [entity_type] => Mage_Eav_Model_Entity_Type Object
  433. (
  434. [_attributes:protected] =>
  435. [_attributesBySet:protected] => Array
  436. (
  437. )
  438.  
  439. [_sets:protected] =>
  440. [_eventPrefix:protected] => core_abstract
  441. [_eventObject:protected] => object
  442. [_resourceName:protected] => eav/entity_type
  443. [_resource:protected] =>
  444. [_resourceCollectionName:protected] => eav/entity_type_collection
  445. [_cacheTag:protected] =>
  446. [_dataSaveAllowed:protected] => 1
  447. [_data:protected] => Array
  448. (
  449. [entity_type_id] => 4
  450. [entity_type_code] => catalog_product
  451. [entity_model] => catalog/product
  452. [attribute_model] => catalog/resource_eav_attribute
  453. [entity_table] => catalog/product
  454. [value_table_prefix] => catalog_product_entity
  455. [entity_id_field] =>
  456. [is_data_sharing] => 1
  457. [data_sharing_key] => default
  458. [default_attribute_set_id] => 4
  459. [increment_model] =>
  460. [increment_per_store] => 0
  461. [increment_pad_length] => 8
  462. [increment_pad_char] => 0
  463. )
  464.  
  465. [_origData:protected] =>
  466. [_idFieldName:protected] => entity_type_id
  467. [_isDeleted:protected] =>
  468. )
  469.  
  470. )
  471.  
  472. [_origData:protected] =>
  473. [_idFieldName:protected] => attribute_id
  474. [_isDeleted:protected] =>
  475. )
  476.  
  477. [visibility] => Mage_Catalog_Model_Resource_Eav_Attribute Object
  478. (
  479. [_eventPrefix:protected] => eav_entity_attribute
  480. [_eventObject:protected] => attribute
  481. [_cacheTag:protected] => EAV_ATTRIBUTE
  482. [_name:protected] =>
  483. [_entity:protected] => Mage_Catalog_Model_Resource_Eav_Mysql4_Product Object
  484. *RECURSION*
  485. [_backend:protected] =>
  486. [_frontend:protected] =>
  487. [_source:protected] => Mage_Catalog_Model_Product_Visibility Object
  488. (
  489. [_data:protected] => Array
  490. (
  491. [attribute] => Mage_Catalog_Model_Resource_Eav_Attribute Object
  492. *RECURSION*
  493. )
  494.  
  495. [_origData:protected] =>
  496. [_idFieldName:protected] => visibility_id
  497. [_isDeleted:protected] =>
  498. )
  499.  
  500. [_attributeIdCache:protected] => Array
  501. (
  502. )
  503.  
  504. [_dataTable:protected] => catalog_product_entity_int
  505. [_resourceName:protected] => eav/entity_attribute
  506. [_resource:protected] =>
  507. [_resourceCollectionName:protected] => eav/entity_attribute_collection
  508. [_dataSaveAllowed:protected] => 1
  509. [_data:protected] => Array
  510. (
  511. [attribute_id] => 85
  512. [entity_type_id] => 4
  513. [attribute_code] => visibility
  514. [attribute_model] => catalog/resource_eav_attribute
  515. [backend_model] =>
  516. [backend_type] => int
  517. [backend_table] =>
  518. [frontend_model] =>
  519. [frontend_input] => select
  520. [frontend_input_renderer] =>
  521. [frontend_label] => Visibility
  522. [frontend_class] =>
  523. [source_model] => catalog/product_visibility
  524. [is_global] => 0
  525. [is_visible] => 1
  526. [is_required] => 1
  527. [is_user_defined] => 0
  528. [default_value] => 4
  529. [is_searchable] => 0
  530. [is_filterable] => 0
  531. [is_comparable] => 0
  532. [is_visible_on_front] => 0
  533. [is_html_allowed_on_front] => 0
  534. [is_unique] => 0
  535. [is_used_for_price_rules] => 1
  536. [is_filterable_in_search] => 0
  537. [used_in_product_listing] => 0
  538. [used_for_sort_by] => 0
  539. [is_configurable] => 1
  540. [apply_to] =>
  541. [position] => 1
  542. [note] =>
  543. [is_visible_in_advanced_search] => 0
  544. [entity_type] => Mage_Eav_Model_Entity_Type Object
  545. (
  546. [_attributes:protected] =>
  547. [_attributesBySet:protected] => Array
  548. (
  549. )
  550.  
  551. [_sets:protected] =>
  552. [_eventPrefix:protected] => core_abstract
  553. [_eventObject:protected] => object
  554. [_resourceName:protected] => eav/entity_type
  555. [_resource:protected] =>
  556. [_resourceCollectionName:protected] => eav/entity_type_collection
  557. [_cacheTag:protected] =>
  558. [_dataSaveAllowed:protected] => 1
  559. [_data:protected] => Array
  560. (
  561. [entity_type_id] => 4
  562. [entity_type_code] => catalog_product
  563. [entity_model] => catalog/product
  564. [attribute_model] => catalog/resource_eav_attribute
  565. [entity_table] => catalog/product
  566. [value_table_prefix] => catalog_product_entity
  567. [entity_id_field] =>
  568. [is_data_sharing] => 1
  569. [data_sharing_key] => default
  570. [default_attribute_set_id] => 4
  571. [increment_model] =>
  572. [increment_per_store] => 0
  573. [increment_pad_length] => 8
  574. [increment_pad_char] => 0
  575. )
  576.  
  577. [_origData:protected] =>
  578. [_idFieldName:protected] => entity_type_id
  579. [_isDeleted:protected] =>
  580. )
  581.  
  582. )
  583.  
  584. [_origData:protected] =>
  585. [_idFieldName:protected] => attribute_id
  586. [_isDeleted:protected] =>
  587. )
  588.  
  589. )
  590.  
  591. [_attributesByTable:protected] => Array
  592. (
  593. [catalog_product_entity_int] => Array
  594. (
  595. [visibility] => Mage_Catalog_Model_Resource_Eav_Attribute Object
  596. (
  597. [_eventPrefix:protected] => eav_entity_attribute
  598. [_eventObject:protected] => attribute
  599. [_cacheTag:protected] => EAV_ATTRIBUTE
  600. [_name:protected] =>
  601. [_entity:protected] => Mage_Catalog_Model_Resource_Eav_Mysql4_Product Object
  602. *RECURSION*
  603. [_backend:protected] =>
  604. [_frontend:protected] =>
  605. [_source:protected] => Mage_Catalog_Model_Product_Visibility Object
  606. (
  607. [_data:protected] => Array
  608. (
  609. [attribute] => Mage_Catalog_Model_Resource_Eav_Attribute Object
  610. *RECURSION*
  611. )
  612.  
  613. [_origData:protected] =>
  614. [_idFieldName:protected] => visibility_id
  615. [_isDeleted:protected] =>
  616. )
  617.  
  618. [_attributeIdCache:protected] => Array
  619. (
  620. )
  621.  
  622. [_dataTable:protected] => catalog_product_entity_int
  623. [_resourceName:protected] => eav/entity_attribute
  624. [_resource:protected] =>
  625. [_resourceCollectionName:protected] => eav/entity_attribute_collection
  626. [_dataSaveAllowed:protected] => 1
  627. [_data:protected] => Array
  628. (
  629. [attribute_id] => 85
  630. [entity_type_id] => 4
  631. [attribute_code] => visibility
  632. [attribute_model] => catalog/resource_eav_attribute
  633. [backend_model] =>
  634. [backend_type] => int
  635. [backend_table] =>
  636. [frontend_model] =>
  637. [frontend_input] => select
  638. [frontend_input_renderer] =>
  639. [frontend_label] => Visibility
  640. [frontend_class] =>
  641. [source_model] => catalog/product_visibility
  642. [is_global] => 0
  643. [is_visible] => 1
  644. [is_required] => 1
  645. [is_user_defined] => 0
  646. [default_value] => 4
  647. [is_searchable] => 0
  648. [is_filterable] => 0
  649. [is_comparable] => 0
  650. [is_visible_on_front] => 0
  651. [is_html_allowed_on_front] => 0
  652. [is_unique] => 0
  653. [is_used_for_price_rules] => 1
  654. [is_filterable_in_search] => 0
  655. [used_in_product_listing] => 0
  656. [used_for_sort_by] => 0
  657. [is_configurable] => 1
  658. [apply_to] =>
  659. [position] => 1
  660. [note] =>
  661. [is_visible_in_advanced_search] => 0
  662. [entity_type] => Mage_Eav_Model_Entity_Type Object
  663. (
  664. [_attributes:protected] =>
  665. [_attributesBySet:protected] => Array
  666. (
  667. )
  668.  
  669. [_sets:protected] =>
  670. [_eventPrefix:protected] => core_abstract
  671. [_eventObject:protected] => object
  672. [_resourceName:protected] => eav/entity_type
  673. [_resource:protected] =>
  674. [_resourceCollectionName:protected] => eav/entity_type_collection
  675. [_cacheTag:protected] =>
  676. [_dataSaveAllowed:protected] => 1
  677. [_data:protected] => Array
  678. (
  679. [entity_type_id] => 4
  680. [entity_type_code] => catalog_product
  681. [entity_model] => catalog/product
  682. [attribute_model] => catalog/resource_eav_attribute
  683. [entity_table] => catalog/product
  684. [value_table_prefix] => catalog_product_entity
  685. [entity_id_field] =>
  686. [is_data_sharing] => 1
  687. [data_sharing_key] => default
  688. [default_attribute_set_id] => 4
  689. [increment_model] =>
  690. [increment_per_store] => 0
  691. [increment_pad_length] => 8
  692. [increment_pad_char] => 0
  693. )
  694.  
  695. [_origData:protected] =>
  696. [_idFieldName:protected] => entity_type_id
  697. [_isDeleted:protected] =>
  698. )
  699.  
  700. )
  701.  
  702. [_origData:protected] =>
  703. [_idFieldName:protected] => attribute_id
  704. [_isDeleted:protected] =>
  705. )
  706.  
  707. )
  708.  
  709. )
  710.  
  711. [_staticAttributes:protected] => Array
  712. (
  713. [sku] => Mage_Catalog_Model_Resource_Eav_Attribute Object
  714. (
  715. [_eventPrefix:protected] => eav_entity_attribute
  716. [_eventObject:protected] => attribute
  717. [_cacheTag:protected] => EAV_ATTRIBUTE
  718. [_name:protected] =>
  719. [_entity:protected] => Mage_Catalog_Model_Resource_Eav_Mysql4_Product Object
  720. *RECURSION*
  721. [_backend:protected] => Mage_Eav_Model_Entity_Attribute_Backend_Default Object
  722. (
  723. [_attribute:protected] => Mage_Catalog_Model_Resource_Eav_Attribute Object
  724. *RECURSION*
  725. [_valueId:protected] =>
  726. [_table:protected] =>
  727. [_entityIdField:protected] =>
  728. [_defaultValue:protected] =>
  729. )
  730.  
  731. [_frontend:protected] =>
  732. [_source:protected] =>
  733. [_attributeIdCache:protected] => Array
  734. (
  735. )
  736.  
  737. [_dataTable:protected] =>
  738. [_resourceName:protected] => eav/entity_attribute
  739. [_resource:protected] =>
  740. [_resourceCollectionName:protected] => eav/entity_attribute_collection
  741. [_dataSaveAllowed:protected] => 1
  742. [_data:protected] => Array
  743. (
  744. [attribute_id] => 59
  745. [entity_type_id] => 4
  746. [attribute_code] => sku
  747. [attribute_model] => catalog/resource_eav_attribute
  748. [backend_model] => eav/entity_attribute_backend_default
  749. [backend_type] => static
  750. [backend_table] =>
  751. [frontend_model] =>
  752. [frontend_input] => text
  753. [frontend_input_renderer] =>
  754. [frontend_label] => Item Number
  755. [frontend_class] =>
  756. [source_model] =>
  757. [is_global] => 1
  758. [is_visible] => 1
  759. [is_required] => 1
  760. [is_user_defined] => 0
  761. [default_value] =>
  762. [is_searchable] => 1
  763. [is_filterable] => 0
  764. [is_comparable] => 1
  765. [is_visible_on_front] => 1
  766. [is_html_allowed_on_front] => 1
  767. [is_unique] => 1
  768. [is_used_for_price_rules] => 1
  769. [is_filterable_in_search] => 0
  770. [used_in_product_listing] => 1
  771. [used_for_sort_by] => 1
  772. [is_configurable] => 1
  773. [apply_to] =>
  774. [position] => 1
  775. [note] =>
  776. [is_visible_in_advanced_search] => 1
  777. [entity_type] => Mage_Eav_Model_Entity_Type Object
  778. (
  779. [_attributes:protected] =>
  780. [_attributesBySet:protected] => Array
  781. (
  782. )
  783.  
  784. [_sets:protected] =>
  785. [_eventPrefix:protected] => core_abstract
  786. [_eventObject:protected] => object
  787. [_resourceName:protected] => eav/entity_type
  788. [_resource:protected] =>
  789. [_resourceCollectionName:protected] => eav/entity_type_collection
  790. [_cacheTag:protected] =>
  791. [_dataSaveAllowed:protected] => 1
  792. [_data:protected] => Array
  793. (
  794. [entity_type_id] => 4
  795. [entity_type_code] => catalog_product
  796. [entity_model] => catalog/product
  797. [attribute_model] => catalog/resource_eav_attribute
  798. [entity_table] => catalog/product
  799. [value_table_prefix] => catalog_product_entity
  800. [entity_id_field] =>
  801. [is_data_sharing] => 1
  802. [data_sharing_key] => default
  803. [default_attribute_set_id] => 4
  804. [increment_model] =>
  805. [increment_per_store] => 0
  806. [increment_pad_length] => 8
  807. [increment_pad_char] => 0
  808. )
  809.  
  810. [_origData:protected] =>
  811. [_idFieldName:protected] => entity_type_id
  812. [_isDeleted:protected] =>
  813. )
  814.  
  815. )
  816.  
  817. [_origData:protected] =>
  818. [_idFieldName:protected] => attribute_id
  819. [_isDeleted:protected] =>
  820. )
  821.  
  822. )
  823.  
  824. [_entityTable:protected] => catalog_product_entity
  825. [_describeTable:protected] => Array
  826. (
  827. )
  828.  
  829. [_entityIdField:protected] => entity_id
  830. [_valueEntityIdField:protected] =>
  831. [_valueTablePrefix:protected] => catalog_product_entity
  832. [_isPartialLoad:protected] =>
  833. [_isPartialSave:protected] =>
  834. [_sortingSetId:protected] =>
  835. )
  836.  
  837. [_selectEntityTypes:protected] => Array
  838. (
  839. )
  840.  
  841. [_selectAttributes:protected] => Array
  842. (
  843. [sku] => 59
  844. [name] => 56
  845. [] =>
  846. [price] => 60
  847. [status] => 80
  848. [visibility] => 85
  849. )
  850.  
  851. [_filterAttributes:protected] => Array
  852. (
  853. )
  854.  
  855. [_joinEntities:protected] => Array
  856. (
  857. )
  858.  
  859. [_joinAttributes:protected] => Array
  860. (
  861. )
  862.  
  863. [_joinFields:protected] => Array
  864. (
  865. [qty] => Array
  866. (
  867. [table] => _table_qty
  868. [field] => qty
  869. )
  870.  
  871. )
  872.  
  873. [_conn:protected] => Varien_Db_Adapter_Pdo_Mysql Object
  874. (
  875. [_transactionLevel:protected] => 0
  876. [_connectionFlagsSet:protected] => 1
  877. [_describesCache:protected] => Array
  878. (
  879. )
  880.  
  881. [_bindParams:protected] => Array
  882. (
  883. )
  884.  
  885. [_bindIncrement:protected] => 0
  886. [_debug:protected] =>
  887. [_logQueryTime:protected] => 0.05
  888. [_debugFile:protected] => var/debug/sql.txt
  889. [_debugIoAdapter:protected] =>
  890. [_debugTimer:protected] => 0
  891. [_pdoType:protected] => mysql
  892. [_numericDataTypes:protected] => Array
  893. (
  894. [0] => 0
  895. [1] => 1
  896. [2] => 2
  897. [INT] => 0
  898. [INTEGER] => 0
  899. [MEDIUMINT] => 0
  900. [SMALLINT] => 0
  901. [TINYINT] => 0
  902. [BIGINT] => 1
  903. [SERIAL] => 1
  904. [DEC] => 2
  905. [DECIMAL] => 2
  906. [DOUBLE] => 2
  907. [DOUBLE PRECISION] => 2
  908. [FIXED] => 2
  909. [FLOAT] => 2
  910. )
  911.  
  912. [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo
  913. [_config:protected] => Array
  914. (
  915. [model] => mysql4
  916. [initStatements] => SET NAMES utf8
  917. [type] => pdo_mysql
  918. [host] => localhost
  919. [username] => findabet_horse
  920. [password] => horse
  921. [dbname] => findabet_horse
  922. [active] => 1
  923. [options] => Array
  924. (
  925. [caseFolding] => 0
  926. [autoQuoteIdentifiers] => 1
  927. )
  928.  
  929. [driver_options] => Array
  930. (
  931. )
  932.  
  933. [port] => 3307
  934. )
  935.  
  936. [_fetchMode:protected] => 2
  937. [_profiler:protected] => Zend_Db_Profiler Object
  938. (
  939. [_queryProfiles:protected] => Array
  940. (
  941. )
  942.  
  943. [_enabled:protected] =>
  944. [_filterElapsedSecs:protected] =>
  945. [_filterTypes:protected] =>
  946. )
  947.  
  948. [_defaultProfilerClass:protected] => Zend_Db_Profiler
  949. [_connection:protected] => PDO Object
  950. (
  951. )
  952.  
  953. [_caseFolding:protected] => 0
  954. [_autoQuoteIdentifiers:protected] => 1
  955. [_allowSerialization:protected] => 1
  956. [_autoReconnectOnUnserialize:protected] =>
  957. )
  958.  
  959. [_select:protected] => Varien_Db_Select Object
  960. (
  961. [_adapter:protected] => Varien_Db_Adapter_Pdo_Mysql Object
  962. (
  963. [_transactionLevel:protected] => 0
  964. [_connectionFlagsSet:protected] => 1
  965. [_describesCache:protected] => Array
  966. (
  967. )
  968.  
  969. [_bindParams:protected] => Array
  970. (
  971. )
  972.  
  973. [_bindIncrement:protected] => 0
  974. [_debug:protected] =>
  975. [_logQueryTime:protected] => 0.05
  976. [_debugFile:protected] => var/debug/sql.txt
  977. [_debugIoAdapter:protected] =>
  978. [_debugTimer:protected] => 0
  979. [_pdoType:protected] => mysql
  980. [_numericDataTypes:protected] => Array
  981. (
  982. [0] => 0
  983. [1] => 1
  984. [2] => 2
  985. [INT] => 0
  986. [INTEGER] => 0
  987. [MEDIUMINT] => 0
  988. [SMALLINT] => 0
  989. [TINYINT] => 0
  990. [BIGINT] => 1
  991. [SERIAL] => 1
  992. [DEC] => 2
  993. [DECIMAL] => 2
  994. [DOUBLE] => 2
  995. [DOUBLE PRECISION] => 2
  996. [FIXED] => 2
  997. [FLOAT] => 2
  998. )
  999.  
  1000. [_defaultStmtClass:protected] => Zend_Db_Statement_Pdo
  1001. [_config:protected] => Array
  1002. (
  1003. [model] => mysql4
  1004. [initStatements] => SET NAMES utf8
  1005. [type] => pdo_mysql
  1006. [host] => localhost
  1007. [username] => findabet_horse
  1008. [password] => horse
  1009. [dbname] => findabet_horse
  1010. [active] => 1
  1011. [options] => Array
  1012. (
  1013. [caseFolding] => 0
  1014. [autoQuoteIdentifiers] => 1
  1015. )
  1016.  
  1017. [driver_options] => Array
  1018. (
  1019. )
  1020.  
  1021. [port] => 3307
  1022. )
  1023.  
  1024. [_fetchMode:protected] => 2
  1025. [_profiler:protected] => Zend_Db_Profiler Object
  1026. (
  1027. [_queryProfiles:protected] => Array
  1028. (
  1029. )
  1030.  
  1031. [_enabled:protected] =>
  1032. [_filterElapsedSecs:protected] =>
  1033. [_filterTypes:protected] =>
  1034. )
  1035.  
  1036. [_defaultProfilerClass:protected] => Zend_Db_Profiler
  1037. [_connection:protected] => PDO Object
  1038. (
  1039. )
  1040.  
  1041. [_caseFolding:protected] => 0
  1042. [_autoQuoteIdentifiers:protected] => 1
  1043. [_allowSerialization:protected] => 1
  1044. [_autoReconnectOnUnserialize:protected] =>
  1045. )
  1046.  
  1047. [_parts:protected] => Array
  1048. (
  1049. [distinct] =>
  1050. [columns] => Array
  1051. (
  1052. [0] => Array
  1053. (
  1054. [0] => e
  1055. [1] => *
  1056. [2] =>
  1057. )
  1058.  
  1059. [1] => Array
  1060. (
  1061. [0] => _table_qty
  1062. [1] => qty
  1063. [2] => qty
  1064. )
  1065.  
  1066. )
  1067.  
  1068. [union] => Array
  1069. (
  1070. )
  1071.  
  1072. [from] => Array
  1073. (
  1074. [e] => Array
  1075. (
  1076. [joinType] => inner join
  1077. [schema] =>
  1078. [tableName] => catalog_product_entity
  1079. [joinCondition] =>
  1080. )
  1081.  
  1082. [_table_qty] => Array
  1083. (
  1084. [joinType] => left join
  1085. [schema] =>
  1086. [tableName] => cataloginventory_stock_item
  1087. [joinCondition] => (_table_qty.product_id=e.entity_id) AND (_table_qty.stock_id=1)
  1088. )
  1089.  
  1090. )
  1091.  
  1092. [where] => Array
  1093. (
  1094. [0] => (e.sku like '%20507%')
  1095. )
  1096.  
  1097. [group] => Array
  1098. (
  1099. )
  1100.  
  1101. [having] => Array
  1102. (
  1103. )
  1104.  
  1105. [order] => Array
  1106. (
  1107. )
  1108.  
  1109. [limitcount] =>
  1110. [limitoffset] =>
  1111. [forupdate] =>
  1112. )
  1113.  
  1114. [_tableCols:protected] => Array
  1115. (
  1116. )
  1117.  
  1118. )
  1119.  
  1120. [_cacheConf:protected] =>
  1121. [_idFieldName:protected] =>
  1122. [_bindParams:protected] => Array
  1123. (
  1124. )
  1125.  
  1126. [_data:protected] =>
  1127. [_items:protected] => Array
  1128. (
  1129. )
  1130.  
  1131. [_itemObjectClass:protected] => Mage_Catalog_Model_Product
  1132. [_orders:protected] => Array
  1133. (
  1134. )
  1135.  
  1136. [_filters:protected] => Array
  1137. (
  1138. )
  1139.  
  1140. [_isFiltersRendered:protected] =>
  1141. [_curPage:protected] => 1
  1142. [_pageSize:protected] => 50
  1143. [_totalRecords:protected] =>
  1144. [_isCollectionLoaded:protected] =>
  1145. [_cacheKey:protected] =>
  1146. [_cacheTags:protected] => Array
  1147. (
  1148. )
  1149.  
  1150. [_cacheLifetime:protected] => 86400
  1151. [_flags:protected] => Array
  1152. (
  1153. )
  1154.  
  1155. )
  1156.  
  1157. [1] => asc
  1158. )
  1159. )
  1160. Trace:
  1161. #0 [internal function]: Varien_Object->__call('addValueSortToC...', Array)
  1162. #1 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/Product/Collection.php(1222): Mage_Catalog_Model_Product_Visibility->addValueSortToCollection(Object(Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection), 'asc')
  1163. #2 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(1241): Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection->addAttributeToSort('visibility', 'asc')
  1164. #3 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/Product/Collection.php(1187): Mage_Eav_Model_Entity_Collection_Abstract->setOrder('visibility', 'asc')
  1165. #4 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php(380): Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection->setOrder('visibility', 'asc')
  1166. #5 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Grid.php(86): Mage_Adminhtml_Block_Widget_Grid->_prepareCollection()
  1167. #6 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php(465): Mage_Adminhtml_Block_Catalog_Product_Grid->_prepareCollection()
  1168. #7 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php(471): Mage_Adminhtml_Block_Widget_Grid->_prepareGrid()
  1169. #8 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Abstract.php(642): Mage_Adminhtml_Block_Widget_Grid->_beforeToHtml()
  1170. #9 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
  1171. #10 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml('grid', true)
  1172. #11 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Adminhtml/Block/Catalog/Product.php(68): Mage_Core_Block_Abstract->getChildHtml('grid')
  1173. #12 /home/findabet/public_html/saddlediscounter.com/magento/app/design/adminhtml/default/default/template/catalog/product.phtml(41): Mage_Adminhtml_Block_Catalog_Product->getGridHtml()
  1174. #13 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Template.php(144): include('/home/findabet/...')
  1175. #14 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
  1176. #15 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
  1177. #16 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
  1178. #17 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
  1179. #18 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Text_List->_toHtml()
  1180. #19 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
  1181. #20 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml('content', true)
  1182. #21 /home/findabet/public_html/saddlediscounter.com/magento/app/design/adminhtml/default/default/template/page.phtml(73): Mage_Core_Block_Abstract->getChildHtml('content')
  1183. #22 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Template.php(144): include('/home/findabet/...')
  1184. #23 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
  1185. #24 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
  1186. #25 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
  1187. #26 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Model/Layout.php(526): Mage_Core_Block_Abstract->toHtml()
  1188. #27 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(339): Mage_Core_Model_Layout->getOutput()
  1189. #28 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php(157): Mage_Core_Controller_Varien_Action->renderLayout()
  1190. #29 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(367): Mage_Adminhtml_Catalog_ProductController->indexAction()
  1191. #30 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(247): Mage_Core_Controller_Varien_Action->dispatch('index')
  1192. #31 /home/findabet/public_html/saddlediscounter.com/magento/app/code/core/Mage/Core/Controller/Varien/Front.php(158): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
  1193. #32 /home/findabet/public_html/saddlediscounter.com/magento/app/Mage.php(457): Mage_Core_Controller_Varien_Front->dispatch()
  1194. #33 /home/findabet/public_html/saddlediscounter.com/magento/index.php(52): Mage::run()
  1195. #34 {main}
  1196.  
  1197. Magento is a trademark of Irubin Consulting Inc. DBA Varien. Copyright © 2008 Irubin Consulting Inc.
  1198.