when i'm starting the server i recive this error-> 10:47:31] [Server thread/INFO]: Loading DevTools v1.11.2 [10:47:32] [Server thread/INFO]: Enabling DevTools v1.11.2 [10:47:32] [Server thread/INFO]: Loading source plugin EconomyAPI v2.0.9 [10:47:32] [Server thread/INFO]: Loading source plugin AuctionHouse v1 [10:47:32] [Server thread/CRITICAL]: ParseError: "syntax error, unexpected 'and' (T_LOGICAL_AND), expecting :: (T_PAAMAYIM_NEKUDOTAYIM)" (EXCEPTION) in "/plugins/AuctionHouse-master/src/R4KT/AuctionHouse" at line 64 The line 64 --> foreach ($this->auctions as $aucId => $aucData and $this->bids as $bidId => $bidData) { I made a issue on Github and he doesnt even respond.. Can anyone fix it?
That is an incorrect usage/syntax of foreach loop. You cant iterate through two arrays in one loop. Learn how to use it properly.
It's hundred percent failure if you go blind coding. Take some php lessons, and come back with that knowledge to finish original task.
It's not always that simple. Small things in code can impact whole project. Try showing us your code here, perhaps someone will correct you. Although we don't know what you expect it to do.
Auction system for PocketMine-MP [W.I.P] - Work In Progress Finishing whole plugin isn't small things, it's exactly half of the moon. https://github.com/R4KT/AuctionHouse/pull/5
if you are not a collaborator, this plugin may be not ready yet as for the fix, primus beat it to me for saying it