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

Product list not displaying #7

Closed
CameronGilroy opened this issue Sep 3, 2016 · 1 comment
Closed

Product list not displaying #7

CameronGilroy opened this issue Sep 3, 2016 · 1 comment
Assignees
Labels

Comments

@CameronGilroy
Copy link

When the plugin is activated the products list in the admin (/wp-admin/edit.php?post_type=product) is all blank.

Below is the error message.

`2016/09/03 07:40:45 [error] 30751#30751: *2792 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function wc_add_notice() in /var/www/html/wp-content/plugins/woocommerce-dynamic-pricing-table-master/woocommerce-dynamic-pricing-table.php:353
Stack trace:
#0 /var/www/html/wp-content/plugins/woocommerce-dynamic-pricing-table-master/woocommerce-dynamic-pricing-table.php(363): WC_Dynamic_Pricing_Table->role_discount_notification_message()
#1 /var/www/html/wp-includes/plugin.php(600): WC_Dynamic_Pricing_Table->output_dynamic_pricing_role_message(Object(WP))
#2 /var/www/html/wp-includes/class-wp.php(738): do_action_ref_array('wp', Array)
#3 /var/www/html/wp-includes/functions.php(963): WP->main(Array)
#4 /var/www/html/wp-admin/includes/post.php(1070): wp(Array)
#5 /var/www/html/wp-admin/includes/class-wp-posts-list-table.php(142): wp_edit_posts_query()
#6 /var/www/html/wp-admin/edit.php(176): WP_Posts_List_Table->prepare_items()
#7 {main}

thrown in /var/www/html/wp-content/plugins/woocommerce-dynamic-pricing-table-master/woocommerce-dynamic-" while reading response header from upstream, client: 58.179.25.195, server: _, request: "GET /wp-admin/edit.php?post_type=product HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "45.63.24.64", referrer: "https://45.63.24.64/wp-admin/plugins.php?plugin_status=all&paged=1&s"
2016/09/03 07:42:31 [error] 30751#30751: *2792 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function wc_add_notice() in /var/www/html/wp-content/plugins/woocommerce-dynamic-pricing-table-master/woocommerce-dynamic-pricing-table.php:353`

@stuartduff stuartduff added the bug label Sep 5, 2016
@stuartduff stuartduff self-assigned this Sep 5, 2016
@stuartduff
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants