MarketPress Crash upon plugin activation

Upon activation of the MarketPress eCommerce plugin on my site it caused 500 errors for the WordPress installation. (Others were unaffected).

I have reason to believe that it is because of PHP7 (This was not an issue on 5.x). Is your plugin PHP 7 compatible?

Thanks!

  • delete me

    Here is the error log:

    [Sun May 01 08:22:29.896030 2016] [:error] [pid 32502] [client 192.168.0.1:56189] WordPress database error Table 'ElliotLabs.lsmvk0iivf_mp_product_attributes' doesn't exist for query SELECT * FROM lsmvk0iivf_mp_product_attributes made by require_once('wp-admin/admin.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), Marketpress->register_custom_types, MP_Product_Attributes->register, MP_Product_Attributes->get, referer: https://elliot-labs.com/wp-admin/plugins.php
    [Sun May 01 08:22:31.073939 2016] [:error] [pid 32502] [client 192.168.0.1:56189] PHP Fatal error:  'continue' not in the 'loop' or 'switch' context in /var/www/ElliotLabs/wp-content/plugins/marketpress/includes/common/payment-gateways/payfast.php on line 180, referer: https://elliot-labs.com/wp-admin/plugins.php
    [Sun May 01 08:22:33.657802 2016] [:error] [pid 29666] [client 192.168.0.1:56190] WordPress database error Table 'ElliotLabs.lsmvk0iivf_mp_product_attributes' doesn't exist for query SELECT * FROM lsmvk0iivf_mp_product_attributes made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), Marketpress->register_custom_types, MP_Product_Attributes->register, MP_Product_Attributes->get, referer: https://elliot-labs.com/wp-admin/post.php?post=2&action=edit
    [Sun May 01 08:22:33.665450 2016] [:error] [pid 29666] [client 192.168.0.1:56190] PHP Fatal error:  'continue' not in the 'loop' or 'switch' context in /var/www/ElliotLabs/wp-content/plugins/marketpress/includes/common/payment-gateways/payfast.php on line 180, referer: https://elliot-labs.com/wp-admin/post.php?post=2&action=edit
    [Sun May 01 08:22:36.166001 2016] [:error] [pid 32496] [client 192.168.0.1:56191] WordPress database error Table 'ElliotLabs.lsmvk0iivf_mp_product_attributes' doesn't exist for query SELECT * FROM lsmvk0iivf_mp_product_attributes made by require_once('wp-admin/admin.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), Marketpress->register_custom_types, MP_Product_Attributes->register, MP_Product_Attributes->get
    [Sun May 01 08:22:36.171018 2016] [:error] [pid 32496] [client 192.168.0.1:56191] PHP Fatal error:  'continue' not in the 'loop' or 'switch' context in /var/www/ElliotLabs/wp-content/plugins/marketpress/includes/common/payment-gateways/payfast.php on line 180
    [Sun May 01 08:22:37.187978 2016] [:error] [pid 32493] [client 192.168.0.1:56192] WordPress database error Table 'ElliotLabs.lsmvk0iivf_mp_product_attributes' doesn't exist for query SELECT * FROM lsmvk0iivf_mp_product_attributes made by require_once('wp-admin/admin.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), Marketpress->register_custom_types, MP_Product_Attributes->register, MP_Product_Attributes->get
    [Sun May 01 08:22:37.193120 2016] [:error] [pid 32493] [client 192.168.0.1:56192] PHP Fatal error:  'continue' not in the 'loop' or 'switch' context in /var/www/ElliotLabs/wp-content/plugins/marketpress/includes/common/payment-gateways/payfast.php on line 180
    [Sun May 01 08:22:39.474101 2016] [:error] [pid 30820] [client 192.168.0.1:56193] WordPress database error Table 'ElliotLabs.lsmvk0iivf_mp_product_attributes' doesn't exist for query SELECT * FROM lsmvk0iivf_mp_product_attributes made by require_once('wp-admin/admin.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), Marketpress->register_custom_types, MP_Product_Attributes->register, MP_Product_Attributes->get
    [Sun May 01 08:22:39.480854 2016] [:error] [pid 30820] [client 192.168.0.1:56193] PHP Fatal error:  'continue' not in the 'loop' or 'switch' context in /var/www/ElliotLabs/wp-content/plugins/marketpress/includes/common/payment-gateways/payfast.php on line 180
    [Sun May 01 08:22:46.589676 2016] [:error] [pid 32488] [client 192.168.0.1:56195] WordPress database error Table 'ElliotLabs.lsmvk0iivf_mp_product_attributes' doesn't exist for query SELECT * FROM lsmvk0iivf_mp_product_attributes made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), Marketpress->register_custom_types, MP_Product_Attributes->register, MP_Product_Attributes->get, referer: https://elliot-labs.com/?preview_id=2&preview_nonce=4220f78c69&preview=true
    [Sun May 01 08:22:46.590915 2016] [:error] [pid 32488] [client 192.168.0.1:56195] PHP Fatal error:  'continue' not in the 'loop' or 'switch' context in /var/www/ElliotLabs/wp-content/plugins/marketpress/includes/common/payment-gateways/payfast.php on line 180, referer: https://elliot-labs.com/?preview_id=2&preview_nonce=4220f78c69&preview=true
    [Sun May 01 08:22:49.474947 2016] [:error] [pid 32501] [client 192.168.0.1:56197] WordPress database error Table 'ElliotLabs.lsmvk0iivf_mp_product_attributes' doesn't exist for query SELECT * FROM lsmvk0iivf_mp_product_attributes made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), Marketpress->register_custom_types, MP_Product_Attributes->register, MP_Product_Attributes->get, referer: https://elliot-labs.com/wp-admin/post.php?post=2&action=edit
    [Sun May 01 08:22:49.479264 2016] [:error] [pid 32501] [client 192.168.0.1:56197] PHP Fatal error:  'continue' not in the 'loop' or 'switch' context in /var/www/ElliotLabs/wp-content/plugins/marketpress/includes/common/payment-gateways/payfast.php on line 180, referer: https://elliot-labs.com/wp-admin/post.php?post=2&action=edit
    [Sun May 01 08:23:04.630208 2016] [:error] [pid 32500] [client 192.168.0.1:56207] WordPress database error Table 'ElliotLabs.lsmvk0iivf_mp_product_attributes' doesn't exist for query SELECT * FROM lsmvk0iivf_mp_product_attributes made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), Marketpress->register_custom_types, MP_Product_Attributes->register, MP_Product_Attributes->get, referer: https://elliot-labs.com/wp-admin/post.php?post=2&action=edit
    [Sun May 01 08:23:04.634269 2016] [:error] [pid 32500] [client 192.168.0.1:56207] PHP Fatal error:  'continue' not in the 'loop' or 'switch' context in /var/www/ElliotLabs/wp-content/plugins/marketpress/includes/common/payment-gateways/payfast.php on line 180, referer: https://elliot-labs.com/wp-admin/post.php?post=2&action=edit
    [Sun May 01 08:23:21.106635 2016] [:error] [pid 318] [client 192.168.0.1:56210] WordPress database error Table 'ElliotLabs.lsmvk0iivf_mp_product_attributes' doesn't exist for query SELECT * FROM lsmvk0iivf_mp_product_attributes made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), Marketpress->register_custom_types, MP_Product_Attributes->register, MP_Product_Attributes->get, referer: https://elliot-labs.com/wp-admin/post.php?post=2&action=edit
    [Sun May 01 08:23:21.111280 2016] [:error] [pid 318] [client 192.168.0.1:56210] PHP Fatal error:  'continue' not in the 'loop' or 'switch' context in /var/www/ElliotLabs/wp-content/plugins/marketpress/includes/common/payment-gateways/payfast.php on line 180, referer: https://elliot-labs.com/wp-admin/post.php?post=2&action=edit
    [Sun May 01 08:23:36.613470 2016] [:error] [pid 29666] [client 192.168.0.1:56219] WordPress database error Table 'ElliotLabs.lsmvk0iivf_mp_product_attributes' doesn't exist for query SELECT * FROM lsmvk0iivf_mp_product_attributes made by require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), Marketpress->register_custom_types, MP_Product_Attributes->register, MP_Product_Attributes->get, referer: https://elliot-labs.com/wp-admin/post.php?post=2&action=edit
    [Sun May 01 08:23:36.617184 2016] [:error] [pid 29666] [client 192.168.0.1:56219] PHP Fatal error:  'continue' not in the 'loop' or 'switch' context in /var/www/ElliotLabs/wp-content/plugins/marketpress/includes/common/payment-gateways/payfast.php on line 180, referer: https://elliot-labs.com/wp-admin/post.php?post=2&action=edit
    [Sun May 01 08:23:57.929801 2016] [:error] [pid 318] [client 192.168.0.1:56257] WordPress database error Table 'ElliotLabs.lsmvk0iivf_mp_product_attributes' doesn't exist for query SELECT * FROM lsmvk0iivf_mp_product_attributes made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), do_action('init'), Marketpress->register_custom_types, MP_Product_Attributes->register, MP_Product_Attributes->get, referer: https://elliot-labs.com/projects/
    [Sun May 01 08:23:57.930999 2016] [:error] [pid 318] [client 192.168.0.1:56257] PHP Fatal error:  'continue' not in the 'loop' or 'switch' context in /var/www/ElliotLabs/wp-content/plugins/marketpress/includes/common/payment-gateways/payfast.php on line 180, referer: https://elliot-labs.com/projects/
    [Sun May 01 08:25:37.603269 2016] [core:crit] [pid 509] (13)Permission denied: [client 192.168.0.1:56330] AH00529: /var/www/ElliotLabs/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/ElliotLabs/' is executable, referer: https://elliot-labs.com/wp-admin/post.php?post=2&action=edit
    [Sun May 01 08:26:42.097554 2016] [core:crit] [pid 491] (13)Permission denied: [client 66.249.88.23:49980] AH00529: /var/www/ElliotLabs/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/ElliotLabs/' is executable
    [Sun May 01 08:26:43.174642 2016] [core:crit] [pid 32491] (13)Permission denied: [client 192.168.0.1:57757] AH00529: /var/www/ElliotLabs/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/ElliotLabs/' is executable
    [Sun May 01 08:26:43.666835 2016] [core:crit] [pid 32491] (13)Permission denied: [client 192.168.0.1:57757] AH00529: /var/www/ElliotLabs/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/ElliotLabs/' is executable, referer: https://elliot-labs.com/news/
  • Sajid

    Hi Elliot,
    Hope you are doing good today :slight_smile:

    Yes, you are right, this is because of PHP7 compatibility issue. Unfortunately, its not yet fully compatible with PHP7, however I spoke to the developer and he is expecting to send the beta version to our testing team. But I am unable to give an exact ETA of when exactly this will be fixed and available for public to avoid disappointment in case we miss the deadline due to technical reason.

    I am passing on these errors to our developer. Thanks for bringing in our attention and being a member :slight_smile:
    Cheers, Sajid

  • GDR

    I ran into this problem myself - Marketpress crashed my whole WP installation - so how do I go about removing it manually? And if more time passes before an compatible version is released, would it not be wise to either have a warning about this in the description for Marketpress, and maybe even have a check upon trying to activate the Marketpress plugin, on which PHP version it's running on?

    Thanks for advicing,
    Geir

  • Sajid

    Hi GDR,
    Hope you are doing good today :slight_smile:

    I am sorry to hear it broke your site too. To remove it back manually go to yourwordpresswebsite/wp-content/plugins folder via FTP or FileManager of cPanel and just remove the marketpress directory from it.

    Here are the exact steps for deleting the plugisn manually via FTP.
    1. Download and install FTP client (for example, Filezilla).
    2. Open FTP client and enter your FTP access credentials (host, username and password) to access files on your server.
    3. Navigate to 'yourwordpresswebsite/wp-content/plugins' directory.
    4. Delete (remove) necessary plugin by deleting its folder.

    If you have any further question then please start new thread instead of posting here so we can deal with that separately and do not spam the original poster.

    We are working hard to role out the latest version of MarketPress plugin that will be available really soon. But, I will pass on your suggestion for compatibility check along.

    Take care and have a nice day :slight_smile:

    Kind Regards,
    Sajid

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.