Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem w zen_get_info_page?? #8

Closed
proseLA opened this issue Jan 31, 2019 · 2 comments
Closed

problem w zen_get_info_page?? #8

proseLA opened this issue Jan 31, 2019 · 2 comments
Labels
bug Something isn't working fix provided Code change provided for the issue
Milestone

Comments

@proseLA
Copy link
Contributor

proseLA commented Jan 31, 2019

in v156, it seems that we on the admin side, we have moved from category.php to category_product_listing.php. this new script makes use of the zen_catalog_href_link function which is now failing due to the zen_get_info_page being undefined. which strikes me as a load problem.

anyone else experiencing this?

here is an error_log:

[31-Jan-2019 15:16:38 America/Los_Angeles] PHP Fatal error:  Uncaught Error: Call to undefined function zen_get_info_page() in /var/www/v155/includes/classes/usu.php:332
Stack trace:
#0 /var/www/v155/includes/classes/usu.php(235): usu->parse_parameters('product_vino_in...', 'products_id=163...', '?')
#1 /var/www/v155/myadmin/includes/functions/html_output.php(59): usu->href_link('product_vino_in...', 'cPath=87&produc...', 'NONSSL', NULL, NULL, NULL)
#2 /var/www/v155/myadmin/category_product_listing.php(897): zen_catalog_href_link('product_vino_in...', 'cPath=87&produc...')
#3 {main}
  thrown in /var/www/v155/includes/classes/usu.php on line 332
@lat9 lat9 added the bug Something isn't working label Feb 1, 2019
@lat9
Copy link
Owner

lat9 commented Feb 1, 2019

Hmm, the function zen_get_info_page is (naturally) available on the storefront only. I'll get an update going that provides a usu-specific version of that data-gathering.

@proseLA
Copy link
Contributor Author

proseLA commented Feb 1, 2019

interesting that no one else has reported this issue.

naturally, this is one of those duplicate code issues that i wish there was a better way around it. i'll try and do a PR (w/o screwing it up....)

@lat9 lat9 added this to the v3.0.0 milestone Feb 8, 2019
lat9 added a commit that referenced this issue Feb 11, 2019
... also includes some migration of class methods to `protected`.
@lat9 lat9 added the fix provided Code change provided for the issue label Feb 11, 2019
@lat9 lat9 closed this as completed Feb 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fix provided Code change provided for the issue
Projects
None yet
Development

No branches or pull requests

2 participants