• Resolved martinsheize

    (@martinsheize)


    Fatal error: Uncaught Error: max(): Argument #1 ($value) must contain at least one element
    in /home/runcloud/webapps/phytopresso/wp-content/plugins/woo-shipping-dpd-baltic/admin/class-dpd-parcels.php on line 339

    Call stack:

    1. max()
      wp-content/plugins/woo-shipping-dpd-baltic/admin/class-dpd-parcels.php:339
    2. DPD_Parcels::is_available()
      wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php:256
    3. WC_Shipping_Method::get_rates_for_package()
      wp-content/plugins/woocommerce/includes/class-wc-shipping.php:348
    4. WC_Shipping::calculate_shipping_for_package()
      wp-content/plugins/woocommerce/includes/class-wc-shipping.php:260
    5. WC_Shipping::calculate_shipping()
      wp-content/plugins/polylang-wc/frontend/frontend-cart.php:117
    6. PLLWC_Frontend_Cart::wp_enqueue_scripts()
      wp-includes/class-wp-hook.php:308
    7. WP_Hook::apply_filters()
      wp-includes/class-wp-hook.php:332
    8. WP_Hook::do_action()
      wp-includes/plugin.php:517
    9. do_action()
      wp-includes/script-loader.php:2194
    10. wp_enqueue_scripts()
      wp-includes/class-wp-hook.php:308
    11. WP_Hook::apply_filters()
      wp-includes/class-wp-hook.php:332
    12. WP_Hook::do_action()
      wp-includes/plugin.php:517
    13. do_action()
      wp-includes/general-template.php:3049
    14. wp_head()
      wp-content/themes/woodmart/header.php:12
    15. require_once()
      wp-includes/template.php:783
    16. load_template()
      wp-includes/template.php:718
    17. locate_template()
      wp-includes/general-template.php:48
    18. get_header()
      wp-content/themes/woodmart/page.php:13
    19. include()
      wp-includes/template-loader.php:106
    20. require_once()
      wp-blog-header.php:19
    21. require()
      index.php:17

      ============================================
      Here is my site set up.
      From testing your plugin doesnt support php version 8+

    22. ` wp-core
    23. version: 6.2.2
    24. site_language: en_US
    25. user_language: en_US
    26. timezone: +00:00
    27. permalink: /%postname%/
    28. https_status: true
    29. multisite: false
    30. user_registration: 0
    31. blog_public: 0
    32. default_comment_status: open
    33. environment_type: production
    34. user_count: 6
    35. dotorg_communication: true wp-paths-sizes
    36. wordpress_path: /home/runcloud/webapps/phytopresso
    37. wordpress_size: 142.97 MB (149909746 bytes)
    38. uploads_path: /home/runcloud/webapps/phytopresso/wp-content/uploads
    39. uploads_size: 197.66 MB (207264156 bytes)
    40. themes_path: /home/runcloud/webapps/phytopresso/wp-content/themes
    41. themes_size: 96.30 MB (100976352 bytes)
    42. plugins_path: /home/runcloud/webapps/phytopresso/wp-content/plugins
    43. plugins_size: 168.88 MB (177080850 bytes)
    44. database_size: 134.70 MB (141246464 bytes)
    45. total_size: 740.51 MB (776477568 bytes) wp-dropins (1)
    46. advanced-cache.php: true wp-active-theme
    47. name: Woodmart Child (woodmart-child)
    48. version: 1.0.0
    49. author: XTemos
    50. author_website: https://xtemos.com
    51. parent_theme: Woodmart (woodmart)
    52. theme_features: core-block-patterns, woocommerce, wc-product-gallery-zoom, widgets-block-editor, post-thumbnails, post-formats, automatic-feed-links, title-tag, html5, menus, editor-style, editor-styles, align-wide, widgets
    53. theme_path: /home/runcloud/webapps/phytopresso/wp-content/themes/woodmart-child
    54. auto_update: Disabled wp-parent-theme
    55. name: Woodmart (woodmart)
    56. version: 7.2.5
    57. author: XTemos
    58. author_website: https://themeforest.net/user/xtemos
    59. theme_path: /home/runcloud/webapps/phytopresso/wp-content/themes/woodmart
    60. auto_update: Disabled wp-themes-inactive (3)
    61. Twenty Twenty-One: version: 1.8, author: the WordPress team, Auto-updates disabled
    62. Twenty Twenty-Three: version: 1.1, author: the WordPress team, Auto-updates disabled
    63. Twenty Twenty-Two: version: 1.4, author: the WordPress team, Auto-updates disabled wp-mu-plugins (1)
    64. NinjaFirewall WP (mu-plugin): version: 1.0, author: The Ninja Technologies Network wp-plugins-active (23)
    65. Advanced Custom Fields: version: 6.1.7, author: WP Engine, Auto-updates disabled
    66. B2BKing Core: version: 4.6.43, author: WebWizards, Auto-updates disabled
    67. B2BKing Pro: version: 4.6.90, author: WebWizards, Auto-updates disabled
    68. BluOr E-commerce Gateway: version: 1.1.2, author: BluOr, Auto-updates disabled
    69. Checkout Field Editor for WooCommerce (Pro): version: 3.1.6, author: ThemeHigh, Auto-updates disabled
    70. Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website Builder by SeedProd: version: 6.15.13.1, author: SeedProd, Auto-updates disabled
    71. CookieYes | GDPR Cookie Consent: version: 3.1.1, author: CookieYes, Auto-updates disabled
    72. Elementor: version: 3.15.1, author: Elementor.com, Auto-updates disabled
    73. Gravity Forms: version: 2.7.11, author: Gravity Forms, Auto-updates enabled
    74. Loco Translate: version: 2.6.4, author: Tim Whitlock, Auto-updates disabled
    75. NinjaFirewall (WP Edition): version: 4.5.9, author: The Ninja Technologies Network, Auto-updates disabled
    76. Polylang for WooCommerce: version: 1.8, author: WP SYNTEX, Auto-updates disabled
    77. Polylang Pro: version: 3.4.4, author: WP SYNTEX, Auto-updates disabled
    78. Post SMTP: version: 2.5.9, author: Post SMTP, Auto-updates disabled
    79. Query Monitor: version: 3.13.1, author: John Blackbourn, Auto-updates disabled
    80. Rank Math SEO: version: 1.0.120, author: Rank Math, Auto-updates disabled
    81. Safe SVG: version: 2.1.1, author: 10up, Auto-updates disabled
    82. Shipping with Venipak for WooCommerce: version: 1.18.0, author: ShopUp, Auto-updates disabled
    83. Smash Balloon Instagram Feed: version: 6.1.6, author: Smash Balloon, Auto-updates disabled
    84. WooCommerce: version: 7.9.0, author: Automattic, Auto-updates disabled
    85. WooCommerce Stripe Gateway: version: 7.4.2, author: WooCommerce, Auto-updates disabled
    86. Woodmart Core: author: (undefined), version: 1.0.39, Auto-updates disabled
    87. WP Super Cache: version: 1.9.4, author: Automattic, Auto-updates disabled wp-plugins-inactive (1)
    88. DPD Baltic Shipping: version: 1.2.58, author: DPD, Auto-updates disabled wp-media
    89. image_editor: WP_Image_Editor_GD
    90. imagick_module_version: Not available
    91. imagemagick_version: Not available
    92. imagick_version: Not available
    93. file_uploads: File uploads is turned off
    94. post_max_size: 256M
    95. upload_max_filesize: 256M
    96. max_effective_size: 256 MB
    97. max_file_uploads: 20
    98. gd_version: bundled (2.1.0 compatible)
    99. gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
    100. ghostscript_version: unknown wp-server
    101. server_architecture: Linux 5.15.0-76-generic x86_64
    102. httpd_software: Apache/2.4.57 (Unix) OpenSSL/3.0.2
    103. php_version: 8.2.8 64bit
    104. php_sapi: fpm-fcgi
    105. max_input_variables: 1000
    106. time_limit: 30
    107. memory_limit: 1000M
    108. max_input_time: 60
    109. upload_max_filesize: 256M
    110. php_post_max_size: 256M
    111. curl_version: 7.81.0 OpenSSL/3.0.2
    112. suhosin: false
    113. imagick_availability: false
    114. pretty_permalinks: true
    115. htaccess_extra_rules: false wp-database
    116. extension: mysqli
    117. server_version: 10.6.14-MariaDB-1:10.6.14+maria~ubu2204
    118. client_version: mysqlnd 8.2.8
    119. max_allowed_packet: 67108864
    120. max_connections: 4096 wp-constants
    121. WP_HOME: undefined
    122. WP_SITEURL: undefined
    123. WP_CONTENT_DIR: /home/runcloud/webapps/phytopresso/wp-content
    124. WP_PLUGIN_DIR: /home/runcloud/webapps/phytopresso/wp-content/plugins
    125. WP_MEMORY_LIMIT: 40M
    126. WP_MAX_MEMORY_LIMIT: 1000M
    127. WP_DEBUG: false
    128. WP_DEBUG_DISPLAY: false
    129. WP_DEBUG_LOG: true
    130. SCRIPT_DEBUG: false
    131. WP_CACHE: true
    132. CONCATENATE_SCRIPTS: undefined
    133. COMPRESS_SCRIPTS: undefined
    134. COMPRESS_CSS: undefined
    135. WP_ENVIRONMENT_TYPE: Undefined
    136. DB_CHARSET: utf8
    137. DB_COLLATE: undefined wp-filesystem
    138. wordpress: writable
    139. wp-content: writable
    140. uploads: writable
    141. plugins: writable
    142. themes: writable
    143. mu-plugins: writable pll_options
    144. browser: 0: Detect browser language deactivated
    145. rewrite: 1: Remove /language/ in pretty permalinks
    146. hide_default: 1: Hide URL language information for default language
    147. force_lang: 1: The language is set from the directory name in pretty permalinks
    148. redirect_lang: 0: The front page URL contains the page name or page id instead of the language code
    149. media_support: 0: The media are not translated
    150. sync: 0: Synchronization disabled
    151. post_types: post, page, wp_block, wp_navigation, cms_block, portfolio, product, product_variation, shop_order, wp_template_part
    152. taxonomies: category, post_tag, project-cat, product_cat, product_tag
    153. version: 3.4.4
    154. default_lang: en
    155. main-menu: lv => 234 | en => 177 | ru => 0 | fr => 0 | de => 0 | sv => 0 | it => 0 | es => 0 | cs => 0
    156. mobile-menu: lv => 0 | en => 181 | ru => 0 | fr => 0 | de => 0 | sv => 0 | it => 0 | es => 0 | cs => 0
    157. previous_version: 3.3.3 pll_language_lv
    158. name: Latvie?u valoda
    159. slug: lv
    160. term_group: 0
    161. term_id: 16
    162. locale: lv
    163. is_rtl: 0
    164. w3c: lv
    165. facebook: lv_LV
    166. home_url: https://phytopresso.lionssolution.com/lv/home/
    167. search_url: https://phytopresso.lionssolution.com/lv/
    168. page_on_front: 11655
    169. page_for_posts: 0
    170. flag_code: lv
    171. flag_url: https://phytopresso.lionssolution.com/wp-content/plugins/polylang-pro/vendor/wpsyntex/polylang/flags/lv.png
    172. custom_flag_url: 0
    173. active: true
    174. fallbacks: 0
    175. is_default: 0
    176. term_props:
    177. language/term_id: 16
    178. language/term_taxonomy_id: 16
    179. language/count: 37
    180. term_language/term_id: 17
    181. term_language/term_taxonomy_id: 17
    182. term_language/count: 7 pll_language_en
    183. name: English
    184. slug: en
    185. term_group: 0
    186. term_id: 19
    187. locale: en_GB
    188. is_rtl: 0
    189. w3c: en-GB
    190. facebook: en_GB
    191. home_url: https://phytopresso.lionssolution.com/
    192. search_url: https://phytopresso.lionssolution.com/
    193. page_on_front: 9763
    194. page_for_posts: 0
    195. flag_code: gb
    196. flag_url: https://phytopresso.lionssolution.com/wp-content/plugins/polylang-pro/vendor/wpsyntex/polylang/flags/gb.png
    197. custom_flag_url: 0
    198. active: true
    199. fallbacks: 0
    200. is_default: true
    201. term_props:
    202. language/term_id: 19
    203. language/term_taxonomy_id: 19
    204. language/count: 56
    205. term_language/term_id: 20
    206. term_language/term_taxonomy_id: 20
    207. term_language/count: 20 pll_language_ru
    208. name: Русский
    209. slug: ru
    210. term_group: 0
    211. term_id: 23
    212. locale: ru_RU
    213. is_rtl: 0
    214. w3c: ru-RU
    215. facebook: ru_RU
    216. home_url: https://phytopresso.lionssolution.com/ru/
    217. search_url: https://phytopresso.lionssolution.com/ru/
    218. page_on_front: 0
    219. page_for_posts: 0
    220. flag_code: ru
    221. flag_url: https://phytopresso.lionssolution.com/wp-content/plugins/polylang-pro/vendor/wpsyntex/polylang/flags/ru.png
    222. custom_flag_url: 0
    223. active: 0
    224. fallbacks: 0
    225. is_default: 0
    226. term_props:
    227. language/term_id: 23
    228. language/term_taxonomy_id: 23
    229. language/count: 6
    230. term_language/term_id: 24
    231. term_language/term_taxonomy_id: 24
    232. term_language/count: 2 pll_language_fr
    233. name: Fran?ais
    234. slug: fr
    235. term_group: 0
    236. term_id: 38
    237. locale: fr_FR
    238. is_rtl: 0
    239. w3c: fr-FR
    240. facebook: fr_FR
    241. home_url: https://phytopresso.lionssolution.com/fr/
    242. search_url: https://phytopresso.lionssolution.com/fr/
    243. page_on_front: 0
    244. page_for_posts: 0
    245. flag_code: fr
    246. flag_url: https://phytopresso.lionssolution.com/wp-content/plugins/polylang-pro/vendor/wpsyntex/polylang/flags/fr.png
    247. custom_flag_url: 0
    248. active: 0
    249. fallbacks: 0
    250. is_default: 0
    251. term_props:
    252. language/term_id: 38
    253. language/term_taxonomy_id: 38
    254. language/count: 6
    255. term_language/term_id: 39
    256. term_language/term_taxonomy_id: 39
    257. term_language/count: 2 pll_language_de
    258. name: Deutsch
    259. slug: de
    260. term_group: 0
    261. term_id: 46
    262. locale: de_DE
    263. is_rtl: 0
    264. w3c: de-DE
    265. facebook: de_DE
    266. home_url: https://phytopresso.lionssolution.com/de/home/
    267. search_url: https://phytopresso.lionssolution.com/de/
    268. page_on_front: 11656
    269. page_for_posts: 0
    270. flag_code: de
    271. flag_url: https://phytopresso.lionssolution.com/wp-content/plugins/polylang-pro/vendor/wpsyntex/polylang/flags/de.png
    272. custom_flag_url: 0
    273. active: 0
    274. fallbacks: 0
    275. is_default: 0
    276. term_props:
    277. language/term_id: 46
    278. language/term_taxonomy_id: 46
    279. language/count: 34
    280. term_language/term_id: 47
    281. term_language/term_taxonomy_id: 47
    282. term_language/count: 5 pll_language_sv
    283. name: Svenska
    284. slug: sv
    285. term_group: 0
    286. term_id: 54
    287. locale: sv_SE
    288. is_rtl: 0
    289. w3c: sv-SE
    290. facebook: sv_SE
    291. home_url: https://phytopresso.lionssolution.com/sv/
    292. search_url: https://phytopresso.lionssolution.com/sv/
    293. page_on_front: 0
    294. page_for_posts: 0
    295. flag_code: se
    296. flag_url: https://phytopresso.lionssolution.com/wp-content/plugins/polylang-pro/vendor/wpsyntex/polylang/flags/se.png
    297. custom_flag_url: 0
    298. active: 0
    299. fallbacks: 0
    300. is_default: 0
    301. term_props:
    302. language/term_id: 54
    303. language/term_taxonomy_id: 54
    304. language/count: 7
    305. term_language/term_id: 55
    306. term_language/term_taxonomy_id: 55
    307. term_language/count: 2 pll_language_it
    308. name: Italiano
    309. slug: it
    310. term_group: 0
    311. term_id: 62
    312. locale: it_IT
    313. is_rtl: 0
    314. w3c: it-IT
    315. facebook: it_IT
    316. home_url: https://phytopresso.lionssolution.com/it/
    317. search_url: https://phytopresso.lionssolution.com/it/
    318. page_on_front: 0
    319. page_for_posts: 0
    320. flag_code: it
    321. flag_url: https://phytopresso.lionssolution.com/wp-content/plugins/polylang-pro/vendor/wpsyntex/polylang/flags/it.png
    322. custom_flag_url: 0
    323. active: 0
    324. fallbacks: 0
    325. is_default: 0
    326. term_props:
    327. language/term_id: 62
    328. language/term_taxonomy_id: 62
    329. language/count: 6
    330. term_language/term_id: 63
    331. term_language/term_taxonomy_id: 63
    332. term_language/count: 2 pll_language_es
    333. name: Espa?ol
    334. slug: es
    335. term_group: 0
    336. term_id: 70
    337. locale: es_ES
    338. is_rtl: 0
    339. w3c: es-ES
    340. facebook: es_ES
    341. home_url: https://phytopresso.lionssolution.com/es/
    342. search_url: https://phytopresso.lionssolution.com/es/
    343. page_on_front: 0
    344. page_for_posts: 0
    345. flag_code: es
    346. flag_url: https://phytopresso.lionssolution.com/wp-content/plugins/polylang-pro/vendor/wpsyntex/polylang/flags/es.png
    347. custom_flag_url: 0
    348. active: 0
    349. fallbacks: 0
    350. is_default: 0
    351. term_props:
    352. language/term_id: 70
    353. language/term_taxonomy_id: 70
    354. language/count: 6
    355. term_language/term_id: 71
    356. term_language/term_taxonomy_id: 71
    357. term_language/count: 2 pll_language_cs
    358. name: ?e?tina
    359. slug: cs
    360. term_group: 0
    361. term_id: 78
    362. locale: cs_CZ
    363. is_rtl: 0
    364. w3c: cs-CZ
    365. facebook: cs_CZ
    366. home_url: https://phytopresso.lionssolution.com/cs/home/
    367. search_url: https://phytopresso.lionssolution.com/cs/
    368. page_on_front: 11657
    369. page_for_posts: 0
    370. flag_code: cz
    371. flag_url: https://phytopresso.lionssolution.com/wp-content/plugins/polylang-pro/vendor/wpsyntex/polylang/flags/cz.png
    372. custom_flag_url: 0
    373. active: 0
    374. fallbacks: 0
    375. is_default: 0
    376. term_props:
    377. language/term_id: 78
    378. language/term_taxonomy_id: 78
    379. language/count: 34
    380. term_language/term_id: 79
    381. term_language/term_taxonomy_id: 79
    382. term_language/count: 5 pll_warnings
    383. wpml:
    384. plugins/cookie-law-info: /home/runcloud/webapps/phytopresso/wp-content/plugins/cookie-law-info/wpml-config.xml
    385. plugins/instagram-feed: /home/runcloud/webapps/phytopresso/wp-content/plugins/instagram-feed/wpml-config.xml
    386. plugins/seo-by-rank-math: /home/runcloud/webapps/phytopresso/wp-content/plugins/seo-by-rank-math/wpml-config.xml
    387. themes/woodmart: /home/runcloud/webapps/phytopresso/wp-content/themes/woodmart/wpml-config.xml polylang-wc
    388. Terms and conditions: 10162 – Missing translations: Русский, Fran?ais, Svenska, Italiano, Espa?ol

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter martinsheize

    (@martinsheize)

    Plugin doesnt work with php version 8, please update.

    Plugin Author dpdbaltics

    (@dpdbaltics)

    Hey, @martinsheize, we are aware of these issues and we are currently investigating our plugin compatibility with PHP 8.1. We will have more info in an upcoming month.
    Thank you for letting us know about the issues in your website.

    For now I’m marking this ticket as resolved, please let us know if you will have additional problems with the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error’ is closed to new replies.