PHP error when loading comissions (api fatal error)

MultivendorX

Resolved
Viewing 7 reply threads
  • Author
    Posts
    • #145315
      seb
      Participant

      Hello,

      since the Multivendor 4.0.0 and 4.0.1 updates, we can t view the list of comissions.

      {domain}/wp-admin/admin.php?page=mvx#&submenu=commission

      We have a lot of comissions in this list (5 years of wcmp usage)

      THe api endpoint /wp-json/mvx_module/v1/all_commission return a fatal memory size issues

      <b>Fatal error</b>: Allowed memory size of 671088640 bytes exhausted (tried to allocate 20480 bytes) in <b>XXXXX/www/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php</b> on line <b>604</b><br />

      We havent this issue when workking with WC Marketplace (before auto updating to Multivendor X).

    • #145376

      Sorry to hear that you have faced this issue.

      This is an allowed memory size exhausted error. By default, WordPress automatically tries to increase PHP memory limit if it is less than 64MB. However, 64MB is often not high enough. So you need to increase PHP memory limit in WordPress to avoid memory exhausted error.

      Please follow this blog to increase the memory limit https://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/

      Let us know if you need any further help.

    • #145389
      seb
      Participant

      My server is 512Mo php memory limit.

    • #145440

      Seb, we have modified our coding. We will add the fix in our next update by next week.

      We have also added a fix in our GitHub.
      So, after downloading the plugin from here – https://github.com/multivendorx/MultiVendorX/archive/refs/heads/main.zip, follow these steps :
      – Delete the installed WC Marketplace via wp-admin >> plugin
      – Unzip the GitHub plugin
      – Rename the folder as “dc-woocommerce-multi-vendor” and remove the master tag. Now, zip this folder again.
      – Install this plugin on your site.
      Please do keep us posted.

    • #145603
      seb
      Participant

      Hello

      No more 500 erros, but by default page display “There are no records to display”.
      I have set a date range to make this works.

    • #145626

      @seb, can you please share a temporary admin, FTP access so we can check.

      While sharing the access don’t forget to mark the response as private.

    • #145828
      This reply has been marked as private.
    • #192231

      It’s been a while and we have not heard back from you . We presume your query is solved now . So we are closing this thread . If you face issue in future please open a new thread .

Viewing 7 reply threads

The topic ‘PHP error when loading comissions (api fatal error)’ is closed to new replies.