Product / Add not working when selected

Product / Add not working when selected

Laraship QuestionsCategory: TechnicalProduct / Add not working when selected
Robert Zohrer asked 1 week ago

I created a test product and when I select on it I get a 500 error instead of being taken to the ad page. Please take a look at the site and you\’ll see what I\’ mean.thanks

1 Answers
laraship Staff answered 1 week ago

Hello,

for 500 errors please check this and provide us with the actual error

https://www.laraship.com/question/project-uploaded-on-my-server/

Robert Zohrer replied 7 days ago

ok I have enabled debug feature. Here’s what showed in the browser on the upper right. I think when you all installed the module the database didn’t install completely because I also don’t see the table called utilites_categories (in reference to another question I asked today). See below:

ErrorException thrown with message “SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘number_value’ in ‘field list’ (SQL: select `number_value` from `utility_attribute_options` where `utility_attribute_options`.`attribute_id` = 2 and `utility_attribute_options`.`attribute_id` is not null and `attribute_id` = 2 order by `option_order` asc) (View: /home3/attachn1/public_html/resources/themes/classified/templates/product_show.blade.php)”

Stacktrace:
#98 ErrorException in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664
#97 Illuminate\View\Engines\CompilerEngine:handleViewException in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:45
#96 Illuminate\Database\QueryException in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664
#95 Doctrine\DBAL\Driver\PDOException in /home3/attachn1/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:63
#94 PDOException in /home3/attachn1/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:61
#93 PDO:prepare in /home3/attachn1/public_html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:61
#92 Doctrine\DBAL\Driver\PDOConnection:prepare in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:326
#91 Illuminate\Database\Connection:Illuminate\Database\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:657
#90 Illuminate\Database\Connection:runQueryCallback in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
#89 Illuminate\Database\Connection:run in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Database/Connection.php:333
#88 Illuminate\Database\Connection:select in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2095
#87 Illuminate\Database\Query\Builder:runSelect in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2289
#86 Illuminate\Database\Query\Builder:Illuminate\Database\Query\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2569
#85 Illuminate\Database\Query\Builder:onceWithColumns in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2291
#84 Illuminate\Database\Query\Builder:pluck in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:715
#83 Illuminate\Database\Eloquent\Builder:pluck in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php:23
#82 Illuminate\Database\Eloquent\Relations\Relation:forwardCallTo in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/Relation.php:386
#81 Illuminate\Database\Eloquent\Relations\Relation:__call in /home3/attachn1/public_html/Corals/modules/Utility/Models/Category/ModelOption.php:63
#80 Corals\Modules\Utility\Models\Category\ModelOption:getFormattedValueAttribute in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php:444
#79 Illuminate\Database\Eloquent\Model:mutateAttribute in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php:344
#78 Illuminate\Database\Eloquent\Model:getAttributeValue in /home3/attachn1/public_html/Corals/core/Foundation/Traits/Language/Translatable.php:96
#77 Corals\Foundation\Models\BaseModel:getAttributeValue in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php:317
#76 Illuminate\Database\Eloquent\Model:getAttribute in /home3/attachn1/public_html/Corals/core/Settings/Traits/CustomFieldsModelTrait.php:268
#75 Corals\Foundation\Models\BaseModel:getAttribute in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:1515
#74 Illuminate\Database\Eloquent\Model:__get in /home3/attachn1/public_html/Corals/core/Foundation/Traits/Hookable.php:128
#73 Corals\Foundation\Models\BaseModel:__get in /home3/attachn1/public_html/storage/framework/views/8330f555ef49c54e9d5848e352d89c5348a1a899.php:58
#72 include in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:43
#71 Illuminate\View\Engines\PhpEngine:evaluatePath in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:59
#70 Illuminate\View\Engines\CompilerEngine:get in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:142
#69 Illuminate\View\View:getContents in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:125
#68 Illuminate\View\View:renderContents in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/View/View.php:90
#67 Illuminate\View\View:render in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Http/Response.php:42
#66 Illuminate\Http\Response:setContent in /home3/attachn1/public_html/vendor/symfony/http-foundation/Response.php:202
#65 Symfony\Component\HttpFoundation\Response:__construct in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:750
#64 Illuminate\Routing\Router:toResponse in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:722
#63 Illuminate\Routing\Router:prepareResponse in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:682
#62 Illuminate\Routing\Router:Illuminate\Routing\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30
#61 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home3/attachn1/public_html/Corals/core/Foundation/Http/Controllers/BaseController.php:29
#60 Corals\Foundation\Http\Controllers\BaseController:Corals\Foundation\Http\Controllers\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:145
#59 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#58 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home3/attachn1/public_html/vendor/torann/currency/src/Middleware/CurrencyMiddleware.php:33
#57 Torann\Currency\Middleware\CurrencyMiddleware:handle in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163
#56 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#55 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home3/attachn1/public_html/Corals/core/Foundation/Http/Middleware/SetLocale.php:66
#54 Corals\Foundation\Http\Middleware\SetLocale:handle in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163
#53 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#52 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home3/attachn1/public_html/Corals/core/User/Middleware/CookieConsentMiddleware.php:34
#51 Corals\User\Middleware\CookieConsentMiddleware:handle in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163
#50 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#49 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:41
#48 Illuminate\Routing\Middleware\SubstituteBindings:handle in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163
#47 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#46 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:75
#45 Illuminate\Foundation\Http\Middleware\VerifyCsrfToken:handle in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163
#44 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#43 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49
#42 Illuminate\View\Middleware\ShareErrorsFromSession:handle in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163
#41 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#40 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:63
#39 Illuminate\Session\Middleware\StartSession:handle in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163
#38 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#37 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37
#36 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse:handle in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163
#35 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#34 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:66
#33 Illuminate\Cookie\Middleware\EncryptCookies:handle in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163
#32 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#31 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104
#30 Illuminate\Pipeline\Pipeline:then in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:684
#29 Illuminate\Routing\Router:runRouteWithinStack in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:659
#28 Illuminate\Routing\Router:runRoute in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:625
#27 Illuminate\Routing\Router:dispatchToRoute in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:614
#26 Illuminate\Routing\Router:dispatch in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:176
#25 Illuminate\Foundation\Http\Kernel:Illuminate\Foundation\Http\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:30
#24 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home3/attachn1/public_html/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php:65
#23 Barryvdh\Debugbar\Middleware\InjectDebugbar:handle in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163
#22 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#21 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home3/attachn1/public_html/vendor/fideloper/proxy/src/TrustProxies.php:57
#20 Fideloper\Proxy\TrustProxies:handle in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163
#19 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#18 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:31
#17 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163
#16 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#15 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:31
#14 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163
#13 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#12 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php:27
#11 Illuminate\Foundation\Http\Middleware\ValidatePostSize:handle in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163
#10 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#9 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php:62
#8 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode:handle in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163
#7 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#6 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home3/attachn1/public_html/vendor/barryvdh/laravel-cors/src/HandlePreflight.php:29
#5 Barryvdh\Cors\HandlePreflight:handle in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163
#4 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53
#3 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104
#2 Illuminate\Pipeline\Pipeline:then in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151
#1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /home3/attachn1/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116
#0 Illuminate\Foundation\Http\Kernel:handle in /home3/attachn1/public_html/public/index.php:55

50% OFF

No Minimum, No Exceptions
 
GO TO STORE
close-link