Team Ai
Datasetpublic

Mo7art/Stack2Graph_KG_php

PHP StackOverflow Knowledge Graph Summary This Hugging Face dataset repository contains the PHP shard of the Stack2Graph StackOverflow Knowledge Graph. Hugging Face uses one dataset repository per programming language, so this repository is directly cloneable without an extra top-level archive wrapper. The artifact is optimized for graph-based retrieval, SPARQL analytics, and retrieval-augmented question answering over Stack Overflow content. Stack2Graph source:… See the full description on the dataset page: https://huggingface.co/datasets/Mo7art/Stack2Graph_KG_php.

sourceHugging Facecc-by-sa-4.0updated 3mo agoView on Hugging Face
0likes189downloads
chunk188.nt33018 linesDownload Raw Back to php
1<http://stackoverflow.com/a/79447687> <http://stackoverflow.com/schema#upvoteCount> "3"^^<http://www.w3.org/2001/XMLSchema#integer> .2<http://stackoverflow.com/q/79449510> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .3<http://stackoverflow.com/q/79500063> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140210205> .4<http://stackoverflow.com/q/79525215> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140246885> .5<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79427963> .6<http://stackoverflow.com/tag/symfony4> <http://stackoverflow.com/schema#tagName> "symfony4"^^<http://www.w3.org/2001/XMLSchema#string> .7<http://stackoverflow.com/comment/140276555> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79542967> .8<http://stackoverflow.com/q/79483898> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .9<http://stackoverflow.com/tag/wordpress-shortcode> <http://stackoverflow.com/schema#tagName> "wordpress-shortcode"^^<http://www.w3.org/2001/XMLSchema#string> .10<http://stackoverflow.com/comment/140234967> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnswerComment> .11<http://stackoverflow.com/comment/140151225> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .12<http://stackoverflow.com/tag/gd> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79480328> .13<http://stackoverflow.com/q/79496462> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/html> .14<http://stackoverflow.com/q/79507158> <http://stackoverflow.com/schema#hasTitle> "Microsoft Graph API v2 - Upload and Downlod files from / to OneDrive using PHP"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .15<http://stackoverflow.com/q/79448876> <http://stackoverflow.com/schema#downvoteCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .16<http://stackoverflow.com/comment/140171236> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79481079> .17<http://stackoverflow.com/q/79465831> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;as the title says, I&#x27;m trying to hook into Elementor&#x27;s exisiting CTA-widget and turn the existing input field into a WYSIWYG-field by looking at the widget&#x27;s structure etc. within elementor pro directory. But somehow nothing happens. If I change it in the plugins source file it works, but sure I want to override it through my functions.php.&lt;/p&gt;\n&lt;p&gt;I&#x27;ve done this for the slides Widget before and that worked well. What am I missing here?&lt;/p&gt;\n&lt;pre class=&quot;lang-php prettyprint-override&quot;&gt;&lt;code&gt;/*\n * Set Elementor &amp;gt; CTA widget description as wysiwyg Text Editor\n */\nadd_action( &#x27;elementor/element/call-to-action/section_content/before_section_end&#x27;, function( $widget, $args ) {\n    $cta_control = \\Elementor\\Plugin::instance()-&amp;gt;controls_manager-&amp;gt;get_control_from_stack( $widget-&amp;gt;get_unique_name(), &#x27;call-to-action&#x27; );\n\n    if ( is_wp_error( $cta_control ) ) {\n        return;\n    }\n\n    $cta_control[&#x27;fields&#x27;][&#x27;description&#x27;][&#x27;type&#x27;] = \\Elementor\\Controls_Manager::WYSIWYG;\n\n    $widget-&amp;gt;update_control( &#x27;call-to-action&#x27;, $cta_control );\n},10 ,2 );\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;Any help appreciated. Thank you.&lt;/p&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .18<http://stackoverflow.com/q/79525580> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#UnansweredQuestion> .19<http://stackoverflow.com/comment/140186591> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/a/79488745> .20<http://stackoverflow.com/tag/codeigniter-flashdata> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79545776> .21<http://stackoverflow.com/a/79423300> <http://stackoverflow.com/schema#answersQuestion> <http://stackoverflow.com/q/79423259> .22<http://stackoverflow.com/q/79474809> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;I&#x27;ve got the weirdest of problems. im using laravel 10.x and fimanent 3 and im having this issue where the filament routes work just fine but the routes ive created and have on web.php return &lt;code&gt;404&lt;/code&gt;. This is my file:&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;\nuse App\\Livewire\\Cart;\nuse App\\Livewire\\CheckoutStatus;\nuse App\\Livewire\\ProductInfo;\nuse App\\Livewire\\StoreFront;\nuse App\\Livewire\\ViewOrder;\nuse App\\Models\\About;\nuse App\\Models\\Contact;\nuse App\\Models\\FAQdata;\nuse App\\Models\\Help;\nuse App\\Models\\Privacy;\nuse App\\Models\\Support;\nuse App\\Models\\Terms;\nuse Illuminate\\Support\\Facades\\Route;\n\n/*\n|--------------------------------------------------------------------------\n| Web Routes\n|--------------------------------------------------------------------------\n|\n| Here is where you can register web routes for your application. These\n| routes are loaded by the RouteServiceProvider and all of them will\n| be assigned to the &amp;quot;web&amp;quot; middleware group. Make something great!\n|\n*/\nRoute::get(&#x27;/&#x27;, function () {\n    return view(&#x27;publicPage&#x27;);\n})-&amp;gt;name(&#x27;home&#x27;);\n\n\n\nRoute::get(&#x27;/faq&#x27;, function () {\n    return view(&#x27;footer.FAQ&#x27;, [&#x27;faq&#x27; =&amp;gt; FAQdata::get()]);\n})-&amp;gt;name(&#x27;faq&#x27;);\n\nRoute::get(&#x27;/help&#x27;, function () {\n    return view(&#x27;footer.help&#x27;, [&#x27;help&#x27; =&amp;gt; Help::get()]);\n})-&amp;gt;name(&#x27;help&#x27;);\n\nRoute::get(&#x27;/support&#x27;, function () {\n    return view(&#x27;footer.support&#x27;, [&#x27;support&#x27; =&amp;gt; Support::get()]);\n})-&amp;gt;name(&#x27;support&#x27;);\n\nRoute::get(&#x27;/privacy&#x27;, function () {\n    return view(&#x27;footer.privacy&#x27;, [&#x27;privacy&#x27; =&amp;gt; Privacy::get()]);\n})-&amp;gt;name(&#x27;privacy&#x27;);\n\nRoute::get(&#x27;/terms&#x27;, function () {\n    return view(&#x27;footer.terms&#x27;, [&#x27;terms&#x27; =&amp;gt; Terms::get()]);\n})-&amp;gt;name(&#x27;terms&#x27;);\n\nRoute::get(&#x27;/contact&#x27;, function () {\n    return view(&#x27;footer.contact&#x27;, [&#x27;contact&#x27; =&amp;gt; Contact::get()]);\n})-&amp;gt;name(&#x27;contact&#x27;);\n\nRoute::get(&#x27;/about&#x27;, function () {\n    return view(&#x27;footer.about&#x27;, [&#x27;about&#x27; =&amp;gt; About::get()]);\n})-&amp;gt;name(&#x27;about&#x27;);\n//Route::middleware([&#x27;auth&#x27;, &#x27;auth.session&#x27;])-&amp;gt;group(function () {\n//    Route::get(&#x27;preview&#x27;, function (){\n//        $order = \\App\\Models\\Order::first();\n//        return new \\App\\Mail\\OrderConfirmation($order);\n//       $cart = \\App\\Models\\User::first()-&amp;gt;cart;\n//       return new \\App\\Mail\\AbandonedCartReminder($cart);\n//    });\n//});\n//Route::middleware(&#x27;public-page-check&#x27;)-&amp;gt;group(function () {\n    Route::get(&#x27;/shop&#x27;, StoreFront::class)-&amp;gt;name(&#x27;shop&#x27;);\n\n    Route::get(&#x27;/product/{product}&#x27;,ProductInfo::class)-&amp;gt;name(&#x27;productInfo&#x27;);\n\n    Route::get(&#x27;/cart&#x27;,Cart::class)-&amp;gt;name(&#x27;cart&#x27;);\n\n    Route::get(&#x27;/checkout-status&#x27;,CheckoutStatus::class)-&amp;gt;name(&#x27;checkout-status&#x27;);\n\n    Route::get(&#x27;/order/{orderId}&#x27;,ViewOrder::class)-&amp;gt;name(&#x27;view-order&#x27;);\n//});\nRoute::redirect(&#x27;/login&#x27;, &#x27;/admin/login&#x27;)-&amp;gt;name(&#x27;redirectedLogin&#x27;);\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;they used to work before but i have absolutely no idea what happened. Any help is highly appreciated. The issue persists in production aswell.&lt;/p&gt;\n&lt;p&gt;i&#x27;ve went through the web.php file over and over and cant find any issue. i also disabled one of my middlewares and still the same problem. Checked all the filenames related to the routes and they all match.I&#x27;ve cleared all caches just in case and still the same thing.&lt;/p&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .23<http://stackoverflow.com/comment/140081940> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .24<http://stackoverflow.com/comment/140133710> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .25<http://stackoverflow.com/q/79489848> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/symfony> .26<http://stackoverflow.com/comment/140111175> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .27<http://stackoverflow.com/comment/140219626> <http://stackoverflow.com/schema#score> "2"^^<http://www.w3.org/2001/XMLSchema#integer> .28<http://stackoverflow.com/q/79523187> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140243123> .29<http://stackoverflow.com/comment/140255840> <http://stackoverflow.com/schema#hasText> "Looks like you put only the values into double quotes, but not the keys. It needs to be done with the keys as well, see https://sdk.invoicing.eta.gov.eg/document-serialization-approach/#algorithm-overview - they have an example input JSON data structure there, and what the resulting serialization string before hashing should look like. So use their example input, and then make sure your serialization result matches theirs exactly."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .30<http://stackoverflow.com/q/79454758> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .31<http://stackoverflow.com/tag/http> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79448448> .32<http://stackoverflow.com/comment/140111164> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .33<http://stackoverflow.com/q/79520515> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;In magento 2 the image types seem to function as radio buttons, I however want to change one of the types (a custom one) to function as a checkbox, so basically allow multiple images to have this attribute. And then be able to filter them out of the image gallery. I have been looking for a solution and trying out multiple things, but I cant seem to get it done. In magento 2 I have created the type &#x27;Certificate&#x27; and I want to be able to assign it to multiple images under a product.&lt;/p&gt;\n&lt;p&gt;&lt;a href=&quot;https://i.sstatic.net/jtmt0rfF.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.sstatic.net/jtmt0rfF.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;\n&lt;pre class=&quot;lang-php prettyprint-override&quot;&gt;&lt;code&gt;    /**\n     * @inheritdoc\n     */\n    public function apply(): self\n    {\n        $this-&amp;gt;moduleDataSetup-&amp;gt;getConnection()-&amp;gt;startSetup();\n\n        $eavSetup = $this-&amp;gt;eavSetupFactory-&amp;gt;create([&#x27;setup&#x27; =&amp;gt; $this-&amp;gt;moduleDataSetup]);\n        $eavSetup-&amp;gt;addAttribute(\n            Product::ENTITY,\n            &#x27;certificate_image&#x27;,\n            [\n                &#x27;type&#x27; =&amp;gt; &#x27;text&#x27;,\n                &#x27;label&#x27; =&amp;gt; &#x27;Certificate&#x27;,\n                &#x27;input&#x27; =&amp;gt; &#x27;media_image&#x27;,\n                &#x27;frontend&#x27; =&amp;gt; &#x27;Magento\\Catalog\\Model\\Product\\Attribute\\Frontend\\Image&#x27;,\n                &#x27;global&#x27; =&amp;gt; ScopedAttributeInterface::SCOPE_STORE,\n                &#x27;filterable&#x27; =&amp;gt; false,\n                &#x27;visible_on_front&#x27; =&amp;gt; false,\n                &#x27;used_in_product_listing&#x27; =&amp;gt; false,\n                &#x27;sort_order&#x27; =&amp;gt; 100,\n                &#x27;required&#x27; =&amp;gt; false,\n                &#x27;is_user_defined&#x27; =&amp;gt; true,\n            ]\n        );\n\n\n        $this-&amp;gt;moduleDataSetup-&amp;gt;getConnection()-&amp;gt;endSetup();\n        return $this;\n    }\n&lt;/code&gt;&lt;/pre&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .34<http://stackoverflow.com/q/79528596> <http://stackoverflow.com/schema#hasTitle> "PHP Leaf framework - db()-&gt;lastInsertId() returns &quot;0&quot;"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .35<http://stackoverflow.com/comment/140264244> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .36<http://stackoverflow.com/q/79541721> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140276627> .37<http://stackoverflow.com/comment/140224634> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .38<http://stackoverflow.com/comment/140265457> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .39<http://stackoverflow.com/comment/140274422> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .40<http://stackoverflow.com/comment/140228324> <http://stackoverflow.com/schema#hasText> "Then you&#x27;ll need to implement your own O/S while you&#x27;re at it, and solder your own hardware, design your own CPU, RAM, motherboard and so on so there&#x27;s no 3rd party firmware that you&#x27;re relying on. Then you can remove all dependencies on anyone else&#x27;s work and finally be free. See you in 200 years when you&#x27;ve re-invented computer science, and also finished your app."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .41<http://stackoverflow.com/comment/140135348> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79460362> .42<http://stackoverflow.com/comment/140182928> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .43<http://stackoverflow.com/q/79538918> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140269730> .44<http://stackoverflow.com/q/79514634> <http://stackoverflow.com/schema#answerCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .45<http://stackoverflow.com/comment/140270606> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79539475> .46<http://stackoverflow.com/q/79454584> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140125684> .47<http://stackoverflow.com/comment/140259777> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .48<http://stackoverflow.com/comment/140258120> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79531787> .49<http://stackoverflow.com/q/79462224> <http://stackoverflow.com/schema#hasAnswer> <http://stackoverflow.com/a/79466563> .50<http://stackoverflow.com/comment/140152045> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .51<http://stackoverflow.com/comment/140155865> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79472286> .52<http://stackoverflow.com/comment/140228345> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .53<http://stackoverflow.com/q/79530394> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140257739> .54<http://stackoverflow.com/q/79427949> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140078344> .55<http://stackoverflow.com/q/79542433> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .56<http://stackoverflow.com/comment/140118217> <http://stackoverflow.com/schema#hasText> "Feel free to add all clarification **to your question** by editing it, and share more details about the differences between the two systems"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .57<http://stackoverflow.com/comment/140182479> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .58<http://stackoverflow.com/tag/superglobals> <http://stackoverflow.com/schema#tagName> "superglobals"^^<http://www.w3.org/2001/XMLSchema#string> .59<http://stackoverflow.com/q/79514536> <http://stackoverflow.com/schema#hasAnswer> <http://stackoverflow.com/a/79515480> .60<http://stackoverflow.com/comment/140219641> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .61<http://stackoverflow.com/comment/140116139> <http://stackoverflow.com/schema#hasText> "Well that is incredibly disheartening if true... wonder why it would be that way when I&#x27;d imagine if I wasn&#x27;t HPOS, it would be possible... right?"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .62<http://stackoverflow.com/comment/140168282> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .63<http://stackoverflow.com/q/79525320> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/logging> .64<http://stackoverflow.com/comment/140237370> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .65<http://stackoverflow.com/q/79477683> <http://stackoverflow.com/schema#hasTitle> "Platform.sh CLI Login Fails with HTTP 500 Error and Symfony Console Error"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .66<http://stackoverflow.com/q/79528792> <http://stackoverflow.com/schema#answerCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .67<http://stackoverflow.com/comment/140087545> <http://stackoverflow.com/schema#hasText> "Wouldn&#x27;t it be easier to simply ignore the upload if no image was selected and just show the default as fallback when rendering the page if none was uploaded?"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .68<http://stackoverflow.com/comment/140228459> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .69<http://stackoverflow.com/q/79503660> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140209379> .70<http://stackoverflow.com/comment/140278949> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .71<http://stackoverflow.com/q/79467142> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#UnansweredQuestion> .72<http://stackoverflow.com/comment/140127303> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnswerComment> .73<http://stackoverflow.com/comment/140234087> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/a/79507624> .74<http://stackoverflow.com/q/79545194> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140281251> .75<http://stackoverflow.com/comment/140197751> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnswerComment> .76<http://stackoverflow.com/comment/140269116> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .77<http://stackoverflow.com/comment/140255572> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .78<http://stackoverflow.com/q/79460055> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .79<http://stackoverflow.com/comment/140276188> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .80<http://stackoverflow.com/tag/docker> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79490002> .81<http://stackoverflow.com/q/79509070> <http://stackoverflow.com/schema#duplicateOf> <http://stackoverflow.com/q/48322876> .82<http://stackoverflow.com/comment/140269223> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .83<http://stackoverflow.com/q/79429898> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .84<http://stackoverflow.com/comment/140141556> <http://stackoverflow.com/schema#hasText> "I believe the code where the error occurs at is [here](https://github.com/laravel/framework/blob/57af5c39ea95d92a42f1f2c1bc9a4c2753614725/src/Illuminate/Http/Middleware/ValidatePostSize.php) in case that helps troubleshoot. Though normally I would expect that it wouldn&#x27;t even reach the Laravel code because Apache would catch it first. You could try removing the `ValidatePostSize` middleware and see if it works. If it does, then at least you know where the problem is."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .85<http://stackoverflow.com/tag/elementor> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79530860> .86<http://stackoverflow.com/tag/laravel-5.8> <http://stackoverflow.com/schema#tagName> "laravel-5.8"^^<http://www.w3.org/2001/XMLSchema#string> .87<http://stackoverflow.com/q/79526108> <http://stackoverflow.com/schema#downvoteCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .88<http://stackoverflow.com/comment/140219626> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .89<http://stackoverflow.com/q/79505192> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnsweredQuestion> .90<http://stackoverflow.com/q/79508062> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .91<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79468632> .92<http://stackoverflow.com/a/79494766> <http://stackoverflow.com/schema#answersQuestion> <http://stackoverflow.com/q/79494666> .93<http://stackoverflow.com/tag/html> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79493968> .94<http://stackoverflow.com/comment/140228201> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .95<http://stackoverflow.com/tag/json> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79468527> .96<http://stackoverflow.com/comment/140105436> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .97<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79440810> .98<http://stackoverflow.com/q/79495974> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;I have this trait&lt;/p&gt;\n&lt;p&gt;&lt;em&gt;HasExtendedRoles.php&lt;/em&gt;&lt;/p&gt;\n&lt;pre class=&quot;lang-php prettyprint-override&quot;&gt;&lt;code&gt;trait HasExtendedRoles\n{\n    use HasRoles;\n    use HasExtendedPermissions {\n        HasExtendedPermissions::getPermissionClass insteadof HasRoles;\n        HasExtendedPermissions::scopePermission insteadof HasRoles;\n        HasExtendedPermissions::permissions insteadof HasRoles;\n    }\n\n    protected ?Form $currentForm = null;\n\n    public function forForm(string|int|Form $form): self\n    {\n        if (!$form instanceof Form) {\n            $form = Form::when(\n                is_numeric($form),\n                fn(Builder $q) =&amp;gt; $q-&amp;gt;where(&#x27;id&#x27;, $form),\n                fn(Builder $q) =&amp;gt; $q-&amp;gt;where(&#x27;slug&#x27;, $form)\n            )-&amp;gt;firstOrFail();\n        }\n\n        $this-&amp;gt;currentForm = $form;\n\n        return $this;\n    }\n}\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;I also have this trait&lt;/p&gt;\n&lt;p&gt;&lt;em&gt;HasExtendedPermissions.php&lt;/em&gt;&lt;/p&gt;\n&lt;pre class=&quot;lang-php prettyprint-override&quot;&gt;&lt;code&gt;trait HasExtendedPermissions\n{\n    use HasPermissions;\n\n    protected ?Form $currentForm = null;\n\n    public function forForm(string|int|Form $form): self\n    {\n        if (!$form instanceof Forsm) {\n            $form = Form::when(\n                is_numeric($form),\n                fn(Builder $q) =&amp;gt; $q-&amp;gt;where(&#x27;id&#x27;, $form),\n                fn(Builder $q) =&amp;gt; $q-&amp;gt;where(&#x27;slug&#x27;, $form)\n            )-&amp;gt;firstOrFail();\n        }\n\n        $this-&amp;gt;currentForm = $form;\n\n        return $this;\n    }\n}\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;And in my User model&lt;/p&gt;\n&lt;pre class=&quot;lang-php prettyprint-override&quot;&gt;&lt;code&gt;class User extends Authenticatable\n{\n    use HasExtendedRoles;\n}\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;And in my controller, I do&lt;/p&gt;\n&lt;pre class=&quot;lang-php prettyprint-override&quot;&gt;&lt;code&gt;dd($user-&amp;gt;forForm($form)-&amp;gt;permissions);\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;Now the &lt;code&gt;HasExtendedPermissions&lt;/code&gt; trait doesn&#x27;t seam to inherit &lt;code&gt;$this-&amp;gt;currentForm&lt;/code&gt;.&lt;/p&gt;\n&lt;p&gt;But when I do:&lt;/p&gt;\n&lt;pre class=&quot;lang-php prettyprint-override&quot;&gt;&lt;code&gt;dd($user-&amp;gt;forForm($form)-&amp;gt;roles);\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;Which is available through the HasExtendedRoles trait, it works perfectly, I was thinking about creating another &lt;code&gt;forForm&lt;/code&gt; method inside the &lt;code&gt;HasExtendedPermissions&lt;/code&gt; trait with a diffrent name but I hope to minimize code duplication as much as possible.&lt;/p&gt;\n&lt;p&gt;What could I possibly be doing wrongly?&lt;/p&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .99<http://stackoverflow.com/tag/google-api> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79539554> .100<http://stackoverflow.com/comment/140222846> <http://stackoverflow.com/schema#hasText> "What does your project folder structure look like (where are the image files located relative to the php files)? Is this html file being included from another php file? And what do the image paths in the database look like?"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .101<http://stackoverflow.com/comment/140250413> <http://stackoverflow.com/schema#hasText> "Sorry for not being more specific. You do have a seeder with a Restaurant factory, but &quot;valid data&quot; is not &quot;having 7 opening hours with &quot;day&quot; attributes in sequence from 1 to 7&quot;, that is what a seeder has to do, the factory only has to give you a correct day, and opening time, that&#x27;s it, the factory is and should be agnostic of what existing data already exists, that is what a seeder has to do (it is seeding data, so it can be known). Your seeder has to call the factory with the right data, I will try to write a quick seed for you, I may have small errors on it"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .102<http://stackoverflow.com/q/79520965> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/tailwind-css> .103<http://stackoverflow.com/tag/regex> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79543465> .104<http://stackoverflow.com/a/79527357> <http://stackoverflow.com/schema#acceptedAnswerOf> <http://stackoverflow.com/q/79527304> .105<http://stackoverflow.com/comment/140183072> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .106<http://stackoverflow.com/q/79489886> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/woocommerce> .107<http://stackoverflow.com/comment/140169726> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .108<http://stackoverflow.com/q/79529219> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnsweredQuestion> .109<http://stackoverflow.com/comment/140221923> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .110<http://stackoverflow.com/q/79477075> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnsweredQuestion> .111<http://stackoverflow.com/q/79538918> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140269722> .112<http://stackoverflow.com/a/79453376> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Answer> .113<http://stackoverflow.com/q/79486932> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#UnansweredQuestion> .114<http://stackoverflow.com/comment/140259315> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .115<http://stackoverflow.com/q/79532307> <http://stackoverflow.com/schema#answerCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .116<http://stackoverflow.com/tag/web-services> <http://stackoverflow.com/schema#tagName> "web-services"^^<http://www.w3.org/2001/XMLSchema#string> .117<http://stackoverflow.com/q/79499248> <http://stackoverflow.com/schema#hasTitle> "About the error &quot;Could not resolve: api.x.com (Could not contact DNS servers)&quot;"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .118<http://stackoverflow.com/q/79451242> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .119<http://stackoverflow.com/tag/sorting> <http://stackoverflow.com/schema#tagName> "sorting"^^<http://www.w3.org/2001/XMLSchema#string> .120<http://stackoverflow.com/q/79523133> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/octane> .121<http://stackoverflow.com/comment/140228112> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .122<http://stackoverflow.com/q/79487584> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/symfony7> .123<http://stackoverflow.com/tag/apache> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79517552> .124<http://stackoverflow.com/comment/140227700> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .125<http://stackoverflow.com/a/79490742> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Answer> .126<http://stackoverflow.com/q/79537857> <http://stackoverflow.com/schema#hasAnswer> <http://stackoverflow.com/a/79542421> .127<http://stackoverflow.com/q/79539636> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;In the archive page, I would like to show in a loop grid widget ONLY the posts that belong either to the displayed archive category and also to a specific category which slug is &amp;quot;special-one&amp;quot;, meaning that they have to be from both categories (operator AND). So I have set up an archive page template in Elementor theme builder. Just in that single loop and not as default for the archive page.&lt;/p&gt;\n&lt;p&gt;I Used the following code:&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;add_action( &#x27;elementor/query/special_archive_filter&#x27;, function( query )\n   if ( is_category() )\n       $category_id = get_queried_object_id();\n       $special_category_id = special-one;\n       $categorie query-&amp;gt;set( &#x27;tax_query&#x27;, array(\n            array(\n                &#x27;taxonomy&#x27; =&amp;gt; &#x27;category&#x27;,\n                &#x27;field&#x27;    =&amp;gt; &#x27;id&#x27;,\n                &#x27;terms&#x27;    =&amp;gt; array( category_id,special_category_id ),\n                &#x27;operator&#x27; =&amp;gt; &#x27;AND&#x27;,\n            ),\n        ));\n    }\n});\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;But this code is not giving me the expected result.\nWhat I am doing wrong?&lt;/p&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .128<http://stackoverflow.com/q/79476731> <http://stackoverflow.com/schema#downvoteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .129<http://stackoverflow.com/tag/php-8.4> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79448845> .130<http://stackoverflow.com/tag/laravel-routing> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Tag> .131<http://stackoverflow.com/q/79543657> <http://stackoverflow.com/schema#hasAnswer> <http://stackoverflow.com/a/79543711> .132<http://stackoverflow.com/comment/140121487> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79452634> .133<http://stackoverflow.com/tag/amazon-textract> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Tag> .134<http://stackoverflow.com/comment/140067994> <http://stackoverflow.com/schema#hasText> "I have tested your code, and it works, hiding a targeted menu item if the current user has at least posted a post from a specific custom post type. [You should enable WP debug](https://stackoverflow.com/questions/14541989/how-do-i-debug-a-wordpress-plugin) adding inside your function `error_log(&#x27;Posts count: &#x27; . print_r($posts, true));` after the user posts count line, to check if there is a positive count for the current user."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .135<http://stackoverflow.com/q/79440078> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#UnansweredQuestion> .136<http://stackoverflow.com/q/79522022> <http://stackoverflow.com/schema#upvoteCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .137<http://stackoverflow.com/comment/140189255> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79491843> .138<http://stackoverflow.com/q/79514382> <http://stackoverflow.com/schema#hasTitle> "URL didn&#x27;t respond with value of challenge parameter in Events API in Slack"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .139<http://stackoverflow.com/comment/140241754> <http://stackoverflow.com/schema#hasText> "What do you mean by &quot;pixel code is executed&quot;? If that happens through any frontend code (be it direct HTML or JS), how is PHP related?"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .140<http://stackoverflow.com/tag/backend> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79527011> .141<http://stackoverflow.com/comment/140213806> <http://stackoverflow.com/schema#hasText> "I have adjusted it as recommended but there is no feedback. I don&#x27;t even get an error, no echo. @ADyson, yes you are right. The team table also has a column with ClubID"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .142<http://stackoverflow.com/comment/140121586> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79452537> .143<http://stackoverflow.com/comment/140231986> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79514850> .144<http://stackoverflow.com/comment/140168569> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .145<http://stackoverflow.com/q/79462551> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140138950> .146<http://stackoverflow.com/comment/140210468> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .147<http://stackoverflow.com/comment/140102262> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .148<http://stackoverflow.com/q/79467142> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .149<http://stackoverflow.com/comment/140282962> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .150<http://stackoverflow.com/comment/140150103> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .151<http://stackoverflow.com/q/79514550> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140228432> .152<http://stackoverflow.com/comment/140252773> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .153<http://stackoverflow.com/q/79476704> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .154<http://stackoverflow.com/comment/140144737> <http://stackoverflow.com/schema#hasText> "@Topaco The first two examples in the first link in my post."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .155<http://stackoverflow.com/q/79517552> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140233623> .156<http://stackoverflow.com/comment/140185021> <http://stackoverflow.com/schema#hasText> "Why is there no type declaration for the parameter in your method? https://laravel.com/docs/11.x/routing#parameters-and-dependency-injection"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .157<http://stackoverflow.com/a/79448972> <http://stackoverflow.com/schema#answersQuestion> <http://stackoverflow.com/q/79446417> .158<http://stackoverflow.com/comment/140265040> <http://stackoverflow.com/schema#hasText> "@user1934428 you right, the answer is wrong.\nIf I execute shopt command in git bash, I can see that expand_aliases is on. But why it does not work?"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .159<http://stackoverflow.com/comment/140149496> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79465524> .160<http://stackoverflow.com/q/79498649> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/metadata> .161<http://stackoverflow.com/q/79503107> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140208468> .162<http://stackoverflow.com/tag/shortcode> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79476731> .163<http://stackoverflow.com/comment/140105678> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnswerComment> .164<http://stackoverflow.com/q/79471736> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/composer-php> .165<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79435126> .166<http://stackoverflow.com/comment/140206172> <http://stackoverflow.com/schema#score> "3"^^<http://www.w3.org/2001/XMLSchema#integer> .167<http://stackoverflow.com/comment/140268522> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .168<http://stackoverflow.com/comment/140134882> <http://stackoverflow.com/schema#hasText> "The PHP version of the one that works, is 8.0.30. The PHP version of the one that doesn&#x27;t, is 8.3.10. The version of OpenSSL that works is OpenSSL/1.0.2k-fips and the version of OpenSSL that doesn&#x27;t is OpenSSL/3.0.8."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .169<http://stackoverflow.com/comment/140134239> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .170<http://stackoverflow.com/q/79524260> <http://stackoverflow.com/schema#acceptedAnswer> <http://stackoverflow.com/a/79524270> .171<http://stackoverflow.com/a/79420946> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .172<http://stackoverflow.com/comment/140129766> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/a/79455994> .173<http://stackoverflow.com/q/79435568> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .174<http://stackoverflow.com/comment/140234800> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .175<http://stackoverflow.com/a/79459229> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AcceptedAnswer> .176<http://stackoverflow.com/q/79540915> <http://stackoverflow.com/schema#downvoteCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .177<http://stackoverflow.com/comment/140185260> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79489366> .178<http://stackoverflow.com/a/79509875> <http://stackoverflow.com/schema#downvoteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .179<http://stackoverflow.com/a/79464185> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;Check the latest Hubleto release (links below) which contains many bugfixes and possibly this problem is also resolved.&lt;/p&gt;\n&lt;p&gt;&lt;a href=&quot;https://developer.hubleto.com/download-and-install&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://developer.hubleto.com/download-and-install&lt;/a&gt;&lt;/p&gt;\n&lt;p&gt;&lt;a href=&quot;https://www.hubleto.com/en/install&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.hubleto.com/en/install&lt;/a&gt;&lt;/p&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .180<http://stackoverflow.com/q/79506047> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .181<http://stackoverflow.com/a/79500202> <http://stackoverflow.com/schema#downvoteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .182<http://stackoverflow.com/q/79512948> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;I have the following script and it is adding the directory name into the database, I need to stop it adding the directory name:&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt; $key = array();\n $dp  = opendir($dir);\n while ($file = readdir($dp)) {\n     if ($file != &#x27;.&#x27; &amp;amp;&amp;amp; $file != &#x27;..&#x27;) {\n         $last  = substr($file, 4);\n         $number = substr($last, 0, -6);\n         $number = str_replace(&amp;quot;x&amp;quot;, &amp;quot;&amp;quot;, $number);\n         if ($number == $_SESSION[job_id]) {\n             $index_str = substr($last, 0, -4);\n             $where_x   = strpos($index_str, &#x27;x&#x27;);\n             $where_x++;\n             $index = substr($index_str, $where_x);\n             $key[$index] = $index;\n         }\n     }\n }\n $number_key = 1;\n foreach ($key as $value) {\n $url    = &amp;quot;&amp;quot; . $_SESSION[job_id] . &amp;quot;x&amp;quot; . $value . &amp;quot;.webp&amp;quot;;\n $insert = &amp;quot; insert into photos ( job_id, number, url, update_date, file_nr ) values ( &#x27;$_SESSION[job_id]&#x27;, &#x27;$number_key&#x27;, &#x27;$url&#x27;, CURDATE(), $value )&amp;quot;;\n&lt;/code&gt;&lt;/pre&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .183<http://stackoverflow.com/tag/laravel> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79467142> .184<http://stackoverflow.com/tag/traits> <http://stackoverflow.com/schema#tagName> "traits"^^<http://www.w3.org/2001/XMLSchema#string> .185<http://stackoverflow.com/q/79461017> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#UnansweredQuestion> .186<http://stackoverflow.com/q/79430224> <http://stackoverflow.com/schema#acceptedAnswer> <http://stackoverflow.com/a/79509201> .187<http://stackoverflow.com/comment/140135066> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .188<http://stackoverflow.com/comment/140277878> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnswerComment> .189<http://stackoverflow.com/comment/140277371> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .190<http://stackoverflow.com/a/79473183> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140169747> .191<http://stackoverflow.com/comment/140222010> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79509449> .192<http://stackoverflow.com/q/79500409> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .193<http://stackoverflow.com/comment/140270881> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .194<http://stackoverflow.com/comment/140082154> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .195<http://stackoverflow.com/q/79489119> <http://stackoverflow.com/schema#downvoteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .196<http://stackoverflow.com/comment/140239230> <http://stackoverflow.com/schema#hasText> "@ChrisHaas yeah after looking all through teh log file there are only a couple of instances where  there is another line in between which I never spotted before.\nGood shout about checking for 1st line then doing the 2nd ... might be easier"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .197<http://stackoverflow.com/q/79513656> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140226741> .198<http://stackoverflow.com/comment/140135287> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79455046> .199<http://stackoverflow.com/comment/140254991> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/a/79529700> .200<http://stackoverflow.com/comment/140278709> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .201<http://stackoverflow.com/tag/html> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79495291> .202<http://stackoverflow.com/q/79488174> <http://stackoverflow.com/schema#hasTitle> "Docusign Rest API: Creating an Envelope Using JWT Credentials"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .203<http://stackoverflow.com/tag/wordpress> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79457938> .204<http://stackoverflow.com/comment/140186110> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .205<http://stackoverflow.com/q/79497180> <http://stackoverflow.com/schema#answerCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .206<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79499327> .207<http://stackoverflow.com/comment/140222500> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79510053> .208<http://stackoverflow.com/comment/140140288> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .209<http://stackoverflow.com/tag/zip> <http://stackoverflow.com/schema#tagName> "zip"^^<http://www.w3.org/2001/XMLSchema#string> .210<http://stackoverflow.com/comment/140137931> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnswerComment> .211<http://stackoverflow.com/q/79440078> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .212<http://stackoverflow.com/comment/140125139> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .213<http://stackoverflow.com/comment/140170462> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnswerComment> .214<http://stackoverflow.com/comment/140261789> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .215<http://stackoverflow.com/comment/140092821> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .216<http://stackoverflow.com/q/79447585> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .217<http://stackoverflow.com/q/79517687> <http://stackoverflow.com/schema#downvoteCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .218<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79546758> .219<http://stackoverflow.com/comment/140258523> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .220<http://stackoverflow.com/a/79485360> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;livewire docs make it quite clear how you can custom your own pagination links Blade view, I think.&lt;/p&gt;\n&lt;p&gt;&lt;a href=&quot;https://laravel-livewire.com/docs/2.x/pagination#custom-pagination-view&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://laravel-livewire.com/docs/2.x/pagination#custom-pagination-view&lt;/a&gt;&lt;/p&gt;\n&lt;pre class=&quot;lang-php prettyprint-override&quot;&gt;&lt;code&gt;class ShowPosts extends Component\n{\n    use WithPagination;\n \n    ...\n \n    public function paginationView()\n    {\n        return &#x27;custom-pagination-links-view&#x27;;\n    }\n \n    ...\n}\n&lt;/code&gt;&lt;/pre&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .221<http://stackoverflow.com/q/79494913> <http://stackoverflow.com/schema#linkedTo> <http://stackoverflow.com/q/635937> .222<http://stackoverflow.com/q/79462877> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/laravel> .223<http://stackoverflow.com/a/79523712> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Answer> .224<http://stackoverflow.com/comment/140242885> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .225<http://stackoverflow.com/a/79483582> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140176701> .226<http://stackoverflow.com/comment/140239992> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .227<http://stackoverflow.com/q/79455123> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140125789> .228<http://stackoverflow.com/a/79517241> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Answer> .229<http://stackoverflow.com/comment/140154594> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .230<http://stackoverflow.com/tag/symfony> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79477683> .231<http://stackoverflow.com/tag/security> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79486316> .232<http://stackoverflow.com/q/79486316> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .233<http://stackoverflow.com/q/79539043> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .234<http://stackoverflow.com/comment/140186562> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .235<http://stackoverflow.com/comment/140269692> <http://stackoverflow.com/schema#hasText> "@C3roe trying to make basket for small e-shop, where is form. I would like to remember fields before it continues or even if the client go back and than return. If I save it in PHP on an external page, the page flashes as it reloads."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .236<http://stackoverflow.com/q/79530160> <http://stackoverflow.com/schema#hasTitle> "How to debug Laravel project using PhpStorm"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .237<http://stackoverflow.com/comment/140274341> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .238<http://stackoverflow.com/comment/140151430> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79469924> .239<http://stackoverflow.com/comment/140228237> <http://stackoverflow.com/schema#hasText> "Most people would just use the library that already does the job, rather than trying to re-write it without an obvious reason for doing so. But you never know, maybe someone did exactly this already. You didn&#x27;t explain why you don&#x27;t want to use external packages, or why you couldn&#x27;t at least just copy what the existing code does for now, even if you don&#x27;t have dependency on the original package."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .240<http://stackoverflow.com/q/79473410> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/podscms> .241<http://stackoverflow.com/comment/140070470> <http://stackoverflow.com/schema#hasText> "In your question, could you show the full pathname of your web root, and the permissions/groups you have there using `ls -l`? Also have a look at your web server using `ps aux` to see what user group it runs under."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .242<http://stackoverflow.com/comment/140218116> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .243<http://stackoverflow.com/q/79477113> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .244<http://stackoverflow.com/comment/140259919> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79532600> .245<http://stackoverflow.com/comment/140248681> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .246<http://stackoverflow.com/a/79546324> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Answer> .247<http://stackoverflow.com/q/79435391> <http://stackoverflow.com/schema#answerCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .248<http://stackoverflow.com/q/79461017> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .249<http://stackoverflow.com/q/79478773> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140177487> .250<http://stackoverflow.com/comment/140177700> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .251<http://stackoverflow.com/comment/140136517> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .252<http://stackoverflow.com/comment/140211481> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79504824> .253<http://stackoverflow.com/q/79527138> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;I&#x27;m facing an issue when trying to invoke a Vertex AI-generated Python script to generate text from a PHP page, triggered via a browser URL. While the Python script works perfectly on Windows when invoked from PHP, it doesn&#x27;t work on a Linux or macOS server when triggered through PHP in a browser. Interestingly, the script works fine when executed directly in the terminal.&lt;/p&gt;\n&lt;p&gt;Here&#x27;s the PHP code I am using to invoke the Vertex AI Python script:&lt;/p&gt;\n&lt;p&gt;$Output = shell_exec(&amp;quot;python3 vertex.py&amp;quot;);&lt;/p&gt;\n&lt;p&gt;print($Output);&lt;/p&gt;\n&lt;p&gt;The script runs as expected in the terminal, but when invoked from the browser through PHP, it does not produce the desired output. I am looking for a way to ensure that the Python script runs correctly when called from the browser via the PHP script on a Linux or macOS server.&lt;/p&gt;\n&lt;p&gt;Potential Issues:&lt;/p&gt;\n&lt;p&gt;Google Authentication for Vertex AI:\nOne possible issue might be how Google login/authentication is handled when the script is invoked through the browser. Does the authentication work properly when invoked from PHP, and how do I handle Google authentication in this context?&lt;/p&gt;\n&lt;p&gt;Virtual Environment Handling:\nAnother potential issue could be related to managing the Python virtual environment in the PHP script. When running the script from the browser, it might not be invoking the correct Python environment or dependencies, causing the script to fail.&lt;/p&gt;\n&lt;p&gt;I would appreciate any insights or suggestions on how to address these issues, specifically with regard to handling the virtual environment and authentication in the context of calling the Python script from PHP.&lt;/p&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .254<http://stackoverflow.com/q/79535274> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/ajax> .255<http://stackoverflow.com/tag/cookies> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Tag> .256<http://stackoverflow.com/comment/140104378> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .257<http://stackoverflow.com/tag/unique> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79494913> .258<http://stackoverflow.com/comment/140254891> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .259<http://stackoverflow.com/comment/140075451> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .260<http://stackoverflow.com/comment/140064655> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .261<http://stackoverflow.com/q/79540537> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#UnansweredQuestion> .262<http://stackoverflow.com/q/79428322> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#UnansweredQuestion> .263<http://stackoverflow.com/q/79433276> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .264<http://stackoverflow.com/q/79428912> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .265<http://stackoverflow.com/comment/140278037> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnswerComment> .266<http://stackoverflow.com/comment/140124058> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .267<http://stackoverflow.com/q/79513656> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#UnansweredQuestion> .268<http://stackoverflow.com/comment/140193362> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .269<http://stackoverflow.com/q/79503649> <http://stackoverflow.com/schema#score> "2"^^<http://www.w3.org/2001/XMLSchema#integer> .270<http://stackoverflow.com/q/79456864> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140128992> .271<http://stackoverflow.com/a/79488792> <http://stackoverflow.com/schema#downvoteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .272<http://stackoverflow.com/a/79535726> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;I use this way:&lt;/p&gt;\n&lt;p&gt;1- add custom class to body by language:&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;&amp;lt;body class=&amp;quot;&amp;lt;?php echo(ICL_LANGUAGE_CODE) ?&amp;gt;&amp;quot;&amp;gt;\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;or use&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;\nadd_filter( &#x27;body_class&#x27;, &#x27;custom_class&#x27; );\nfunction custom_class( $classes ) {\n    $classes[] = ICL_LANGUAGE_CODE;\n    return $classes;\n}\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;2- then in css :&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;body.en .nav_home::before {\n    content: &#x27;en val&#x27;;\n}\nbody.fr .nav_home::before {\n    content: &#x27;fr val&#x27;;\n}\n&lt;/code&gt;&lt;/pre&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .273<http://stackoverflow.com/a/79455994> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140127540> .274<http://stackoverflow.com/comment/140168047> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79477523> .275<http://stackoverflow.com/comment/140119310> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .276<http://stackoverflow.com/comment/140274308> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnswerComment> .277<http://stackoverflow.com/tag/hook-woocommerce> <http://stackoverflow.com/schema#tagName> "hook-woocommerce"^^<http://www.w3.org/2001/XMLSchema#string> .278<http://stackoverflow.com/q/79484363> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/doctrine> .279<http://stackoverflow.com/comment/140269003> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .280<http://stackoverflow.com/comment/140082547> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .281<http://stackoverflow.com/a/79457236> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .282<http://stackoverflow.com/q/79423259> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/passwords> .283<http://stackoverflow.com/comment/140207997> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79501588> .284<http://stackoverflow.com/q/79511530> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140222908> .285<http://stackoverflow.com/comment/140193604> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .286<http://stackoverflow.com/q/79540915> <http://stackoverflow.com/schema#hasTitle> "Laravel call another method of the same controller"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .287<http://stackoverflow.com/tag/mysql> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79547452> .288<http://stackoverflow.com/comment/140281501> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/a/79545364> .289<http://stackoverflow.com/q/79542310> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140275427> .290<http://stackoverflow.com/comment/140271831> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .291<http://stackoverflow.com/q/79482773> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140174749> .292<http://stackoverflow.com/comment/140084725> <http://stackoverflow.com/schema#hasText> "_&quot;my impression is that it&#x27;s failing on the &#x27;require&#x27;. &quot;_ - check the server error logs. That will tell you exactly what problem PHP has encountered. Debugging your impression will likely have you chasing wild geese. Don&#x27;t forget to post the complete text of any error message in your question."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .293<http://stackoverflow.com/comment/140276594> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79542967> .294<http://stackoverflow.com/tag/global> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Tag> .295<http://stackoverflow.com/comment/140267843> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79537857> .296<http://stackoverflow.com/comment/140206165> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .297<http://stackoverflow.com/q/79479650> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#UnansweredQuestion> .298<http://stackoverflow.com/q/79461516> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/laravel-localization> .299<http://stackoverflow.com/comment/140252578> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .300<http://stackoverflow.com/q/79484363> <http://stackoverflow.com/schema#answerCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .301<http://stackoverflow.com/q/79513736> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/get> .302<http://stackoverflow.com/a/79537329> <http://stackoverflow.com/schema#downvoteCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .303<http://stackoverflow.com/comment/140270577> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .304<http://stackoverflow.com/tag/laravel-storage> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79426544> .305<http://stackoverflow.com/q/79477484> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;I&#x27;m using Amphp version 2.6 to create asynchronous socket connections to a Minecraft server. During this connection I send integers, strings and bytes to the server in order to retrieve info from a plugin which is running on the Minecraft server.&lt;/p&gt;\n&lt;p&gt;The connection process is as follows:&lt;/p&gt;\n&lt;ol&gt;\n&lt;li&gt;Initiate the socket connection to the server and send a byte&lt;/li&gt;\n&lt;li&gt;The Java plugin reads the byte and generates a random integer and writes it out as an integer.&lt;/li&gt;\n&lt;li&gt;The PHP side reads the integer and gets the server&#x27;s secret key and adds it to the integer it just received and hashes it with SHA512&lt;/li&gt;\n&lt;li&gt;The PHP side sends that hashed string out to the Java plugin to read&lt;/li&gt;\n&lt;li&gt;If the received hash matches the hash the plugin created on it&#x27;s own it marks success as true&lt;/li&gt;\n&lt;li&gt;The Java plugin checks the incoming connection&#x27;s IP address and if it&#x27;s in the allowed list it writes out integer 1, to let the PHP side know that the server has accepted the connection (This is where the problem comes in)&lt;/li&gt;\n&lt;li&gt;Once the connection has been accepted, the PHP code sends a byte to the server to retrieve the info it needs&lt;/li&gt;\n&lt;li&gt;After the info has been received it sends a byte 3 to the server to close the connection&lt;/li&gt;\n&lt;/ol&gt;\n&lt;p&gt;My problem is that sometimes the PHP code fails to read the server response (step 6), I have confirmed with logging that this is where the script times out. When the script fails to read the server response it won&#x27;t send another byte to the Java plugin and that causes the EOFException I&#x27;m pretty sure.\nThe error I get is the following:&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;[11:31:01 INFO]: StatusMC &amp;gt;  Random code: 726462011\n[11:31:01 INFO]: StatusMC &amp;gt;  119f9fcfa7e8d56002e755598950a130bbf999004445ce28e070f5d639157ac9757450bb50744e9552bde50e3a2fdc584f468351248854acc72c1c3c36ee931e\n[11:31:03 INFO]: StatusMC &amp;gt;  Successfully connected to the server!\n[11:31:03 INFO]: StatusMC &amp;gt;  IO exception 1: null\n[11:31:03 WARN]: java.io.EOFException\n[11:31:03 WARN]:        at java.base/java.io.DataInputStream.readUnsignedByte(DataInputStream.java:290)\n[11:31:03 WARN]:        at java.base/java.io.DataInputStream.readByte(DataInputStream.java:268)\n[11:31:03 WARN]:        at StatusMCv1.3.7-dev.jar//net.statusmc.utils.SocketServer.run(SocketServer.java:99)\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;My PHP code:&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;function asyncTask(string $server_identifier, string $monitor_id, string $page_id, string $host, string $secret_key, int $port, int $timeout, int $writeTimeout): Promise {\nreturn call(function () use ($server_identifier, $monitor_id, $page_id, $host, $secret_key, $port, $timeout, $writeTimeout) {\n    $tpsCompleted = false;\n    try {\n        $cstatus = new Status();\n        $tpsDouble = 0;\n        $message = &amp;quot;N/A&amp;quot;;\n        // Create an asynchronous socket connection using Amphp\n        /** @var \\Amp\\Socket\\ClientSocket $socket */\n        $socket = yield timeout(Socket\\connect(&amp;quot;tcp://{$host}:{$port}&amp;quot;), $timeout);\n        //Olen lisanud järgmisele kahele reale timeouti, sest isegi kui connection ei timeouti ja connectib edukalt, siis\n        //on võimalik, et serverilt data kätte saamisega võib tekkida probleeme, nt on pandud Serveri port mitte StatusMC plugina port\n        //ja kui siin timeoute pole, siis see võib kogu scripti timeoutida ja tekib Gateway time-out\n        //teistel ridadel pole seda pannud, sest tõenäoliselt ta timeoutib kohe alguses\n        //https://chatgpt.com/c/67767b7d-a7c8-8010-a4e5-679615fbf5ca\n        yield timeout($socket-&amp;gt;write(chr(1)), $writeTimeout);\n        $randomInt = yield timeout(readRawInt($socket), $writeTimeout);\n        $cstatus-&amp;gt;log(&amp;quot;TPS MONITOR ERROR&amp;quot;, &#x27;admin&#x27;, &#x27;Random int has been read. Random int: &#x27;.$randomInt.&#x27; Monitor ID: &#x27;.$monitor_id);\n\n        //Stringi writimine, secret key saatmine koos random Intiga\n        $message = hash(&amp;quot;SHA512&amp;quot;, $randomInt . $secret_key);\n        $stringSize = 0;\n        // Write the length of the hash (as an integer)\n        yield $socket-&amp;gt;write(pack(&amp;quot;N&amp;quot;, strlen($message)));\n\n        // Write the hash itself\n        yield timeout($socket-&amp;gt;write($message), $writeTimeout);\n        $cstatus-&amp;gt;log(&amp;quot;TPS MONITOR ERROR&amp;quot;, &#x27;admin&#x27;, &#x27;Message has been written. Message: &#x27;.$message.&#x27; Monitor ID: &#x27;.$monitor_id);\n        $serverResponse = yield timeout(readRawInt($socket), $writeTimeout);\n        $cstatus-&amp;gt;log(&amp;quot;TPS MONITOR ERROR&amp;quot;, &#x27;admin&#x27;, &#x27;Server response has been read. Server response: &#x27;.$serverResponse.&#x27; Monitor ID: &#x27;.$monitor_id);\n        if($serverResponse == 1) {\n            $cstatus-&amp;gt;log(&amp;quot;TPS MONITOR ERROR&amp;quot;, &#x27;admin&#x27;, &#x27;Server response 1. Monitor ID: &#x27;.$monitor_id);\n            yield timeout($socket-&amp;gt;write(chr(2)), $writeTimeout);\n            $tps = yield timeout(readRawDouble($socket), $writeTimeout);\n            $cstatus-&amp;gt;log(&amp;quot;TPS MONITOR ERROR&amp;quot;, &#x27;admin&#x27;, &#x27;TPS double has beenr read. TPS: &#x27;.$tps. &#x27; Monitor ID: &#x27;.$monitor_id);\n\n            if($tps == 404500) { //This is a fail-safe, if we receive a double 404500 it means that we didn&#x27;t get a correct TPS, trying again\n                yield timeout($socket-&amp;gt;write(chr(2)), $writeTimeout);\n                $tps = yield timeout(readRawDouble($socket), $writeTimeout);\n                if($tps&amp;lt;0) {\n                    //Kogume data API-le, et saata hiljem kõikide monitoride data koos\n                    $result = [\n                        &#x27;server_identifier&#x27; =&amp;gt; $server_identifier, //Minu enda välja mõeldud mingi pikk jada, millega verifyme, et request tuli just sellelt API-lt\n                        &#x27;page_id&#x27; =&amp;gt; $page_id,\n                        &#x27;monitor_id&#x27; =&amp;gt; $monitor_id,\n                        &#x27;tps&#x27; =&amp;gt; $tps,\n                        &#x27;status&#x27; =&amp;gt; &#x27;invalid_data&#x27;\n                    ];\n                } else {\n                    //Kogume data API-le, et saata hiljem kõikide monitoride data koos\n                    $result = [\n                        &#x27;server_identifier&#x27; =&amp;gt; $server_identifier, //Minu enda välja mõeldud mingi pikk jada, millega verifyme, et request tuli just sellelt API-lt\n                        &#x27;page_id&#x27; =&amp;gt; $page_id,\n                        &#x27;monitor_id&#x27; =&amp;gt; $monitor_id,\n                        &#x27;tps&#x27; =&amp;gt; $tps,\n                        &#x27;status&#x27; =&amp;gt; &#x27;successful&#x27;\n                    ];\n                }               \n            } else { //Kui saadud TPS ei ole 404500, siis toimime tavapäraselt\n                if($tps&amp;lt;0) {\n                    //Kogume data API-le, et saata hiljem kõikide monitoride data koos\n                    $result = [\n                        &#x27;server_identifier&#x27; =&amp;gt; $server_identifier, //Minu enda välja mõeldud mingi pikk jada, millega verifyme, et request tuli just sellelt API-lt\n                        &#x27;page_id&#x27; =&amp;gt; $page_id,\n                        &#x27;monitor_id&#x27; =&amp;gt; $monitor_id,\n                        &#x27;tps&#x27; =&amp;gt; $tps,\n                        &#x27;status&#x27; =&amp;gt; &#x27;invalid_data&#x27;\n                    ];\n                } else {\n                    //Kogume data API-le, et saata hiljem kõikide monitoride data koos\n                    $result = [\n                        &#x27;server_identifier&#x27; =&amp;gt; $server_identifier, //Minu enda välja mõeldud mingi pikk jada, millega verifyme, et request tuli just sellelt API-lt\n                        &#x27;page_id&#x27; =&amp;gt; $page_id,\n                        &#x27;monitor_id&#x27; =&amp;gt; $monitor_id,\n                        &#x27;tps&#x27; =&amp;gt; $tps,\n                        &#x27;status&#x27; =&amp;gt; &#x27;successful&#x27;\n                    ];\n                }               \n            }\n            \n\n        } else { //Kui $serverResponse pole 1 ehk ei connectinud ära, siis\n            $cstatus-&amp;gt;log(&amp;quot;TPS MONITOR ERROR&amp;quot;, &#x27;admin&#x27;, &#x27;Server response not 1. Monitor ID: &#x27;.$monitor_id.&#x27; Server response: &#x27;.$serverResponse);\n            //Kogume data API-le, et saata hiljem kõikide monitoride data koos\n            $result = [\n                &#x27;server_identifier&#x27; =&amp;gt; $server_identifier, //Minu enda välja mõeldud mingi pikk jada, millega verifyme, et request tuli just sellelt API-lt\n                &#x27;page_id&#x27; =&amp;gt; $page_id,\n                &#x27;monitor_id&#x27; =&amp;gt; $monitor_id,\n                &#x27;tps&#x27; =&amp;gt; 0,\n                &#x27;status&#x27; =&amp;gt; &#x27;connection_error&#x27;\n            ];\n        }\n        yield timeout($socket-&amp;gt;write(chr(3)), $writeTimeout);\n        //Annan Javale veidi aega, et closida connection\n        yield new \\Amp\\Delayed(100); // 100ms delay\n        $socket-&amp;gt;close();\n\n    } catch (TimeoutException $e) {\n        $cstatus = new Status();\n        $cstatus-&amp;gt;log(&amp;quot;TPS MONITOR ERROR&amp;quot;, &#x27;admin&#x27;, &#x27;TPS Monitor timeout exception occured. Monitor ID: &#x27;.$monitor_id.&#x27; Exception: &#x27;.$e);\n\n        //Kogume data API-le, et saata hiljem kõikide monitoride data koos\n        $result = [\n            &#x27;server_identifier&#x27; =&amp;gt; $server_identifier, //Minu enda välja mõeldud mingi pikk jada, millega verifyme, et request tuli just sellelt API-lt\n            &#x27;page_id&#x27; =&amp;gt; $page_id,\n            &#x27;monitor_id&#x27; =&amp;gt; $monitor_id,\n            &#x27;tps&#x27; =&amp;gt; 0,\n            &#x27;status&#x27; =&amp;gt; &#x27;connection_error&#x27;\n        ];\n    } catch (\\Exception $e) {\n        $cstatus = new Status();\n        $cstatus-&amp;gt;log(&amp;quot;TPS MONITOR ERROR&amp;quot;, &#x27;admin&#x27;, &#x27;TPS Monitor exception occured. Monitorid ID: &#x27;.$monitor_id.&#x27; Exception: &#x27;.$e);\n        if (isset($socket)) {\n            yield timeout($socket-&amp;gt;write(chr(3)), $writeTimeout);\n            //Annan Javale veidi aega, et closida connection\n            yield new \\Amp\\Delayed(100); // 100ms delay\n            $socket-&amp;gt;close();\n        }\n        \n        //Kogume data API-le, et saata hiljem kõikide monitoride data koos\n        $result = [\n            &#x27;server_identifier&#x27; =&amp;gt; $server_identifier, //Minu enda välja mõeldud mingi pikk jada, millega verifyme, et request tuli just sellelt API-lt\n            &#x27;page_id&#x27; =&amp;gt; $page_id,\n            &#x27;monitor_id&#x27; =&amp;gt; $monitor_id,\n            &#x27;tps&#x27; =&amp;gt; 0,\n            &#x27;status&#x27; =&amp;gt; &#x27;connection_error&#x27;\n        ];\n    }\n    return $result;\n});\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;}&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;// Method to read an integer from the socket&#x27;s response\nfunction readRawInt($socket): Promise {\n    return Amp\\call(function () use ($socket) {\n        $buffer = &#x27;&#x27;;\n\n        while (strlen($buffer) &amp;lt; 4) {\n            $chunk = yield $socket-&amp;gt;read();\n            if ($chunk === null) {\n                throw new \\Exception(&amp;quot;Socket closed before reading 4 bytes.&amp;quot;);\n            }\n            $buffer .= $chunk;\n        }\n\n        // Convert the first 4 bytes of the buffer to an integer\n        $intData = unpack(&#x27;N&#x27;, substr($buffer, 0, 4))[1];\n\n        return $intData;\n    });\n}\n\nfunction readRawDouble(ResourceSocket $socket): \\Amp\\Promise {\nreturn \\Amp\\call(function () use ($socket) {\n    // Read 8 bytes from the socket\n    $data = yield $socket-&amp;gt;read(8);\n\n    // Ensure we got exactly 8 bytes\n    if ($data === null || strlen($data) !== 8) {\n        throw new \\RuntimeException(&amp;quot;Expected 8 bytes for the double, got &amp;quot; . (strlen($data) ?: 0) . &amp;quot; bytes.&amp;quot;);\n    }\n\n    // Reverse the data if the machine is little-endian\n    if (pack(&#x27;L&#x27;, 1) === pack(&#x27;V&#x27;, 1)) { // Detect little-endian\n        $data = strrev($data);\n    }\n\n    // Unpack the data as a double\n    $unpacked = unpack(&#x27;d&#x27;, $data);\n\n    // Validate the unpacked result\n    if ($unpacked === false || !isset($unpacked[1])) {\n        throw new \\RuntimeException(&amp;quot;Failed to unpack the double. Data: &amp;quot; . bin2hex($data));\n    }\n\n    echo &amp;quot;Raw data: &amp;quot; . bin2hex($data) . PHP_EOL; // Print the raw bytes read\n    echo &amp;quot;Unpacked double: &amp;quot; . $unpacked[1] . PHP_EOL; // Print the resulting double\n\n    return $unpacked[1]; // Return the unpacked double\n});\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;}&lt;/p&gt;\n&lt;p&gt;My Java plugin code:&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt; @Override\npublic void run(){\n    try{\n        //msptCalculator = new SocketOnGetMSPTEvent(); // Initialize the MSPTCalculator instance\n        listenSock = new ServerSocket(port);\n\n        while(true){\n            sock = listenSock.accept();\n            in = new DataInputStream(sock.getInputStream());\n            out = new DataOutputStream(sock.getOutputStream());\n            this.connect_status = true;\n            InetAddress addr = sock.getInetAddress();\n            try{\n\n                    if(in.readByte() == 1){\n                        int random_code = new SecureRandom().nextInt();\n                        \n                        //See on lisatud siia juhuks, kui random_code peaks olema negatiivne. See funktsioon võtab random_codeist\n                        //absoluutväärtuse, mis on alati positiivne. See on vajalik sellepärast kuna veebipoolel tekib int-i lugemisega\n                        //probleeme kui arv on negatiivne\n                        int random_code_processed = Math.abs(random_code);\n                        Utils.log(Level.INFO, &amp;quot;Random code: &amp;quot;+random_code_processed);\n\n                        out.writeInt(random_code_processed);\n                        boolean success = Utils.readString(in, false).equals(Utils.hash(random_code_processed + ServerConfig.secretKey));\n                        if(success){ //Kui secret key-ga on korras, \n                            //Kontrollib, kas IP, mis üritab connectida on minu API whitelistis olemas\n                            //Teeme seda siin, et tagada, et IP kontroll oleks alati tehtud, hiljem on võimalik seda bypassida\n                            String incomingIP = addr.getHostAddress();\n                            //Saab incoming connectioni hostnamei\n                            String incomingHostname = addr.getHostName();\n                            if(APIRequest.checkIP(incomingIP, incomingHostname)) { //Kui function returnib true, siis käivitub see kood\n                                //Kõik on korras\n                                out.writeInt(1);\n                                out.flush();\n                                Utils.log(Level.INFO, Utils.format(ServerConfig.successfulLogin));\n                            } else { //Kui connection tuleb teiselt IPlt, siis\n                                //Kui function returnib false ehk vale IP üritab connectida, siis käivitub see kood\n                                Utils.log(Level.ERROR, &amp;quot;A connection from an unknown IP was refused. Please report this to the StatusMC Support staff. Blocked IP: &amp;quot; + addr.getHostAddress() + &amp;quot; Blocked hostname: &amp;quot;+ addr.getHostName());\n                                out.writeInt(0);\n                                out.flush();\n                                this.connect_status = false;\n                            }\n                        }else{\n                            out.writeInt(0);\n                            out.flush();\n                            Utils.log(Level.INFO, Utils.format(ServerConfig.wrongSecretKey));\n                            this.connect_status = false;\n                        }\n                    }else{\n                        out.writeInt(0);\n                        out.flush();\n                        Utils.log(Level.INFO, Utils.format(ServerConfig.unexpectederror));\n                        this.connect_status = false;\n                    }\n\n                    while(this.connect_status){\n                        final byte packetNumber = in.readByte();\n\n                        if(packetNumber == 2) { //GET TPS FUNCTION\n                            double tps = Math.round(SocketOnGetTPSEvent.getTPS() * 100.0D) / 100.0D;\n                            out.writeDouble(tps);\n                            if(ServerConfig.log_performance_metrics.equals(true)) {\n                                Utils.log(Level.INFO, &amp;quot;The current TPS is &amp;quot; + tps + &amp;quot;.&amp;quot;);\n                            }\n                           \n                        } else if(packetNumber == 4) { //Saab min MSPT\n                            double minMSPTValue = SocketOnGetMSPTEvent.getMinMSPT();\n                            out.writeDouble(minMSPTValue);\n                            if(ServerConfig.log_performance_metrics.equals(true)) {\n                                Utils.log(Level.INFO, &amp;quot;Min MSPT for the last 1 minute: &amp;quot;+minMSPTValue);\n                            }\n                            \n                        } else if(packetNumber == 5) { //Saab avg MSPT\n                            double avgMSPTValue = SocketOnGetMSPTEvent.getAvgMSPT();\n                            out.writeDouble(avgMSPTValue);\n                            if(ServerConfig.log_performance_metrics.equals(true)) {\n                                Utils.log(Level.INFO, &amp;quot;Average MSPT for the last 1 minute: &amp;quot;+avgMSPTValue);\n                            }\n                            \n                        } else if(packetNumber == 6) { //Saab max MSPT\n                            double maxMSPTValue = SocketOnGetMSPTEvent.getMaxMSPT();\n                            out.writeDouble(maxMSPTValue);\n                            if(ServerConfig.log_performance_metrics.equals(true)) {\n                                Utils.log(Level.INFO, &amp;quot;Max MSPT for the last 1 minute: &amp;quot;+maxMSPTValue);\n                            }\n                            \n                        } else if(packetNumber == 3){ // CLOSE_CHANNEL\n                            Utils.log(Level.INFO, &amp;quot;Socket packet 3 close&amp;quot;);\n                            out.flush();\n                            closeConnectionGracefully();\n                            \n                        } else {\n                            Utils.log(Level.INFO, &amp;quot;Packet not found! Packet: &amp;quot; + packetNumber + &amp;quot; Please contact StatusMC Support staff.&amp;quot;);\n                            \n                        }\n                    }\n\n            }catch(IOException ex){\n                out.writeDouble(404500); //Kui tekib IO Exception 1, siis writein doublei 404500\n                //Kui PHP saab tpsi/mspt-d lugeda üritades doublei 404500, siis teeb uue katse lugeda serveri TPSi, sest TPS tekkis viga TPSi \n                //saamisel. Valisin 404500 sellepärast, et MC serveri TPS JA MSPT ei saa kunagi olla nii suur\n                out.flush();\n                /*closeConnectionGracefully();*/\n                Utils.log(Level.INFO, &amp;quot;IO exception 1: &amp;quot;+ex.getMessage());\n                ex.printStackTrace();\n            }\n            \n        }\n    }catch(IOException ex){\n        Utils.log(Level.INFO, &amp;quot;IO exception 2: &amp;quot;+ex.getMessage());\n        ex.printStackTrace();\n    }\n}\n\nprivate void closeConnectionGracefully() {\n    try {\n        in.close();\n        out.close();\n        sock.close();\n        this.connect_status = false;\n    } catch (IOException e) {\n        Utils.log(Level.WARNING, &amp;quot;Error while closing socket connection: &amp;quot;+e.getMessage());\n    }\n}\n&lt;/code&gt;&lt;/pre&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .306<http://stackoverflow.com/q/79466210> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140146150> .307<http://stackoverflow.com/comment/140197463> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .308<http://stackoverflow.com/q/79480969> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#UnansweredQuestion> .309<http://stackoverflow.com/tag/deepl> <http://stackoverflow.com/schema#tagName> "deepl"^^<http://www.w3.org/2001/XMLSchema#string> .310<http://stackoverflow.com/q/79441819> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/curl> .311<http://stackoverflow.com/comment/140189265> <http://stackoverflow.com/schema#hasText> "Hi HEXALIX, yes i have tried using edge &amp; chrome, nothing else"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .312<http://stackoverflow.com/comment/140192584> <http://stackoverflow.com/schema#hasText> "yes, that&#x27;s one way to implement it. Whether you include the token in the body or in the headers depends on how/where you want to validate it."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .313<http://stackoverflow.com/a/79436524> <http://stackoverflow.com/schema#answersQuestion> <http://stackoverflow.com/q/79436479> .314<http://stackoverflow.com/comment/140274131> <http://stackoverflow.com/schema#hasText> "@ Charlieface - Partition worked!  `SELECT *, COUNT(name) OVER (PARTITION BY name) AS nameCounter FROM names...`.  Then `echo $row[&quot;nameCounter&quot;];`.  Awesome!  I&#x27;ll have to read up more on Partition.\nNow...  to work out how to put nameCounter only on the 1st instance of each name."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .315<http://stackoverflow.com/q/79529102> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140255633> .316<http://stackoverflow.com/comment/140278825> <http://stackoverflow.com/schema#hasText> "Please learn about SQL injection, and use parameterized statements instead of concatenating values into a query string."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .317<http://stackoverflow.com/q/79443959> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140108474> .318<http://stackoverflow.com/q/79501700> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140206317> .319<http://stackoverflow.com/q/79489886> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140186385> .320<http://stackoverflow.com/tag/admin> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79454958> .321<http://stackoverflow.com/q/79540915> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#UnansweredQuestion> .322<http://stackoverflow.com/comment/140125139> <http://stackoverflow.com/schema#hasText> "I would need the full working code to accept any answer."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .323<http://stackoverflow.com/comment/140269288> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .324<http://stackoverflow.com/q/79450617> <http://stackoverflow.com/schema#hasTitle> "Asserting a method call on a Facade not the underlying proxied class"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .325<http://stackoverflow.com/tag/laravel> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79528890> .326<http://stackoverflow.com/q/79447672> <http://stackoverflow.com/schema#hasAnswer> <http://stackoverflow.com/a/79447687> .327<http://stackoverflow.com/comment/140258714> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .328<http://stackoverflow.com/q/79426544> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .329<http://stackoverflow.com/q/79525961> <http://stackoverflow.com/schema#hasTitle> "Why is my docker not working. 403 forbidden"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .330<http://stackoverflow.com/a/79515314> <http://stackoverflow.com/schema#downvoteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .331<http://stackoverflow.com/a/79438285> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Answer> .332<http://stackoverflow.com/a/79473154> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;You should better use &lt;a href=&quot;https://developer.wordpress.org/reference/functions/get_the_terms/&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;get_the_terms()&lt;/code&gt;&lt;/a&gt; which &lt;a href=&quot;https://developer.wordpress.org/reference/functions/wp_get_post_terms/#user-contributed-notes&quot; rel=&quot;nofollow noreferrer&quot;&gt;is cached&lt;/a&gt; instead of &lt;a href=&quot;https://developer.wordpress.org/reference/functions/wp_get_post_terms/&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;code&gt;wp_get_post_terms()&lt;/code&gt;&lt;/a&gt;, avoiding multiple heavy queries.&lt;/p&gt;\n&lt;p&gt;Then you can &lt;strong&gt;use the term link only on single product pages&lt;/strong&gt; targeting the related hook.&lt;/p&gt;\n&lt;p&gt;Try the following:&lt;/p&gt;\n&lt;pre class=&quot;lang-php prettyprint-override&quot;&gt;&lt;code&gt;// Common utility function to get the product brand term object\nfunction get_the_brand_term() {\n    $terms = get_the_terms(get_the_ID(), &#x27;product_brand&#x27;);\n\n    return $terms &amp;amp;&amp;amp; !is_wp_error($terms) ? reset($terms) : false;\n}\n\n// On loop product archives (just the term)\nfunction single_product_brand() {\n    if ( $term = get_the_brand_term() ) {\n        printf(&#x27;&amp;lt;div class=&amp;quot;product_brand %s&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;%s&amp;quot;&amp;gt;%s&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&#x27;,\n        esc_attr($term-&amp;gt;slug), esc_url( get_term_link($term) ), esc_html($term-&amp;gt;name) );\n    }\n}\nadd_action( &#x27;woocommerce_single_product_summary&#x27;, &#x27;single_product_brand&#x27;, 10 );\n\n// On single product pages (linked term)\nfunction loop_product_brand() {\n    if ( $term = get_the_brand_term() ) {\n        printf(&#x27;&amp;lt;div class=&amp;quot;product_brand %s&amp;quot;&amp;gt;%s&amp;lt;/div&amp;gt;&#x27;,\n        esc_attr($term-&amp;gt;slug), esc_html($term-&amp;gt;name) );\n    }\n}\nadd_action( &#x27;woocommerce_shop_loop_item_title&#x27;, &#x27;loop_product_brand&#x27;, 5 );\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;It should work.&lt;/p&gt;\n&lt;hr /&gt;\n&lt;h4&gt;Edit:&lt;/h4&gt;\n&lt;p&gt;CSS styling for loop archives &lt;strong&gt;and&lt;/strong&gt; single product pages.&lt;/p&gt;\n&lt;p&gt;Replace:&lt;/p&gt;\n&lt;pre class=&quot;lang-css prettyprint-override&quot;&gt;&lt;code&gt;.product_brand a { font-size: 13px; font-weight: bold; }\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;with:&lt;/p&gt;\n&lt;pre class=&quot;lang-css prettyprint-override&quot;&gt;&lt;code&gt;.product_brand, .product_brand a { font-size: 13px; font-weight: bold; }\n&lt;/code&gt;&lt;/pre&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .333<http://stackoverflow.com/tag/java> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79477484> .334<http://stackoverflow.com/comment/140256046> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .335<http://stackoverflow.com/comment/140245434> <http://stackoverflow.com/schema#score> "2"^^<http://www.w3.org/2001/XMLSchema#integer> .336<http://stackoverflow.com/q/79530275> <http://stackoverflow.com/schema#downvoteCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .337<http://stackoverflow.com/tag/facebook> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79447578> .338<http://stackoverflow.com/tag/mysqli> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79494926> .339<http://stackoverflow.com/comment/140127674> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .340<http://stackoverflow.com/q/79529675> <http://stackoverflow.com/schema#hasTitle> "&quot;Body size limit exceeded&quot; error when installing FilePond via importmap:install in Symfony"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .341<http://stackoverflow.com/a/79477117> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;Every time you call &lt;code&gt;push()&lt;/code&gt; Firebase will automatically create a new child.&lt;/p&gt;\n&lt;p&gt;If you don&#x27;t want this, call &lt;code&gt;set()&lt;/code&gt; as shown in the documentation on &lt;a href=&quot;https://firebase-php.readthedocs.io/en/7.16.1/realtime-database.html#saving-data&quot; rel=&quot;nofollow noreferrer&quot;&gt;saving data&lt;/a&gt;.&lt;/p&gt;\n&lt;p&gt;Something like:&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;$database-&amp;gt;getReference($ref_table . $platenumber)-&amp;gt;set($postData)\n&lt;/code&gt;&lt;/pre&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .342<http://stackoverflow.com/comment/140217374> <http://stackoverflow.com/schema#hasText> "I tested it with https://webhook.site/ and it’s responding correctly. Could the website be blocking requests from Telegram?"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .343<http://stackoverflow.com/comment/140283009> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .344<http://stackoverflow.com/q/79493830> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;I am trying to get data using the Ebay API and a keyword for my items.  For example, I used to be able to enter this...&lt;/p&gt;\n&lt;p&gt;&lt;code&gt;https://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findItemsByKeywords&amp;amp;SECURITY-APPNAME=MYAPPNAME&amp;amp;keywords=CHEESE&amp;amp;itemFilter.name=Seller&amp;amp;itemFilter.value=MY_USER_ID&lt;/code&gt;&lt;/p&gt;\n&lt;p&gt;Each of my titles is unique, so if I wanted to search the titles of my items and find the one that had the word &amp;quot;cheese&amp;quot; in it, entering the URL above would show me data for that item.   I&#x27;d get xml code showing the full title, selling price, itemID, etc.&lt;/p&gt;\n&lt;p&gt;Just recently, this stopped working.  I don&#x27;t think you can use the FindingAPI anymore, and I don&#x27;t think you can enter this on a URL.   Can I somehow use PHP and cURL to get the item data based on a keyword?&lt;/p&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .345<http://stackoverflow.com/comment/140272899> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .346<http://stackoverflow.com/comment/140186057> <http://stackoverflow.com/schema#hasText> "@LoicTheAztec I&#x27;m already using reCAPTCHA. It doesn&#x27;t seem to catch all the bots. I&#x27;m sure it helps but there are still a few that get through."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .347<http://stackoverflow.com/comment/140142331> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .348<http://stackoverflow.com/q/79493100> <http://stackoverflow.com/schema#answerCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .349<http://stackoverflow.com/comment/140185243> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .350<http://stackoverflow.com/comment/140146372> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .351<http://stackoverflow.com/tag/availability> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79490387> .352<http://stackoverflow.com/q/79458708> <http://stackoverflow.com/schema#downvoteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .353<http://stackoverflow.com/comment/140233902> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .354<http://stackoverflow.com/tag/fgetcsv> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Tag> .355<http://stackoverflow.com/q/79462455> <http://stackoverflow.com/schema#hasTitle> "Multiple select element not submitting to POST array upon form submission"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .356<http://stackoverflow.com/comment/140176214> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79483715> .357<http://stackoverflow.com/comment/140250496> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .358<http://stackoverflow.com/q/79530225> <http://stackoverflow.com/schema#upvoteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .359<http://stackoverflow.com/comment/140193273> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/a/79494370> .360<http://stackoverflow.com/a/79527399> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140252540> .361<http://stackoverflow.com/q/79546791> <http://stackoverflow.com/schema#hasTitle> "Login system wont login, I tried debugging it by echoing sql errors but to no avail. It just redirects me back to the login page"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .362<http://stackoverflow.com/q/79527793> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140251748> .363<http://stackoverflow.com/comment/140124870> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .364<http://stackoverflow.com/comment/140125975> <http://stackoverflow.com/schema#hasText> "Could you just chain them? I.e. `-&gt;whereHas(/* logic for closed/scheduled */)-&gt;whereDoesntHave(/* logic for open/in-progress */)`? (might need to scope those two then also chain a `-&gt;orWhereDoesntHave(/* logic for any Job */)`. Otherwise you&#x27;re getting into comparing count of Jobs vs count of Closed/Scheduled Jobs, which could be complicated ‍♂️"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .365<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79451242> .366<http://stackoverflow.com/comment/140112684> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .367<http://stackoverflow.com/comment/140124912> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .368<http://stackoverflow.com/comment/140118951> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .369<http://stackoverflow.com/q/79488289> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .370<http://stackoverflow.com/q/79487584> <http://stackoverflow.com/schema#answerCount> "3"^^<http://www.w3.org/2001/XMLSchema#integer> .371<http://stackoverflow.com/q/79467629> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .372<http://stackoverflow.com/q/79442015> <http://stackoverflow.com/schema#hasTitle> "Use nested while loops with a Advanced Custom Fields repeaster field?"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .373<http://stackoverflow.com/comment/140233212> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .374<http://stackoverflow.com/comment/140184169> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .375<http://stackoverflow.com/comment/140279919> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .376<http://stackoverflow.com/q/79479650> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140169746> .377<http://stackoverflow.com/a/79465588> <http://stackoverflow.com/schema#upvoteCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .378<http://stackoverflow.com/comment/140125527> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnswerComment> .379<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79527908> .380<http://stackoverflow.com/q/79544313> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140278666> .381<http://stackoverflow.com/comment/140203157> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79497062> .382<http://stackoverflow.com/q/79437937> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140096762> .383<http://stackoverflow.com/comment/140278592> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .384<http://stackoverflow.com/comment/140282473> <http://stackoverflow.com/schema#score> "4"^^<http://www.w3.org/2001/XMLSchema#integer> .385<http://stackoverflow.com/q/79427963> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140078741> .386<http://stackoverflow.com/comment/140193142> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .387<http://stackoverflow.com/comment/140271831> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79540136> .388<http://stackoverflow.com/q/79508323> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .389<http://stackoverflow.com/a/79493561> <http://stackoverflow.com/schema#answersQuestion> <http://stackoverflow.com/q/79488289> .390<http://stackoverflow.com/comment/140260437> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .391<http://stackoverflow.com/tag/moodle> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79542033> .392<http://stackoverflow.com/comment/140258049> <http://stackoverflow.com/schema#hasText> "function get ($month, $year) {\n   $vehicle_id = $_GET[&#x27;vehicle_id&#x27;];\n    // (F1) DATE RANGE CALCULATIONS\n    $month = $month&lt;10 ? &quot;0$month&quot; : $month ;\n    $daysInMonth = cal_days_in_month(CAL_GREGORIAN, $month, $year);\n    $dateYM = &quot;{$year}-{$month}-&quot;;\n    $start = $dateYM . &quot;01 00:00:00&quot;;\n    $end = $dateYM . $daysInMonth . &quot; 23:59:59&quot;;\n \n    // (F2) GET EVENTS\n    // s &amp; e : start &amp; end date\n    // c &amp; b : text &amp; background color\n    // t : event text\n    $this-&gt;query(&quot;SELECT * FROM `bookings` WHERE vehicle_id = &#x27;&quot; . $_GET[&#x27;app_id&#x27;] . &quot;&#x27; AND (..."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .393<http://stackoverflow.com/comment/140119079> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .394<http://stackoverflow.com/q/79499612> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/jenssegers-mongodb> .395<http://stackoverflow.com/comment/140184046> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79488174> .396<http://stackoverflow.com/comment/140206172> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79501808> .397<http://stackoverflow.com/comment/140129766> <http://stackoverflow.com/schema#hasText> "@IMSoP So it&#x27;s mean that if OpCache is enabled ther results will be different and class will be the same?"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .398<http://stackoverflow.com/q/79439558> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .399<http://stackoverflow.com/comment/140279800> <http://stackoverflow.com/schema#hasText> "@Olivier some DMBS also cache *query plans* and same prepared queries share same cached query plans, so they don&#x27;t have to be calculated. Though I have no idea how much does it gain."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .400<http://stackoverflow.com/comment/140282962> <http://stackoverflow.com/schema#hasText> "What is the `--force` being used for? And please run the composer diagnose function and put the command as well as the result into your question by [edit]ing it."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .401<http://stackoverflow.com/q/79528903> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140253192> .402<http://stackoverflow.com/comment/140097926> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .403<http://stackoverflow.com/comment/140220710> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .404<http://stackoverflow.com/a/79535035> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140266213> .405<http://stackoverflow.com/q/79435568> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;Using the master laravel apl I have successfully created directory. Unzipped the project using Process into the newly created directory. Wrote .env file dynamically from the code. And created a migration file for adding base user. Created database on the server for this new projet. Username and password are same for master app and deployed app. My problem is with running artisan commands.&lt;/p&gt;\n&lt;p&gt;When I use&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;Process::path($deploymentPath)-&amp;gt;run(&amp;quot;php artisan migrate --force&amp;quot;);\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;or&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;Process-&amp;gt;run(&amp;quot;php &amp;quot; . $deploymentPath . &amp;quot;/artisan migrate --force&amp;quot;);\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;It fails. It says client table already exists. This is not true as the database is empty. If I migrate manually to the deployed project folder, and run the migrate command. It works without any issues.&lt;/p&gt;\n&lt;p&gt;My theory is that the artisan command is migrating my master program and not the one being deployed. Even though everything else works alright. Gow do I fix this.&lt;/p&gt;\n&lt;p&gt;And yes, I am on Ubuntu 24.04 and laravel 11, using mysql 8.&lt;/p&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .406<http://stackoverflow.com/comment/140088640> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .407<http://stackoverflow.com/tag/availability> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Tag> .408<http://stackoverflow.com/comment/140277878> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .409<http://stackoverflow.com/comment/140166425> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/a/79477670> .410<http://stackoverflow.com/q/79481483> <http://stackoverflow.com/schema#upvoteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .411<http://stackoverflow.com/comment/140101704> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .412<http://stackoverflow.com/comment/140249850> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .413<http://stackoverflow.com/q/79469412> <http://stackoverflow.com/schema#favoriteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .414<http://stackoverflow.com/comment/140258263> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .415<http://stackoverflow.com/comment/140270377> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .416<http://stackoverflow.com/tag/bulkinsert> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Tag> .417<http://stackoverflow.com/comment/140185220> <http://stackoverflow.com/schema#hasText> "@YourCommonSense I know that $GLOBALS is available in ALL scopes, Just wonder why the definition doesn&#x27;t say it in that explicit way. And its&#x27; not only the pages that put &quot; all scopes&quot; and &quot;global scope&quot; words in the same sentence or neighboring sentences implicitly promting a reader to think that there is such a thinkg like a &quot;global scope&quot; and such a thin like &quot;all scopes&quot; and if something is available in global scope its&#x27; not necessarily should be available in other scopes.. But never mind. If the question is really confusing, maybe it worth to be removed.."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .418<http://stackoverflow.com/q/79469040> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140150010> .419<http://stackoverflow.com/a/79457826> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AcceptedAnswer> .420<http://stackoverflow.com/comment/140284199> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79542553> .421<http://stackoverflow.com/comment/140237742> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .422<http://stackoverflow.com/tag/apache> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79533639> .423<http://stackoverflow.com/comment/140214405> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79506542> .424<http://stackoverflow.com/comment/140255846> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .425<http://stackoverflow.com/q/79467629> <http://stackoverflow.com/schema#hasAnswer> <http://stackoverflow.com/a/79470245> .426<http://stackoverflow.com/comment/140196507> <http://stackoverflow.com/schema#hasText> "I think you&#x27;ll find this much easier to configure and debug if you separate the new site onto a second vhost like v2.mydomain.com instead of trying to cram it into a subdir. The two apps will be completely isolated from each other and then your &quot;go live&quot; will be nothing more than changing the ServerName line."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .427<http://stackoverflow.com/comment/140165201> <http://stackoverflow.com/schema#hasText> "@IłyaBursov If you post that as an answer I will accept it. (You don&#x27;t need to post any code, I can do that myself.)"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .428<http://stackoverflow.com/comment/140094084> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .429<http://stackoverflow.com/q/79435392> <http://stackoverflow.com/schema#answerCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .430<http://stackoverflow.com/q/79525447> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .431<http://stackoverflow.com/tag/user-agent> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79514490> .432<http://stackoverflow.com/q/79522022> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .433<http://stackoverflow.com/comment/140081321> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnswerComment> .434<http://stackoverflow.com/q/79441812> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .435<http://stackoverflow.com/q/79514550> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140228304> .436<http://stackoverflow.com/comment/140250590> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .437<http://stackoverflow.com/q/79463430> <http://stackoverflow.com/schema#answerCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .438<http://stackoverflow.com/comment/140217891> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .439<http://stackoverflow.com/tag/wordpress> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79494414> .440<http://stackoverflow.com/comment/140269008> <http://stackoverflow.com/schema#hasText> "@NicoHaase when i click the button that reset the number table and return the view of the form i get an error becouse the db data is empty and  my contorller get an empty value and the error say  error &quot;Attempt to read property id on null&quot;."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .441<http://stackoverflow.com/q/79494079> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140257642> .442<http://stackoverflow.com/comment/140193567> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .443<http://stackoverflow.com/comment/140241447> <http://stackoverflow.com/schema#hasText> "it&#x27;s now edited"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .444<http://stackoverflow.com/comment/140183430> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnswerComment> .445<http://stackoverflow.com/q/79524440> <http://stackoverflow.com/schema#upvoteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .446<http://stackoverflow.com/q/79517552> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/openssl> .447<http://stackoverflow.com/comment/140260286> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .448<http://stackoverflow.com/q/79538360> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;I am creating a website for a gaming server. One of the pages on the site is a photo gallery. I&#x27;ve created the gallery layout in a page called PhotoGallery.php. There are 3 options. The 1st is a radio input choosing either Photo or Video. The 2nd is a drop down menu that gets populated through a php function. This function locates the directory names in either /Images/Photo_Gallery/Pictures/ or /Video/Video_Gallery/Video/and echo back the directory names and option tags for the drop down. This menu is also hidden until the radio menu choice is made. This is done in a javascript function. This choice is then passed back to php to get the sub directories of the chosen path. The 3rd option another drop down menu that takes the value of the radio and the 1st drop down menu is populated with the directory names of the category folder if any. Then once all choices are made the gallery then displays all the pictures or videos Thumbnails found in that folder.&lt;/p&gt;\n&lt;p&gt;I have worked on this for 2 weeks now and can&#x27;t seem to get it working properly to populate the menus. I get the menu to show up but no option inside of it. Is there something wrong with my syntax or logic or is there a better cleaner approach?&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;PhotoGallery.php // code &amp;lt;!DOCTYPE html&amp;gt; &amp;lt;html lang=&amp;quot;en-US&amp;quot;&amp;gt; &amp;lt;head&amp;gt; &amp;lt;meta charset=&amp;quot;UTF-8&amp;quot;&amp;gt; &amp;lt;meta name=&amp;quot;viewport&amp;quot; content=&amp;quot;width=device-width, initial-scale=1.0&amp;quot;&amp;gt; &amp;lt;title&amp;gt;Photo Gallery&amp;lt;/title&amp;gt; &amp;lt;link rel=&amp;quot;stylesheet&amp;quot; href=&amp;quot;../../CSS/styles.css&amp;quot;&amp;gt; &amp;lt;link rel=&amp;quot;stylesheet&amp;quot; href=&amp;quot;../../CSS/photo_gallery.css&amp;quot;&amp;gt; &amp;lt;script src=&amp;quot;../../Javascript/photo_gallery_functions.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt; &amp;lt;/head&amp;gt; &amp;lt;header&amp;gt; &amp;lt;?php include &amp;quot;../../Website_Pages/Element_Pages/header.php&amp;quot; ?&amp;gt; &amp;lt;/header&amp;gt; &amp;lt;body&amp;gt; &amp;lt;div class=&amp;quot;photo_gallery_main_background_container&amp;quot;&amp;gt; &amp;lt;div class=&amp;quot;left_nav_container&amp;quot;&amp;gt; &amp;lt;?php include &amp;quot;../../Website_Pages/Element_Pages/leftmenu.php&amp;quot; ?&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;div class=&amp;quot;photo_gallery_main_container&amp;quot;&amp;gt; &amp;lt;h1&amp;gt;COMMUNE GALLERY&amp;lt;/h1&amp;gt; &amp;lt;div class=&amp;quot;background_container&amp;quot;&amp;gt; &amp;lt;div class=&amp;quot;gallery_header&amp;quot; id=&amp;quot;gallery_header&amp;quot;&amp;gt; &amp;lt;h2&amp;gt;&amp;quot;Collection&amp;quot;&amp;lt;/h2&amp;gt; &amp;lt;div class=&amp;quot;drop_down_menu_container&amp;quot; id=&amp;quot;drop_down_menu_container&amp;quot;&amp;gt; &amp;lt;form action=&amp;quot;../../PHP/photo_gallery_functions.php&amp;quot; method= &amp;quot;post&amp;quot;&amp;gt; &amp;lt;input type=&amp;quot;radio&amp;quot; id=&amp;quot;media_type_photo&amp;quot; name=&amp;quot;media_type&amp;quot; value=&amp;quot;Photo&amp;quot; checked=&amp;quot;checked&amp;quot; onclick= showDropdown()&amp;gt; &amp;lt;label for=&amp;quot;media_type_photo&amp;quot;&amp;gt;Photo&amp;lt;/label&amp;gt; &amp;lt;br&amp;gt; &amp;lt;input type=&amp;quot;radio&amp;quot; id=&amp;quot;media_type_video&amp;quot; name=&amp;quot;media_type&amp;quot; value=&amp;quot;Video&amp;quot; onclick= showDropdown()&amp;gt; &amp;lt;label for=&amp;quot;media_type_video&amp;quot;&amp;gt;Video&amp;lt;/label&amp;gt; &amp;lt;br&amp;gt; &amp;lt;input type=&amp;quot;submit&amp;quot; value=&amp;quot;Submit&amp;quot;&amp;gt; &amp;lt;/form&amp;gt; &amp;lt;br&amp;gt; &amp;lt;form action=&amp;quot;../../PHP/photo_gallery_functions&amp;quot; method=&amp;quot;get&amp;quot;&amp;gt; &amp;lt;select id=&amp;quot;collection_menu&amp;quot; name=&amp;quot;collection&amp;quot; style=&amp;quot;display: none;&amp;quot;&amp;gt; &amp;lt;?php include &amp;quot;photo_gallery_functions.php&amp;quot;; media_type_choice ($media_type); ?&amp;gt; &amp;lt;/select&amp;gt; &amp;lt;/form&amp;gt; &amp;lt;br&amp;gt; &amp;lt;form action=&amp;quot;../../PHP/photo_gallery_functions.php&amp;quot; method=&amp;quot;get&amp;quot;&amp;gt; &amp;lt;select id=&amp;quot;gallery_menu&amp;quot; name=&amp;quot;gallery&amp;quot; style=&amp;quot;display:none;&amp;quot;&amp;gt; &amp;lt;?php include &amp;quot;photo_gallery_functions.php&amp;quot;; collection_choice ($collection, media_type_gallery: $media_type_gallery) ?&amp;gt; &amp;lt;/select&amp;gt; &amp;lt;/form&amp;gt; &amp;lt;br&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;div class =&amp;quot;image_scrollbox_continer&amp;quot;&amp;gt; &amp;lt;div class=&amp;quot;image_scrollbox&amp;quot; style=&amp;quot;overflow: auto;&amp;quot;&amp;gt; &amp;lt;ul class = &amp;quot;image_gallery&amp;quot; id=&amp;quot;image.gallery&amp;quot; style=&amp;quot;display: none;&amp;quot;&amp;gt; &amp;lt;?php include &amp;quot;photo_gallery_functions.php&amp;quot;; thumbnailPreview ($media_type_gallery, $collection_gallery, $gallery_choice_gallery); ?&amp;gt; &amp;lt;/ul&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/body&amp;gt; &amp;lt;footer&amp;gt; &amp;lt;?php include &amp;quot;../../Website_Pages/Element_Pages/footer.php&amp;quot; ?&amp;gt; &amp;lt;/footer&amp;gt; &amp;lt;/html&amp;gt; // photo_gallery_funxtions.php &amp;lt;?php $media_type_gallery = &amp;quot;$media_type&amp;quot;; function media_type_choice ($media_type) { if ($media_type == &amp;quot;Photo&amp;quot;) { $directoryPath= &amp;quot;/Images/Photo_Gallery/Pictures/&amp;quot;; $contents = scandir($directoryPath); $directories= array_filter ($contents, function ($item) use ($directoryPath) { return is_dir($directoryPath.&amp;quot;/&amp;quot;. $item) &amp;amp;&amp;amp; $item !== &amp;quot;.&amp;quot; &amp;amp;&amp;amp; $item !==&amp;quot;..&amp;quot;;}); foreach ($directories as $directory) { echo &amp;quot;&amp;lt;option id=&#x27;photo_collection&#x27; name=&#x27;photo_collection&#x27; value=&#x27;$directory&#x27; onclick= showDropdownGallery()&amp;gt;&amp;lt;/option&amp;gt;&amp;quot;; } } else if ($media_type == &amp;quot;Video&amp;quot;); { $directoryPath= &amp;quot;/Video/Video_Gallery/Video&amp;quot;; $contents = scandir($directoryPath); $directories= array_filter ($contents, function ($item) use ($directoryPath) { return is_dir($directoryPath.&amp;quot;/&amp;quot;. $item) &amp;amp;&amp;amp; $item !== &amp;quot;.&amp;quot;&amp;amp;&amp;amp; $item !== &amp;quot;..&amp;quot;;}); foreach ($directories as $directory) { echo &amp;quot;&amp;lt;option id=&#x27;video_collection&#x27; name=&#x27;video_collection&#x27; value=&#x27;$directory&#x27; onclick= showDropdownGallery()&amp;gt;&amp;lt;/option&amp;gt;&amp;quot;; } } } function collection_choice ($collection, $media_type_gallery) { if ($media_type_gallery == &amp;quot;Photo&amp;quot;) { $directoryPathGallery= &amp;quot;/Images/Photo_Gallery/$collection/&amp;quot;; } else if ($media_type_gallery == &amp;quot;Video&amp;quot;); { $directoryPathGallery= &amp;quot;/Video/Video_Gallery/$collection/&amp;quot;; } $contents = scandir($directoryPathGallery); $directoriesGallery= array_filter ($contents, function ($item) use ($directoryPathGallery) { return is_dir($directoryPathGallery.&amp;quot;/&amp;quot;. $item) &amp;amp;&amp;amp; $item !== &amp;quot;.&amp;quot;&amp;amp;&amp;amp; $item !== &amp;quot;..&amp;quot;;}); foreach ($directoriesGallery as $directoryGallery) { echo &amp;quot;&amp;lt;option id=&#x27;gallery_choice&#x27; name=&#x27;gallery_choice&#x27; value=&#x27;$directoryGallery&#x27; onclick=showThumbnails()&amp;gt;$directoryGallery&amp;lt;/option&amp;gt;&amp;quot;; } } function thumbnailPreview ($media_type_gallery, $collection_gallery, $gallery_choice_gallery) { if ($media_type_gallery == &amp;quot;Photo&amp;quot;) { $gallery_type = &amp;quot;/Images/Photo_Gallery/&amp;quot;; } else if ($media_type_gallery == &amp;quot;Video&amp;quot;); { $gallery_type= &amp;quot;/Video/Video_Gallery/&amp;quot;; } $directoryPathImage= &amp;quot;$gallery_type/Thumbnails/$collection_gallery/$gallery_choice_gallery/&amp;quot;; $contentsImage= scandir($directoryPathImage); $directoriesImage= array_filter ($contentsImage, function ($item) use ($directoryPathImage) { return is_file($directoryPathImage.&amp;quot;/&amp;quot;. $item) &amp;amp;&amp;amp; $item !== &amp;quot;.&amp;quot;&amp;amp;&amp;amp; $item !== &amp;quot;..&amp;quot;;}); foreach ($directoriesImage as $directoryImage) { if ($media_type_gallery == &amp;quot;Photo&amp;quot;) { $thumbnail = &amp;quot;&amp;lt;img src=&#x27;/Images/Photo_Gallery/Thumbnails/$collection_gallery/$gallery_choice_gallery/$directoryImage.png&#x27; alt=&#x27;$directoryImage&#x27; width=&#x27;100px&#x27; height=&#x27;100px&#x27;&amp;gt;&amp;quot;; echo &amp;quot;&amp;lt;a href=&#x27;/Images/Photo_Gallery/Pictures/$collection_gallery/$gallery_choice_gallery/$directoryImage.png&#x27; target=&#x27;_blank&#x27;&amp;gt;$thumbnail&amp;lt;/a&amp;gt;&amp;quot;; } else if ($media_type_gallery == &amp;quot;Video&amp;quot;); { $videoThumbnail = &amp;quot;&amp;lt;img src=&#x27;/Video/Video_Gallery/Thumbnails/$collection_gallery/$gallery_choice_gallery/$directoryImage.png&#x27; alt=&#x27;$directoriesImage&#x27; width=&#x27;100px&#x27; height=&#x27;100px&#x27;&amp;gt;&amp;quot;; echo &amp;quot;&amp;lt;li id=&#x27;thumbnail&#x27;&amp;gt;&amp;lt;a href=&#x27;/Video/Video_Gallery/Video/$collection_gallery/$gallery_choice_gallery/$directoriesImage.mp4 target=&#x27;_blank&#x27;&amp;gt;$thumbnail&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&amp;quot;; } } } ?&amp;gt;\n&lt;/code&gt;&lt;/pre&gt;\n&lt;hr /&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .449<http://stackoverflow.com/a/79439630> <http://stackoverflow.com/schema#downvoteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .450<http://stackoverflow.com/q/79506164> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .451<http://stackoverflow.com/comment/140269401> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .452<http://stackoverflow.com/comment/140220328> <http://stackoverflow.com/schema#hasText> "Because when you call `session_regenerate_id(true)` it regenerates the session ID and deletes the old session data, including all the session variables. While, `session_regenerate_id(false)`  or `session_regenerate_id()` regenerates the session ID without deleting the old session data. All these approaches prevent session fixation. You don&#x27;t need to manually copy session variables if you use `session_regenerate_id(false)` or `session_regenerate_id()` as they already preserve the session data."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .453<http://stackoverflow.com/q/79517056> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140232513> .454<http://stackoverflow.com/comment/140119210> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .455<http://stackoverflow.com/tag/eloquent-relationship> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79483494> .456<http://stackoverflow.com/q/79533454> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/laravel-7> .457<http://stackoverflow.com/q/79480328> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140169927> .458<http://stackoverflow.com/comment/140266031> <http://stackoverflow.com/schema#hasText> "I have updated my answer with the implicit binding possibly being the issue and a solution. Also, if you could respond to my answer with a comment rather than through a revision message on an edit, that would be appreciated as I don&#x27;t get notifications from edits."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .459<http://stackoverflow.com/q/79436846> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/javascript> .460<http://stackoverflow.com/a/79447687> <http://stackoverflow.com/schema#answersQuestion> <http://stackoverflow.com/q/79447672> .461<http://stackoverflow.com/q/79541779> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .462<http://stackoverflow.com/comment/140120282> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .463<http://stackoverflow.com/comment/140281193> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .464<http://stackoverflow.com/comment/140275862> <http://stackoverflow.com/schema#hasText> "Questions seeking debugging help (&quot;why isn&#x27;t this code working?&quot;) must \ninclude the desired behavior, a specific problem or error and the shortest code necessary to \nreproduce it in the question itself. Questions without a clear problem statement are not useful \nto other readers. See: [How to create a Minimal, Complete, and Verifiable example](https://stackoverflow.com/help/mcve)."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .465<http://stackoverflow.com/q/79457938> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140131419> .466<http://stackoverflow.com/comment/140245572> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .467<http://stackoverflow.com/comment/140271611> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .468<http://stackoverflow.com/comment/140087407> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnswerComment> .469<http://stackoverflow.com/tag/zen-cart> <http://stackoverflow.com/schema#tagName> "zen-cart"^^<http://www.w3.org/2001/XMLSchema#string> .470<http://stackoverflow.com/q/79495340> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/base64> .471<http://stackoverflow.com/comment/140246067> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/a/79524795> .472<http://stackoverflow.com/a/79426423> <http://stackoverflow.com/schema#answersQuestion> <http://stackoverflow.com/q/79425730> .473<http://stackoverflow.com/comment/140251744> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .474<http://stackoverflow.com/tag/phpunit> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79526162> .475<http://stackoverflow.com/q/79533454> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140261258> .476<http://stackoverflow.com/comment/140151170> <http://stackoverflow.com/schema#hasText> "Tried also runkit7, yet as of yet, no luck: https://stackoverflow.com/questions/79469776/how-to-install-runkit7"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .477<http://stackoverflow.com/comment/140118850> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .478<http://stackoverflow.com/tag/woocommerce> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79475583> .479<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79493865> .480<http://stackoverflow.com/q/79533988> <http://stackoverflow.com/schema#score> "2"^^<http://www.w3.org/2001/XMLSchema#integer> .481<http://stackoverflow.com/q/79513736> <http://stackoverflow.com/schema#linkedTo> <http://stackoverflow.com/q/16778425> .482<http://stackoverflow.com/comment/140266464> <http://stackoverflow.com/schema#score> "2"^^<http://www.w3.org/2001/XMLSchema#integer> .483<http://stackoverflow.com/tag/laravel> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79432530> .484<http://stackoverflow.com/q/79537900> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/sap-ase> .485<http://stackoverflow.com/q/79472286> <http://stackoverflow.com/schema#hasBody> "&lt;pre&gt;&lt;code&gt;&amp;lt;?php \n    $adminToken = &amp;quot;&amp;quot;; \n    $slug = &amp;quot;dish-washing-powder&amp;quot;; \n    $url = &amp;quot;example.com/rest/V1/…&amp;quot;; \n    $ch = curl_init(); \n    curl_setopt($ch, CURLOPT_URL, $url); \n    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);\n    curl_setopt($ch, CURLOPT_HTTPHEADER, [ &amp;quot;Authorization: Bearer $adminToken&amp;quot;, &amp;quot;Content-Type:application/json&amp;quot; ]); \n    $response = curl_exec($ch); \n    curl_close($ch);\n    $products = json_decode($response, true); echo &amp;quot;&amp;lt;pre&amp;gt;&amp;quot;; \n    print_r($products); echo &amp;quot;&amp;lt;/pre&amp;gt;&amp;quot;; \n?&amp;gt;\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;Not fetching the product details.&lt;/p&gt;\n&lt;p&gt;Output look like this. I need to use slug instead of sku.&lt;/p&gt;\n&lt;p&gt;Below is the json I&#x27;m getting while running on Postman.&lt;/p&gt;\n&lt;p&gt;Any help would be appreciated. Thanks in advance&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;{\n  &amp;quot;items&amp;quot;: [],\n  &amp;quot;search_criteria&amp;quot;: {\n    &amp;quot;filter_groups&amp;quot;: [\n      {\n        &amp;quot;filters&amp;quot;: [\n          {\n            &amp;quot;field&amp;quot;: &amp;quot;url_key&amp;quot;,\n            &amp;quot;value&amp;quot;: &amp;quot;dish-washing-powder/&amp;quot;,\n            &amp;quot;condition_type&amp;quot;: &amp;quot;eq&amp;quot;\n          }\n        ]\n      }\n    ]\n  },\n  &amp;quot;total_count&amp;quot;: 0\n}\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;Any help would be appreciated.&lt;/p&gt;\n&lt;p&gt;My expected output is like the below&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;{\n    &amp;quot;id&amp;quot;: 391,\n    &amp;quot;sku&amp;quot;: &amp;quot;abc-1&amp;quot;,\n    &amp;quot;name&amp;quot;: &amp;quot;dish washing powder&amp;quot;,\n    &amp;quot;attribute_set_id&amp;quot;: 4,\n    &amp;quot;price&amp;quot;: 12.68,\n    &amp;quot;status&amp;quot;: 2,\n    &amp;quot;visibility&amp;quot;: 4,\n    &amp;quot;type_id&amp;quot;: &amp;quot;simple&amp;quot;,\n    &amp;quot;created_at&amp;quot;: &amp;quot;2020-10-27 11:30:00&amp;quot;,\n    &amp;quot;updated_at&amp;quot;: &amp;quot;2024-12-03 04:19:58&amp;quot;,\n    &amp;quot;weight&amp;quot;: 0.7,\n    &amp;quot;extension_attributes&amp;quot;: {\n        &amp;quot;website_ids&amp;quot;: [\n            1\n        ],\n        \n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;Note: I was able to get it as a sku by fetching like this.\n&lt;a href=&quot;https://example.com/rest/V1/products/%7Bsku%7D&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://example.com/rest/V1/products/{sku}&lt;/a&gt;&lt;/p&gt;\n&lt;p&gt;For slug this seems to work -  &lt;a href=&quot;https://example.com/rest/V1/products?searchCriteria%5BfilterGroups%5D%5B0%5D%5Bfilters%5D%5B0%5D%5Bfield%5D=url_key&amp;amp;searchCriteria%5BfilterGroups%5D%5B0%5D%5Bfilters%5D%5B0%5D%5Bvalue%5D=my-product-name&amp;amp;searchCriteria%5BfilterGroups%5D%5B0%5D%5Bfilters%5D%5B0%5D%5Bcondition_type%5D=eq&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://example.com/rest/V1/products?searchCriteria[filterGroups][0][filters][0][field]=url_key&amp;amp;searchCriteria[filterGroups][0][filters][0][value]=my-product-name&amp;amp;searchCriteria[filterGroups][0][filters][0][condition_type]=eq&lt;/a&gt;&lt;/p&gt;\n&lt;p&gt;But can I simplify it more like the sku url.&lt;/p&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .486<http://stackoverflow.com/q/79453747> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .487<http://stackoverflow.com/q/79448876> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;I have the following requirements for url patterns:&lt;/p&gt;\n&lt;ol&gt;\n&lt;li&gt;&lt;code&gt;.com/CPT/&lt;/code&gt; (archive of custom post type)&lt;/li&gt;\n&lt;li&gt;&lt;code&gt;.com/CPT/post-name&lt;/code&gt; (single post in custom post type)&lt;/li&gt;\n&lt;li&gt;&lt;code&gt;.com/CPT/category-name&lt;/code&gt; (archive of cpt category)&lt;/li&gt;\n&lt;li&gt;&lt;code&gt;.com/CPT/category-name/post-name&lt;/code&gt; (single post in custom post type category)&lt;/li&gt;\n&lt;/ol&gt;\n&lt;p&gt;Those are the structures I need. So far 1, 3, and 4 are working properly - but I cannot get 2 to do anything but throw a 404.&lt;/p&gt;\n&lt;p&gt;When I modify the rewrite rules to accommodate #2, 3 or 4 breaks and either throws 404 or redirects to the home page. Is this possible to correct so all four permalinks are functional?&lt;/p&gt;\n&lt;p&gt;I tried using the CPT permalinks plugin - but I was unsuccessful at getting the &lt;code&gt;.com/CPT/post-name&lt;/code&gt; to work in conjunction with the other permalink structures I need (3 &amp;amp; 4).&lt;/p&gt;\n&lt;p&gt;I read through and attempted the use of another solution here - but again, these ignored the need for the structure of &lt;code&gt;.com/cpt/post-name&lt;/code&gt;.&lt;/p&gt;\n&lt;p&gt;Basically, I need to ensure that the slug for the custom post type and the slug for the custom post type custom category is the same - here are some specific examples of meaningful urls:&lt;/p&gt;\n&lt;ul&gt;\n&lt;li&gt;&lt;code&gt;.com/services&lt;/code&gt; (archive of custom post type)&lt;/li&gt;\n&lt;li&gt;&lt;code&gt;.com/services/botox&lt;/code&gt; (single post of custom post type)&lt;/li&gt;\n&lt;li&gt;&lt;code&gt;.com/services/injectables&lt;/code&gt; (archive of custom post type custom taxonomy)&lt;/li&gt;\n&lt;li&gt;&lt;code&gt;.com/services/injectables/botox&lt;/code&gt; (single post of custom post type custom taxonomy)&lt;/li&gt;\n&lt;/ul&gt;\n&lt;p&gt;Below is the code I currently have in place that is working with the exception of #2 structure:&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;// Register the Custom Post Type\nfunction register_custom_post_type() {\n    $args = array(\n        &#x27;labels&#x27; =&amp;gt; array(\n            &#x27;name&#x27; =&amp;gt; &#x27;Services&#x27;,\n            &#x27;singular_name&#x27; =&amp;gt; &#x27;Service&#x27;,\n        ),\n        &#x27;public&#x27; =&amp;gt; true,\n        &#x27;has_archive&#x27; =&amp;gt; true,\n        &#x27;rewrite&#x27; =&amp;gt; array(\n            &#x27;slug&#x27; =&amp;gt; &#x27;services&#x27;, // Base slug for your CPT\n            &#x27;with_front&#x27; =&amp;gt; false,\n            &#x27;hierarchical&#x27; =&amp;gt; true, // Allows for /services/category/post\n        ),\n        &#x27;show_in_rest&#x27; =&amp;gt; true, // Enable Gutenberg editor if needed\n        &#x27;supports&#x27; =&amp;gt; array( &#x27;title&#x27;, &#x27;editor&#x27;, &#x27;excerpt&#x27;, &#x27;author&#x27;, &#x27;thumbnail&#x27;, &#x27;comments&#x27;, &#x27;revisions&#x27;, &#x27;custom-fields&#x27; ),\n        &#x27;taxonomies&#x27; =&amp;gt; array(&#x27;services_category&#x27;), // Attach custom taxonomy if needed\n    );\n\n    register_post_type(&#x27;services&#x27;, $args);\n}\nadd_action(&#x27;init&#x27;, &#x27;register_custom_post_type&#x27;);\n\n// Register Custom Taxonomy for the Custom Post Type\nfunction register_custom_taxonomy() {\n    $args = array(\n        &#x27;labels&#x27; =&amp;gt; array(\n            &#x27;name&#x27; =&amp;gt; &#x27;Services Categories&#x27;,\n            &#x27;singular_name&#x27; =&amp;gt; &#x27;Services Category&#x27;,\n        ),\n        &#x27;public&#x27; =&amp;gt; true,\n        &#x27;rewrite&#x27; =&amp;gt; array(\n            &#x27;slug&#x27; =&amp;gt; &#x27;services&#x27;, // This will make the taxonomy appear under /services/category-name/\n            &#x27;with_front&#x27; =&amp;gt; false,\n            &#x27;hierarchical&#x27; =&amp;gt; true, // Ensure categories are hierarchical (like regular categories)\n        ),\n        &#x27;hierarchical&#x27; =&amp;gt; true,\n    );\n\n    register_taxonomy(&#x27;services_category&#x27;, &#x27;services&#x27;, $args);\n}\nadd_action(&#x27;init&#x27;, &#x27;register_custom_taxonomy&#x27;);\n\n**// Custom Rewrite Rules to Match the Permalink Structure\nfunction custom_rewrite_rules($rules) {\n    $new_rules = array(\n        // CPT Archive: /services/\n        &#x27;services/?$&#x27; =&amp;gt; &#x27;index.php?post_type=services&#x27;,\n\n        // Single CPT Post: /services/post-name/\n        &#x27;services/([^/]+)/?$&#x27; =&amp;gt; &#x27;index.php?post_type=services&amp;amp;name=$matches[1]&#x27;,\n\n        // Custom Taxonomy Archive: /services/category-name/\n        // This rule should be placed *after* the CPT single post rule to avoid conflicts\n        &#x27;services/([^/]+)/?$&#x27; =&amp;gt; &#x27;index.php?taxonomy=services_category&amp;amp;term=$matches[1]&#x27;,\n\n        // Single CPT Post within a Category: /services/category-name/post-name/\n        &#x27;services/([^/]+)/([^/]+)/?$&#x27; =&amp;gt; &#x27;index.php?post_type=services&amp;amp;services_category=$matches[1]&amp;amp;name=$matches[2]&#x27;,\n    );\n\n    return $new_rules + $rules;\n}\nadd_filter(&#x27;rewrite_rules_array&#x27;, &#x27;custom_rewrite_rules&#x27;);\n\n// Add rewrite tag for custom taxonomy (to ensure taxonomy permalinks work)\nfunction add_custom_rewrite_tags() {\n    add_rewrite_tag(&#x27;%services_category%&#x27;, &#x27;([^&amp;amp;]+)&#x27;);\n}\nadd_action(&#x27;init&#x27;, &#x27;add_custom_rewrite_tags&#x27;);\n&lt;/code&gt;&lt;/pre&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .488<http://stackoverflow.com/tag/rotation> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Tag> .489<http://stackoverflow.com/comment/140190022> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .490<http://stackoverflow.com/q/79529520> <http://stackoverflow.com/schema#answerCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .491<http://stackoverflow.com/a/79518899> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Answer> .492<http://stackoverflow.com/tag/laravel-10> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79474809> .493<http://stackoverflow.com/q/79422992> <http://stackoverflow.com/schema#downvoteCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .494<http://stackoverflow.com/comment/140227240> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .495<http://stackoverflow.com/q/79429592> <http://stackoverflow.com/schema#hasTitle> "React App Not Serving Static Files Correctly - MIME Type Issues"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .496<http://stackoverflow.com/q/79536851> <http://stackoverflow.com/schema#acceptedAnswer> <http://stackoverflow.com/a/79537926> .497<http://stackoverflow.com/a/79525189> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .498<http://stackoverflow.com/comment/140203322> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79500063> .499<http://stackoverflow.com/q/79531862> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/mysqli> .500<http://stackoverflow.com/tag/currency> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Tag> .501<http://stackoverflow.com/a/79497141> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Answer> .502<http://stackoverflow.com/q/79485962> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .503<http://stackoverflow.com/comment/140272933> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .504<http://stackoverflow.com/q/79539316> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .505<http://stackoverflow.com/q/79536172> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140265024> .506<http://stackoverflow.com/q/79543590> <http://stackoverflow.com/schema#favoriteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .507<http://stackoverflow.com/q/79443721> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;I&#x27;m trying to use the &lt;code&gt;Dom\\HtmlDocument&lt;/code&gt; that&#x27;s new in PHP 8.4.&lt;/p&gt;\n&lt;p&gt;Let&#x27;s say I just need to count all divs:&lt;/p&gt;\n&lt;pre class=&quot;lang-php prettyprint-override&quot;&gt;&lt;code&gt;&amp;lt;?php\n\n$html = &amp;lt;&amp;lt;&amp;lt;HTML\n&amp;lt;!DOCTYPE html&amp;gt;\n&amp;lt;html&amp;gt;\n&amp;lt;head&amp;gt;\n    &amp;lt;meta charset=&amp;quot;UTF-8&amp;quot;&amp;gt;\n    &amp;lt;title&amp;gt;Example&amp;lt;/title&amp;gt;\n&amp;lt;/head&amp;gt;\n&amp;lt;body&amp;gt;\n    &amp;lt;div&amp;gt;Hello&amp;lt;/div&amp;gt;\n&amp;lt;/body&amp;gt;\n&amp;lt;/html&amp;gt;\nHTML;\n\n$doc = Dom\\HTMLDocument::createFromString($html);\n$xpath = new Dom\\XPath($doc);\n\n// No divs found:\n$divs = $xpath-&amp;gt;query(&#x27;//div&#x27;);\necho $divs-&amp;gt;count(); // 0\n\n// 6 elements found, including the div:\n$anyTags = $xpath-&amp;gt;query(&#x27;//*&#x27;);\necho $anyTags-&amp;gt;count(); // 6\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;As you can see, when I use &lt;code&gt;*&lt;/code&gt; to grab any element, it works as expected and even the div is found.&lt;/p&gt;\n&lt;p&gt;Why can&#x27;t I use tag selectors? I tried some fancier selectors with classnames etc. and it works properly, as long as I use &lt;code&gt;*&lt;/code&gt; instead of specific tags.&lt;/p&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .508<http://stackoverflow.com/q/79540136> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140271709> .509<http://stackoverflow.com/comment/140069785> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .510<http://stackoverflow.com/comment/140260503> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .511<http://stackoverflow.com/q/79440607> <http://stackoverflow.com/schema#hasTitle> "Is it possible to enqueue script only when block variation is active/present"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .512<http://stackoverflow.com/a/79516052> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Answer> .513<http://stackoverflow.com/a/79546258> <http://stackoverflow.com/schema#downvoteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .514<http://stackoverflow.com/comment/140170881> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .515<http://stackoverflow.com/a/79516422> <http://stackoverflow.com/schema#answersQuestion> <http://stackoverflow.com/q/79513656> .516<http://stackoverflow.com/q/79487868> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140189903> .517<http://stackoverflow.com/comment/140269295> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnswerComment> .518<http://stackoverflow.com/a/79543681> <http://stackoverflow.com/schema#answersQuestion> <http://stackoverflow.com/q/79492293> .519<http://stackoverflow.com/comment/140228217> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .520<http://stackoverflow.com/q/79493934> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .521<http://stackoverflow.com/comment/140215575> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .522<http://stackoverflow.com/q/79537532> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140268672> .523<http://stackoverflow.com/tag/linux> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79439284> .524<http://stackoverflow.com/tag/ms-word> <http://stackoverflow.com/schema#tagName> "ms-word"^^<http://www.w3.org/2001/XMLSchema#string> .525<http://stackoverflow.com/tag/sql-server> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79514850> .526<http://stackoverflow.com/q/79443558> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140105703> .527<http://stackoverflow.com/comment/140136404> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .528<http://stackoverflow.com/comment/140244035> <http://stackoverflow.com/schema#hasText> "How is a database related to the code shown?  When you debug, what *specifically* is &quot;returning NULL&quot;?"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .529<http://stackoverflow.com/comment/140253146> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .530<http://stackoverflow.com/comment/140082154> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79429898> .531<http://stackoverflow.com/tag/types> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79441483> .532<http://stackoverflow.com/comment/140087382> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/a/79431881> .533<http://stackoverflow.com/q/79456906> <http://stackoverflow.com/schema#favoriteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .534<http://stackoverflow.com/comment/140180618> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79484749> .535<http://stackoverflow.com/comment/140144382> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/a/79463030> .536<http://stackoverflow.com/q/79433366> <http://stackoverflow.com/schema#answerCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .537<http://stackoverflow.com/tag/laravel> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79447447> .538<http://stackoverflow.com/comment/140089173> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .539<http://stackoverflow.com/q/79492360> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/docker> .540<http://stackoverflow.com/comment/140279851> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .541<http://stackoverflow.com/comment/140213878> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .542<http://stackoverflow.com/q/79448438> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140114799> .543<http://stackoverflow.com/q/79427949> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;I gets zip archive content with ZipArchive class in PHP. I need to display compressed and uncompressed size for each file in it. How to do this?&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;        $zip = new ZipArchive;\n        $zip-&amp;gt;open(&#x27;download/&#x27; . $results[0][&#x27;filename&#x27;]);\n        $i = 0;\n        while($name = $zip-&amp;gt;getNameIndex($i)) {\n            $files[] = array(\n                &#x27;filename&#x27; =&amp;gt; $name,\n                &#x27;compressed_size&#x27; =&amp;gt; ???,\n                &#x27;uncompressed_size&#x27; =&amp;gt; ???);\n            $i++;\n        }\n        $zip-&amp;gt;close();\n&lt;/code&gt;&lt;/pre&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .544<http://stackoverflow.com/comment/140176495> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .545<http://stackoverflow.com/comment/140225346> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79512948> .546<http://stackoverflow.com/q/79506530> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/api-platform.com> .547<http://stackoverflow.com/q/79441483> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .548<http://stackoverflow.com/comment/140223287> <http://stackoverflow.com/schema#hasText> "Hi. You must close all `foreach-endforeach` statements with a semicolon: `&lt;?php endforeach; ?&gt;`."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .549<http://stackoverflow.com/comment/140189742> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79487868> .550<http://stackoverflow.com/tag/routes> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Tag> .551<http://stackoverflow.com/q/79495340> <http://stackoverflow.com/schema#hasTitle> "When use the Conversion Filters convert.base64-encode between php://filter and data://, data loss may occur in versions up to PHP7"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .552<http://stackoverflow.com/comment/140233585> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .553<http://stackoverflow.com/comment/140229728> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .554<http://stackoverflow.com/comment/140171461> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .555<http://stackoverflow.com/comment/140133162> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .556<http://stackoverflow.com/q/79473317> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140157574> .557<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79433051> .558<http://stackoverflow.com/q/79498464> <http://stackoverflow.com/schema#favoriteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .559<http://stackoverflow.com/tag/odbc> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79477394> .560<http://stackoverflow.com/q/79483715> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/laravel-herd> .561<http://stackoverflow.com/comment/140208773> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .562<http://stackoverflow.com/q/79514475> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/pagination> .563<http://stackoverflow.com/comment/140102336> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .564<http://stackoverflow.com/q/79472429> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnsweredQuestion> .565<http://stackoverflow.com/tag/json> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79486932> .566<http://stackoverflow.com/comment/140282575> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79545343> .567<http://stackoverflow.com/comment/140283481> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79546769> .568<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79533988> .569<http://stackoverflow.com/q/79493968> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .570<http://stackoverflow.com/q/79533702> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#UnansweredQuestion> .571<http://stackoverflow.com/q/79500054> <http://stackoverflow.com/schema#hasTitle> "Opentelemetry Collector isn&#x27;t able to send PHP application logs/metrics/traces to Grafana"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .572<http://stackoverflow.com/q/79490002> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140187762> .573<http://stackoverflow.com/q/79439284> <http://stackoverflow.com/schema#hasAnswer> <http://stackoverflow.com/a/79439475> .574<http://stackoverflow.com/a/79511364> <http://stackoverflow.com/schema#downvoteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .575<http://stackoverflow.com/q/79475818> <http://stackoverflow.com/schema#hasTitle> "Why chmod() in Laravel Nova does not work with GeeseFS?"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .576<http://stackoverflow.com/comment/140229265> <http://stackoverflow.com/schema#hasText> "I tried logging ALL requests, including headers. They are not even hitting the endpoint."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .577<http://stackoverflow.com/comment/140125904> <http://stackoverflow.com/schema#hasText> "OK - so I managed to get it working with a slight workaround (Yes, without any java or ajax scripts :-)). Preliminary test output is good. Will test it in more detail by evening &amp; update it here. Unfortunate that the question is closed, so no more contributions may come in. But unfortunately that&#x27;s what SO is :-((. (@NicoHaase)"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .578<http://stackoverflow.com/tag/initialization> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79445269> .579<http://stackoverflow.com/comment/140180319> <http://stackoverflow.com/schema#hasText> "So the testers should really be telling _why_ they think this response indicates a vulnerability, based on their observations."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .580<http://stackoverflow.com/tag/http-status-code-405> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79481079> .581<http://stackoverflow.com/comment/140268373> <http://stackoverflow.com/schema#hasText> "You are running home.html also via localhost, not directly by clicking it in Windows Explorer?"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .582<http://stackoverflow.com/a/79544434> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .583<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79490002> .584<http://stackoverflow.com/comment/140116827> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .585<http://stackoverflow.com/tag/foreach> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79428322> .586<http://stackoverflow.com/a/79506099> <http://stackoverflow.com/schema#answersQuestion> <http://stackoverflow.com/q/79504931> .587<http://stackoverflow.com/q/79449510> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/bittorrent> .588<http://stackoverflow.com/comment/140191373> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .589<http://stackoverflow.com/tag/string> <http://stackoverflow.com/schema#tagName> "string"^^<http://www.w3.org/2001/XMLSchema#string> .590<http://stackoverflow.com/tag/.net-core> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79440518> .591<http://stackoverflow.com/q/79495291> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .592<http://stackoverflow.com/q/79530475> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/woocommerce> .593<http://stackoverflow.com/q/79526352> <http://stackoverflow.com/schema#hasTitle> "PHP - convert XML to array with all attributes"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .594<http://stackoverflow.com/comment/140100798> <http://stackoverflow.com/schema#hasText> "@hakre Perhaps I, and others to follow this, have a misunderstanding of why the namespace and why it would resolve blank here.  Can you clarify for those of us trying to understand?"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .595<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79486099> .596<http://stackoverflow.com/comment/140178423> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .597<http://stackoverflow.com/a/79510160> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140221638> .598<http://stackoverflow.com/q/79513082> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .599<http://stackoverflow.com/comment/140221938> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .600<http://stackoverflow.com/a/79512790> <http://stackoverflow.com/schema#downvoteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .601<http://stackoverflow.com/tag/pcntl> <http://stackoverflow.com/schema#tagName> "pcntl"^^<http://www.w3.org/2001/XMLSchema#string> .602<http://stackoverflow.com/comment/140203051> <http://stackoverflow.com/schema#hasText> "Try to output the stderr `PHP_VERSION=$(php -r &#x27;echo PHP_VERSION;&#x27; 2&gt;&amp;1)`"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .603<http://stackoverflow.com/comment/140261124> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79533140> .604<http://stackoverflow.com/q/79517426> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140234646> .605<http://stackoverflow.com/tag/cacerts> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Tag> .606<http://stackoverflow.com/a/79452686> <http://stackoverflow.com/schema#downvoteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .607<http://stackoverflow.com/q/79530475> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140255825> .608<http://stackoverflow.com/tag/simple-machines-forum> <http://stackoverflow.com/schema#tagName> "simple-machines-forum"^^<http://www.w3.org/2001/XMLSchema#string> .609<http://stackoverflow.com/comment/140117327> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .610<http://stackoverflow.com/comment/140181639> <http://stackoverflow.com/schema#hasText> "One of the problems is when you explode with &#x27;} {&#x27;. this will remove most of the {&#x27;s, but the first and last items will still have the opening and closing {}&#x27;s."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .611<http://stackoverflow.com/q/79488174> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/oauth> .612<http://stackoverflow.com/comment/140121197> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .613<http://stackoverflow.com/q/79538690> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .614<http://stackoverflow.com/tag/wordpress> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79537550> .615<http://stackoverflow.com/comment/140270490> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .616<http://stackoverflow.com/comment/140250455> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnswerComment> .617<http://stackoverflow.com/q/79474809> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/filamentphp> .618<http://stackoverflow.com/comment/140268354> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .619<http://stackoverflow.com/q/79462522> <http://stackoverflow.com/schema#hasTitle> "Error with Nginx (ERR_TOO_MANY_REDIRECTS) in VPS Hostinger default config WordPress"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .620<http://stackoverflow.com/comment/140228344> <http://stackoverflow.com/schema#hasText> "@ADyson I&#x27;m not looking to rewrite, I&#x27;m looking to have only the code for what I need, not a million more lines of code that slow down my project. This is a platform for building news websites, so everything must be as easy as possible, as fast as possible, as secure as possible, and as up-to-date as possible."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .621<http://stackoverflow.com/comment/140158985> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .622<http://stackoverflow.com/comment/140159041> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .623<http://stackoverflow.com/a/79508540> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Answer> .624<http://stackoverflow.com/comment/140228251> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .625<http://stackoverflow.com/comment/140269028> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .626<http://stackoverflow.com/comment/140172231> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .627<http://stackoverflow.com/tag/laravel> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79505727> .628<http://stackoverflow.com/comment/140180456> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .629<http://stackoverflow.com/comment/140125871> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79454958> .630<http://stackoverflow.com/q/79477106> <http://stackoverflow.com/schema#downvoteCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .631<http://stackoverflow.com/q/79533464> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140260503> .632<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79489765> .633<http://stackoverflow.com/q/79500082> <http://stackoverflow.com/schema#hasTitle> "How can we block access to a website from HTTPS clients like Postman and cURL?"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .634<http://stackoverflow.com/q/79482510> <http://stackoverflow.com/schema#hasAnswer> <http://stackoverflow.com/a/79483000> .635<http://stackoverflow.com/comment/140119071> <http://stackoverflow.com/schema#hasText> "Please share your code?  I don&#x27;t see any"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .636<http://stackoverflow.com/comment/140184578> <http://stackoverflow.com/schema#hasText> "mykaf, plain URL is included, please refer to &quot;SMF forum&quot; link above."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .637<http://stackoverflow.com/a/79508066> <http://stackoverflow.com/schema#answersQuestion> <http://stackoverflow.com/q/79508037> .638<http://stackoverflow.com/comment/140092136> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/a/79435681> .639<http://stackoverflow.com/tag/twitter> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Tag> .640<http://stackoverflow.com/a/79433677> <http://stackoverflow.com/schema#answersQuestion> <http://stackoverflow.com/q/79433202> .641<http://stackoverflow.com/comment/140101791> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnswerComment> .642<http://stackoverflow.com/comment/140132690> <http://stackoverflow.com/schema#hasText> "Which version of PHP?"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .643<http://stackoverflow.com/q/79513082> <http://stackoverflow.com/schema#hasTitle> "Laravel Route Not Found (404) for POST request"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .644<http://stackoverflow.com/comment/140169747> <http://stackoverflow.com/schema#hasText> "This line `return pll_the_languages([&#x27;hide_current&#x27; =&gt; 1, &#x27;echo&#x27; =&gt; 0]);` does the magic. Thank you all."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .645<http://stackoverflow.com/comment/140176628> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .646<http://stackoverflow.com/comment/140220328> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79506047> .647<http://stackoverflow.com/comment/140176144> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .648<http://stackoverflow.com/q/79539316> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140270377> .649<http://stackoverflow.com/q/79493623> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .650<http://stackoverflow.com/comment/140266524> <http://stackoverflow.com/schema#hasText> "wild-guess: Have you tried adding an operator? `LiveProducts::where(&#x27;code&#x27;, &#x27;=&#x27;, $code)-&gt;first();` if you want directions on the upgrade to 11 feel free to reach out. It&#x27;s pretty straight forward, but there&#x27;s a couple nuances."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .651<http://stackoverflow.com/q/79440338> <http://stackoverflow.com/schema#answerCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .652<http://stackoverflow.com/q/79462751> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .653<http://stackoverflow.com/tag/reference> <http://stackoverflow.com/schema#tagName> "reference"^^<http://www.w3.org/2001/XMLSchema#string> .654<http://stackoverflow.com/comment/140228304> <http://stackoverflow.com/schema#hasText> "`I don&#x27;t want to use external packages because I don&#x27;t want to put any code that isn&#x27;t mine in my project`...but **why**? In the modern world that&#x27;s an unrealistic expectation I think, unless you actively _want_ to have to learn everything about every aspect or functionality a modern app might use - some of which is extremely complex, as you&#x27;re discovering. Leave it to the experts (especially stuff like security and encryption which is easy to screw up without even realising) - it&#x27;s not even like you&#x27;re paying for these packages, so money isn&#x27;t a motivation."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .655<http://stackoverflow.com/comment/140269710> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .656<http://stackoverflow.com/q/79533702> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .657<http://stackoverflow.com/comment/140180099> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .658<http://stackoverflow.com/comment/140256398> <http://stackoverflow.com/schema#score> "2"^^<http://www.w3.org/2001/XMLSchema#integer> .659<http://stackoverflow.com/comment/140253880> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .660<http://stackoverflow.com/a/79435681> <http://stackoverflow.com/schema#acceptedAnswerOf> <http://stackoverflow.com/q/79433051> .661<http://stackoverflow.com/q/79484749> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;I have a couple of pages that upload files to a database. I was on php 8.3 but had to downgrade to php 8.2 for Imagick. Before I could load up to 64MB files.\nI&#x27;m trying to upload a file of 2MB now with PHP 8.2.27 but it fails showing&lt;/p&gt;\n&lt;pre class=&quot;lang-php prettyprint-override&quot;&gt;&lt;code&gt;echo $_FILES[&#x27;userfile&#x27;][&#x27;error&#x27;] \n&lt;/code&gt;&lt;/pre&gt;\n&lt;pre&gt;&lt;code&gt;2\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;This means MAX_FILE_SIZE has been exceeded (see &lt;code&gt;UPLOAD_ERR_FORM_SIZE&lt;/code&gt; in &lt;a href=&quot;https://www.php.net/manual/en/filesystem.constants.php#constant.upload-err-cant-write&quot; rel=&quot;nofollow noreferrer&quot;&gt;PHP File Upload Constants&lt;/a&gt;)\n.&lt;/p&gt;\n&lt;p&gt;I don&#x27;t have MAX_FILE_SIZE set in my script.&lt;/p&gt;\n&lt;p&gt;In my php.ini I have&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;php_value post_max_size 128M\nphp_value upload_max_filesize 128M\nphp_value memory_limit = 128M\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;I don&#x27;t have an .htaccess file and the phpinfo() shows the same values as the php.ini plus the same path as the php.ini file I changed.&lt;/p&gt;\n&lt;p&gt;I have been at this for 2 days but to no avail and all answers come back to setting the values in PHP.ini, restart the services and check other files so the values are not overwritten. Still I can&#x27;t get it to work. Any guru vibes are welcome.&lt;/p&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .662<http://stackoverflow.com/comment/140102126> <http://stackoverflow.com/schema#hasText> "Let us [continue this discussion in chat](https://chat.stackoverflow.com/rooms/259207/discussion-between-razvan-zamfir-and-soneye-oluwasina)."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .663<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79451296> .664<http://stackoverflow.com/comment/140278684> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79544313> .665<http://stackoverflow.com/comment/140179245> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79484116> .666<http://stackoverflow.com/tag/doctrine-orm> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Tag> .667<http://stackoverflow.com/a/79485405> <http://stackoverflow.com/schema#answersQuestion> <http://stackoverflow.com/q/79475583> .668<http://stackoverflow.com/q/79540265> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/web> .669<http://stackoverflow.com/comment/140208512> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79503025> .670<http://stackoverflow.com/a/79485973> <http://stackoverflow.com/schema#answersQuestion> <http://stackoverflow.com/q/79484116> .671<http://stackoverflow.com/q/79498839> <http://stackoverflow.com/schema#hasAnswer> <http://stackoverflow.com/a/79499293> .672<http://stackoverflow.com/comment/140193283> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .673<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79493623> .674<http://stackoverflow.com/comment/140194315> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79494926> .675<http://stackoverflow.com/q/79464489> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .676<http://stackoverflow.com/comment/140260196> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .677<http://stackoverflow.com/q/79440167> <http://stackoverflow.com/schema#hasAnswer> <http://stackoverflow.com/a/79441591> .678<http://stackoverflow.com/q/79517056> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140233241> .679<http://stackoverflow.com/comment/140249337> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .680<http://stackoverflow.com/q/79433879> <http://stackoverflow.com/schema#answerCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .681<http://stackoverflow.com/q/79502094> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/arrays> .682<http://stackoverflow.com/q/79527908> <http://stackoverflow.com/schema#duplicateOf> <http://stackoverflow.com/q/7537377> .683<http://stackoverflow.com/comment/140171009> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .684<http://stackoverflow.com/q/79466210> <http://stackoverflow.com/schema#hasTitle> "Laravel route returning &quot;No response data for this request&quot; when accessing an image file"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .685<http://stackoverflow.com/q/79421724> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .686<http://stackoverflow.com/q/79510169> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .687<http://stackoverflow.com/q/79448448> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .688<http://stackoverflow.com/comment/140200485> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .689<http://stackoverflow.com/a/79515422> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .690<http://stackoverflow.com/comment/140149805> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79468736> .691<http://stackoverflow.com/q/79481483> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/laravel> .692<http://stackoverflow.com/comment/140276742> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .693<http://stackoverflow.com/tag/amazon-web-services> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79525320> .694<http://stackoverflow.com/comment/140082999> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .695<http://stackoverflow.com/tag/css> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79482869> .696<http://stackoverflow.com/comment/140283434> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .697<http://stackoverflow.com/a/79465588> <http://stackoverflow.com/schema#answersQuestion> <http://stackoverflow.com/q/79462877> .698<http://stackoverflow.com/a/79443812> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140105758> .699<http://stackoverflow.com/q/79439966> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;I&#x27;m using CodeIgniter 4 and having an issue with my model. I&#x27;m using first() and findAll() to retrieve data as objects or arrays, but for some functions, I get this error:&lt;/p&gt;\n&lt;blockquote&gt;\n&lt;p&gt;Unknown column &#x27;adresses_facturation.suppression&#x27; in &#x27;where clause&#x27;&lt;/p&gt;\n&lt;/blockquote&gt;\n&lt;p&gt;In my database, I have a column named suppression of type DATETIME.&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;public function getAdresse(int $idAdresse): ?object\n{\n    return $this-&amp;gt;where([&#x27;idFacturation&#x27; =&amp;gt; $idAdresse, &#x27;suppression&#x27; =&amp;gt; null])-&amp;gt;first();\n}\n\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;my model :&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;class AdressesFacturationModel extends Model\n{\n    protected $DBGroup = &#x27;default&#x27;;\n    protected $table = &#x27;adresses_facturation&#x27;; //Nom de la table\n    protected $primaryKey = &#x27;idFacturation&#x27;; //Clé primaire de la table\n    protected $useAutoIncrement = true;\n    protected $returnType = &#x27;object&#x27;; // ou array ou object\n    protected $useSoftDeletes = true;\n    protected $allowedFields = [\n        &#x27;idFacturation&#x27;,\n        &#x27;civilite&#x27;,\n        &#x27;nom&#x27;,\n        &#x27;prenom&#x27;,\n        &#x27;entreprise&#x27;,\n        &#x27;adresse&#x27;,\n        &#x27;complement&#x27;,\n        &#x27;postal&#x27;,\n        &#x27;ville&#x27;,\n        &#x27;telephone&#x27;,\n        &#x27;email&#x27;,\n        &#x27;idPays&#x27;,\n        &#x27;defaut&#x27;,\n        &#x27;utilisateurs_idUtilisateur&#x27;\n    ];\n    protected $useTimestamps = true;\n    protected $createdField = &#x27;creation&#x27;;\n    protected $updatedField = &#x27;modification&#x27;;\n    protected $deletedField = &#x27;suppression&#x27;;\n    protected $validationRules = [];\n    protected $validationMessages = [];\n    protected $skipValidation = false;\n    protected $dateFormat = &#x27;datetime&#x27;;\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;For now I have done as code :&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;    public function getAdresse(int $idAdresse): ?object\n    {\n        return $this-&amp;gt;where([&#x27;idFacturation&#x27; =&amp;gt; $idAdresse, &#x27;suppression&#x27; =&amp;gt; null])-&amp;gt;get()-&amp;gt;getRow();\n    }\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;but I would like to understand why I have the error with the first&lt;/p&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .700<http://stackoverflow.com/comment/140108459> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .701<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79513736> .702<http://stackoverflow.com/q/79541721> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .703<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79466882> .704<http://stackoverflow.com/comment/140227051> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .705<http://stackoverflow.com/a/79442096> <http://stackoverflow.com/schema#hasBody> "&lt;blockquote&gt;\n&lt;p&gt;Meanwhile, I tried with &lt;code&gt;static&lt;/code&gt; [instead of &lt;code&gt;: self&lt;/code&gt;] and it indeed works, why?&lt;/p&gt;\n&lt;/blockquote&gt;\n&lt;p&gt;This boils down in the PHP language (PhpStorm&#x27;s IntelliSense, better &lt;em&gt;Code completion&lt;/em&gt; tries to mimic it):&lt;/p&gt;\n&lt;p&gt;&lt;code&gt;self&lt;/code&gt; is the class itself, that is always &lt;em&gt;concrete&lt;/em&gt;:&lt;/p&gt;\n&lt;pre class=&quot;lang-php prettyprint-override&quot;&gt;&lt;code&gt;abstract class Transaction\n{\n    ...\n    public function setPaymentMethodId(?int $value): self \n    {\n        ...\n        return $this;\n    }\n}\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;When &lt;em&gt;chaining&lt;/em&gt;, the code completion resolves &lt;code&gt;self&lt;/code&gt; to &lt;code&gt;Transaction&lt;/code&gt;:&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;$invoice = (new Invoice)\n    -&amp;gt;setSubscription(...)\n    -&amp;gt;setPaymentMethodId(...) # resolves to Transaction\n    -&amp;gt;setDueDate(...); # Transaction has no such method\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;Now with &lt;code&gt;static&lt;/code&gt; this turns into what is called &lt;a href=&quot;https://www.php.net/manual/en/language.oop5.late-static-bindings.php&quot; rel=&quot;nofollow noreferrer&quot; title=&quot;PHP: Late Static Bindings - Manual (php.net)&quot;&gt;&lt;em&gt;Late Static Bindings&lt;/em&gt;&lt;/a&gt;.&lt;/p&gt;\n&lt;p&gt;Late means late (when it happens), and binding means to associate the &lt;em&gt;concrete&lt;/em&gt; class. As an abstract class cannot be instantiated, the class actually never is purely &lt;code&gt;self&lt;/code&gt; but one that extends from it and that is not abstract:&lt;/p&gt;\n&lt;pre class=&quot;lang-php prettyprint-override&quot;&gt;&lt;code&gt;class Invoice extends Transaction\n{\n    ...\n    public function setDueDate(?string $value): self\n    {\n        ...\n    }\n}\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;Again with the &lt;em&gt;chaining&lt;/em&gt; and &lt;code&gt;: static&lt;/code&gt; on &lt;em&gt;setPaymentMethodId()&lt;/em&gt;, the &lt;em&gt;concrete&lt;/em&gt; class &lt;em&gt;Invoice&lt;/em&gt; is being resolved for code completion:&lt;/p&gt;\n&lt;pre class=&quot;lang-php prettyprint-override&quot;&gt;&lt;code&gt;$invoice = (new Invoice)\n    -&amp;gt;setSubscription(...)\n    -&amp;gt;setPaymentMethodId(...) # resolves to Invoice\n    -&amp;gt;setDueDate(...); # Invoice has such a method\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;This to this point is just about &lt;code&gt;static&lt;/code&gt; vs. &lt;code&gt;self&lt;/code&gt; for the &lt;em&gt;late static binding&lt;/em&gt; in PHP.&lt;/p&gt;\n&lt;p&gt;Now what the IDE needs to do during chaining (as compared to individual &lt;em&gt;$object-&amp;gt;method()&lt;/em&gt; calls), is to resolve it one after the other in the chain. This adds complexity and my educated guess is, that the analyzer has a certain depth for which it resolves and if it sees &lt;code&gt;self&lt;/code&gt; it is reducing the overhead for a best quick result.&lt;/p&gt;\n&lt;p&gt;There are also other guess-mechanisms on special classes as they work like decorators (e.g. the traversable IteratorIterator) and if you hint towards generics (or as pointed out in the comment for &lt;em&gt;traits&lt;/em&gt;).&lt;/p&gt;\n&lt;p&gt;In general you can also benefit from using interfaces as they are easy to look-up both for the IDE and for PHP. You also go away from diverse abstract or non-abstract implementations (by making them pure abstract classes, known as interfaces in PHP).&lt;/p&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .706<http://stackoverflow.com/comment/140115885> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79449343> .707<http://stackoverflow.com/comment/140193115> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .708<http://stackoverflow.com/tag/swig> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79498464> .709<http://stackoverflow.com/comment/140133454> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .710<http://stackoverflow.com/tag/odbc> <http://stackoverflow.com/schema#tagName> "odbc"^^<http://www.w3.org/2001/XMLSchema#string> .711<http://stackoverflow.com/q/79510053> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .712<http://stackoverflow.com/q/79494259> <http://stackoverflow.com/schema#favoriteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .713<http://stackoverflow.com/comment/140171065> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .714<http://stackoverflow.com/comment/140135253> <http://stackoverflow.com/schema#hasText> "And fetchAll() sounds counter-intuitive if you are really concerned about memory."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .715<http://stackoverflow.com/a/79488235> <http://stackoverflow.com/schema#answersQuestion> <http://stackoverflow.com/q/79488174> .716<http://stackoverflow.com/comment/140241419> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .717<http://stackoverflow.com/a/79459713> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Answer> .718<http://stackoverflow.com/comment/140217605> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .719<http://stackoverflow.com/comment/140269790> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .720<http://stackoverflow.com/comment/140149259> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .721<http://stackoverflow.com/q/79497516> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;Is it enought to check whether user input conforms to an expected value, before I embed it into executed code? E.g.:&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;$fruits = array(\n    &amp;quot;Orange&amp;quot;,\n    &amp;quot;Banana&amp;quot;\n);\n\nif(isset($_GET[&#x27;fruit&#x27;]) &amp;amp;&amp;amp; in_array($_GET[&#x27;fruit&#x27;], $fruits)) {\n    // embed user input in HTML page:\n    echo $_GET[&#x27;fruit&#x27;];\n    // embed user input in shell command:\n    shell_exec(&amp;quot;script.sh $_GET[&#x27;fruit&#x27;]&amp;quot;);\n    // query database with user input:\n    mysqli_stmt_bind_param($stmt, &#x27;s&#x27;, $_GET[&#x27;fruit&#x27;]);\n}\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;Or do I need to escape it with &lt;code&gt;htmlspecialchars&lt;/code&gt;, &lt;code&gt;escapeshellcmd&lt;/code&gt; etc. before output anyway?&lt;/p&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .722<http://stackoverflow.com/q/79528042> <http://stackoverflow.com/schema#downvoteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .723<http://stackoverflow.com/q/79452546> <http://stackoverflow.com/schema#answerCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .724<http://stackoverflow.com/q/79487836> <http://stackoverflow.com/schema#downvoteCount> "4"^^<http://www.w3.org/2001/XMLSchema#integer> .725<http://stackoverflow.com/q/79489366> <http://stackoverflow.com/schema#answerCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .726<http://stackoverflow.com/tag/laravel-passport> <http://stackoverflow.com/schema#tagName> "laravel-passport"^^<http://www.w3.org/2001/XMLSchema#string> .727<http://stackoverflow.com/q/79501808> <http://stackoverflow.com/schema#downvoteCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .728<http://stackoverflow.com/comment/140118951> <http://stackoverflow.com/schema#hasText> "Why do you expect that large files (over 2GB) should be processed and returned?"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .729<http://stackoverflow.com/comment/140255798> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/a/79529700> .730<http://stackoverflow.com/a/79546501> <http://stackoverflow.com/schema#upvoteCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .731<http://stackoverflow.com/comment/140279738> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnswerComment> .732<http://stackoverflow.com/comment/140116828> <http://stackoverflow.com/schema#hasText> "Use convert.php, it&#x27;s the one I am tying to fix before I convert code to reusable functions."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .733<http://stackoverflow.com/q/79497681> <http://stackoverflow.com/schema#answerCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .734<http://stackoverflow.com/comment/140269705> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .735<http://stackoverflow.com/q/79486932> <http://stackoverflow.com/schema#favoriteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .736<http://stackoverflow.com/q/79463674> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .737<http://stackoverflow.com/q/79496462> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .738<http://stackoverflow.com/q/79472286> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140155865> .739<http://stackoverflow.com/comment/140280175> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .740<http://stackoverflow.com/q/79497180> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .741<http://stackoverflow.com/tag/html> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79487868> .742<http://stackoverflow.com/comment/140193591> <http://stackoverflow.com/schema#hasText> "I can&#x27;t reproduce your problem https://i.sstatic.net/gQ7CVwIz.png"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .743<http://stackoverflow.com/comment/140246753> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .744<http://stackoverflow.com/tag/session-cookies> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Tag> .745<http://stackoverflow.com/q/79494284> <http://stackoverflow.com/schema#score> "-1"^^<http://www.w3.org/2001/XMLSchema#integer> .746<http://stackoverflow.com/q/79472832> <http://stackoverflow.com/schema#favoriteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .747<http://stackoverflow.com/q/79494259> <http://stackoverflow.com/schema#hasAnswer> <http://stackoverflow.com/a/79494792> .748<http://stackoverflow.com/tag/laravel-middleware> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79500082> .749<http://stackoverflow.com/q/79524342> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/laravel> .750<http://stackoverflow.com/q/79497152> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .751<http://stackoverflow.com/a/79469034> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .752<http://stackoverflow.com/tag/debugging> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79527748> .753<http://stackoverflow.com/q/79543892> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .754<http://stackoverflow.com/tag/variable-assignment> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79533256> .755<http://stackoverflow.com/comment/140278579> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .756<http://stackoverflow.com/comment/140264105> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .757<http://stackoverflow.com/comment/140217581> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .758<http://stackoverflow.com/q/79484749> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140180614> .759<http://stackoverflow.com/q/79440078> <http://stackoverflow.com/schema#favoriteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .760<http://stackoverflow.com/q/79462551> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/xml-parsing> .761<http://stackoverflow.com/a/79446486> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .762<http://stackoverflow.com/q/79452219> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .763<http://stackoverflow.com/comment/140241775> <http://stackoverflow.com/schema#hasText> "Updated the question title."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .764<http://stackoverflow.com/comment/140233975> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .765<http://stackoverflow.com/q/79546223> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140282389> .766<http://stackoverflow.com/tag/laravel-11> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Tag> .767<http://stackoverflow.com/q/79527171> <http://stackoverflow.com/schema#answerCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .768<http://stackoverflow.com/comment/140173045> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79482020> .769<http://stackoverflow.com/comment/140279735> <http://stackoverflow.com/schema#hasText> "@mrmcwolf *&quot;not exactly, the prepared query will be cached by the server, which can improve performance&quot;* Only if executed several times on the same connection, which is very unlikely here."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .770<http://stackoverflow.com/tag/heartbeat> <http://stackoverflow.com/schema#tagName> "heartbeat"^^<http://www.w3.org/2001/XMLSchema#string> .771<http://stackoverflow.com/q/79494259> <http://stackoverflow.com/schema#possibleBetterAnswer> <http://stackoverflow.com/a/79494370> .772<http://stackoverflow.com/comment/140276417> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79542553> .773<http://stackoverflow.com/comment/140086954> <http://stackoverflow.com/schema#hasText> "If your application created that folder then you can use drve.file if it was created outside your application then you cant access it with that scope"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .774<http://stackoverflow.com/comment/140165783> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/a/79477670> .775<http://stackoverflow.com/q/79534344> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;I manage an old Wordpress Multisite Network (there are 5 sites) and I want to update WP core (from 6.6.2 to 6.7.2), themes and plugins.\nFirst step: update obsolete php version 7.3\nIf I update php from 7.3 to 7.4, the main site detect the new version but other 4 sites detect 7.3.\nThe .htaccess file is standard (like WP declares) and there is only one .htaccess.\nI try to add this code to htaccess to force WP:&lt;/p&gt;\n&lt;p&gt;&lt;code&gt;&amp;lt;IfModule mod_rewrite.c&amp;gt; AddHandler application/x-httpd-ea-php74 .php .php7 .phtml RewriteEngine On &amp;lt;/IfModule&amp;gt;&lt;/code&gt;&lt;/p&gt;\n&lt;p&gt;but doesn&#x27;t work.\nI don&#x27;t understand where is the problem.\nSomebody can tell me why?&lt;/p&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .776<http://stackoverflow.com/q/79493865> <http://stackoverflow.com/schema#acceptedAnswer> <http://stackoverflow.com/a/79495089> .777<http://stackoverflow.com/comment/140127540> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnswerComment> .778<http://stackoverflow.com/comment/140088723> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79433796> .779<http://stackoverflow.com/q/79444101> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#UnansweredQuestion> .780<http://stackoverflow.com/comment/140221710> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .781<http://stackoverflow.com/comment/140121323> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .782<http://stackoverflow.com/comment/140222910> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .783<http://stackoverflow.com/comment/140068815> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .784<http://stackoverflow.com/q/79498421> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;I have a component using Laravel + livewire. I&#x27;m newbie in this but I get an example from&lt;br /&gt;\n&lt;a href=&quot;https://diarioprogramador.com/crear-crud-con-laravel-8-y-livewire/&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://diarioprogramador.com/crear-crud-con-laravel-8-y-livewire/&lt;/a&gt;&lt;/p&gt;\n&lt;p&gt;When I execute php artisan serve I get this error&amp;gt;&lt;/p&gt;\n&lt;p&gt;Livewire\\Exceptions\\ComponentNotFoundException\nUnable to find component: [Productos]\nGET 127.0.0.1:8000\nPHP 8.2.12 — Laravel 12.1.1&lt;/p&gt;\n&lt;p&gt;Last reference to my source is : resources\\views\\welcome.blade.php\nLine 278:&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;    &amp;lt;div class=&amp;quot;container mx-auto p-4&amp;quot;&amp;gt;\n\n    @livewire(&#x27;Productos&#x27;)\n\n    &amp;lt;/div&amp;gt;\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;I have tried making again  (php artisan make:livewire productos), ensure livewire is installed (composer require livewire/livewire), cleaning cache and migrate (php artisan optimize:clear &amp;amp; php artisan migrate), adding to app.blade.php the annotations (@livewireStyles @livewireScripts), check if component is added in view (@livewire(&#x27;productos&#x27;)), restarting server and project, changing the name of component &#x27;productos&#x27; to &#x27;Productos&#x27; and the error remains. AI also doesn&#x27;t help.&lt;/p&gt;\n&lt;p&gt;This is my Controller (app/Http/Controllers/ProductoController.php):&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;&amp;lt;?php\n\nnamespace App\\Http\\Controllers;\n\nuse Illuminate\\Http\\Request;\nuse App\\Services\\ProductoService;\n\nclass ProductoController extends Controller\n{\n    protected $productoService;\n\n    public function __construct(ProductoService $productoService)\n    {\n        $this-&amp;gt;productoService = $productoService;\n    }\n\n    public function store(Request $request)\n    {\n        $status = $this-&amp;gt;productoService-&amp;gt;insertarProducto($request-&amp;gt;all());\n        return response()-&amp;gt;json([&#x27;success&#x27; =&amp;gt; $status == 1]);\n    }\n\n    public function update(Request $request, $id)\n    {\n        $status = $this-&amp;gt;productoService-&amp;gt;actualizarProducto($id, $request-&amp;gt;all());\n        return response()-&amp;gt;json([&#x27;success&#x27; =&amp;gt; $status == 1]);\n    }\n\n    public function show($id)\n    {\n        return response()-&amp;gt;json($this-&amp;gt;productoService-&amp;gt;obtenerProducto($id));\n    }\n\n    public function destroy($id)\n    {\n        $status = $this-&amp;gt;productoService-&amp;gt;borrarProducto($id);\n        return response()-&amp;gt;json([&#x27;success&#x27; =&amp;gt; $status == 1]);\n    }\n}\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;The livewire class (app/Livewire/Productos.php):&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;    &amp;lt;?php\n\n    namespace App\\Http\\Livewire;\n\n    use Livewire\\Component;\n    use Illuminate\\Support\\Facades\\DB;\n\n    class Productos extends Component\n    {\n        public $productos, $producto_id, $nombre, $descripcion, $precio;\n\n        public function render()\n        {\n            $this-&amp;gt;productos = DB::select(&amp;quot;CALL obtenerTodosLosProductos()&amp;quot;);\n            return view(&#x27;livewire.productos&#x27;);\n        }\n\n        public function guardarProducto()\n        {\n            if ($this-&amp;gt;producto_id) {\n                DB::statement(&amp;quot;CALL actualizarProducto(?, ?, ?, ?, @p_status)&amp;quot;, \n                    [$this-&amp;gt;producto_id, $this-&amp;gt;nombre, $this-&amp;gt;descripcion, $this-&amp;gt;precio]);\n            } else {\n                DB::statement(&amp;quot;CALL insertarProducto(?, ?, ?, @p_status)&amp;quot;, \n                    [$this-&amp;gt;nombre, $this-&amp;gt;descripcion, $this-&amp;gt;precio]);\n            }\n\n            $this-&amp;gt;resetCampos();\n        }\n\n        public function editarProducto($id)\n        {\n            $producto = DB::select(&amp;quot;CALL obtenerProducto(?)&amp;quot;, [$id])[0];\n            $this-&amp;gt;producto_id = $producto-&amp;gt;id;\n            $this-&amp;gt;nombre = $producto-&amp;gt;nombre;\n            $this-&amp;gt;descripcion = $producto-&amp;gt;descripcion;\n            $this-&amp;gt;precio = $producto-&amp;gt;precio;\n        }\n\n        public function eliminarProducto($id)\n        {\n            DB::statement(&amp;quot;CALL borrarProducto(?, @p_status)&amp;quot;, [$id]);\n        }\n\n        public function cancelarEdicion()\n        {\n            $this-&amp;gt;resetCampos();\n        }\n\n        private function resetCampos()\n        {\n            $this-&amp;gt;producto_id = null;\n            $this-&amp;gt;nombre = &#x27;&#x27;;\n            $this-&amp;gt;descripcion = &#x27;&#x27;;\n            $this-&amp;gt;precio = &#x27;&#x27;;\n        }\n    }\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;My view (resources/views/livewire/productos.blade.php):&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;    &amp;lt;div&amp;gt;\n        &amp;lt;h2 class=&amp;quot;text-2xl font-bold mb-4&amp;quot;&amp;gt;Gestión de Productos&amp;lt;/h2&amp;gt;\n\n        {{-- Formulario para agregar y editar productos --}}\n        &amp;lt;form wire:submit.prevent=&amp;quot;guardarProducto&amp;quot;&amp;gt;\n            &amp;lt;div class=&amp;quot;mb-2&amp;quot;&amp;gt;\n                &amp;lt;label class=&amp;quot;block text-gray-700&amp;quot;&amp;gt;Nombre:&amp;lt;/label&amp;gt;\n                &amp;lt;input type=&amp;quot;text&amp;quot; wire:model=&amp;quot;nombre&amp;quot; class=&amp;quot;w-full p-2 border rounded&amp;quot;&amp;gt;\n            &amp;lt;/div&amp;gt;\n\n            &amp;lt;div class=&amp;quot;mb-2&amp;quot;&amp;gt;\n                &amp;lt;label class=&amp;quot;block text-gray-700&amp;quot;&amp;gt;Descripción:&amp;lt;/label&amp;gt;\n                &amp;lt;textarea wire:model=&amp;quot;descripcion&amp;quot; class=&amp;quot;w-full p-2 border rounded&amp;quot;&amp;gt;&amp;lt;/textarea&amp;gt;\n            &amp;lt;/div&amp;gt;\n\n            &amp;lt;div class=&amp;quot;mb-2&amp;quot;&amp;gt;\n                &amp;lt;label class=&amp;quot;block text-gray-700&amp;quot;&amp;gt;Precio:&amp;lt;/label&amp;gt;\n                &amp;lt;input type=&amp;quot;number&amp;quot; step=&amp;quot;0.01&amp;quot; wire:model=&amp;quot;precio&amp;quot; class=&amp;quot;w-full p-2 border rounded&amp;quot;&amp;gt;\n            &amp;lt;/div&amp;gt;\n\n            &amp;lt;button type=&amp;quot;submit&amp;quot; class=&amp;quot;bg-blue-500 text-white p-2 rounded&amp;quot;&amp;gt;\n                {{ $producto_id ? &#x27;Actualizar Producto&#x27; : &#x27;Agregar Producto&#x27; }}\n            &amp;lt;/button&amp;gt;\n\n            @if($producto_id)\n                &amp;lt;button type=&amp;quot;button&amp;quot; wire:click=&amp;quot;cancelarEdicion&amp;quot; class=&amp;quot;bg-gray-500 text-white p-2 rounded ml-2&amp;quot;&amp;gt;\n                    Cancelar\n                &amp;lt;/button&amp;gt;\n            @endif\n        &amp;lt;/form&amp;gt;\n\n        {{-- Tabla de productos --}}\n        &amp;lt;table class=&amp;quot;table-auto w-full mt-4 border-collapse border border-gray-200&amp;quot;&amp;gt;\n            &amp;lt;thead&amp;gt;\n                &amp;lt;tr class=&amp;quot;bg-gray-100&amp;quot;&amp;gt;\n                    &amp;lt;th class=&amp;quot;border p-2&amp;quot;&amp;gt;ID&amp;lt;/th&amp;gt;\n                    &amp;lt;th class=&amp;quot;border p-2&amp;quot;&amp;gt;Nombre&amp;lt;/th&amp;gt;\n                    &amp;lt;th class=&amp;quot;border p-2&amp;quot;&amp;gt;Descripción&amp;lt;/th&amp;gt;\n                    &amp;lt;th class=&amp;quot;border p-2&amp;quot;&amp;gt;Precio&amp;lt;/th&amp;gt;\n                    &amp;lt;th class=&amp;quot;border p-2&amp;quot;&amp;gt;Acciones&amp;lt;/th&amp;gt;\n                &amp;lt;/tr&amp;gt;\n            &amp;lt;/thead&amp;gt;\n            &amp;lt;tbody&amp;gt;\n                @foreach($productos as $producto)\n                    &amp;lt;tr&amp;gt;\n                        &amp;lt;td class=&amp;quot;border p-2&amp;quot;&amp;gt;{{ $producto-&amp;gt;id }}&amp;lt;/td&amp;gt;\n                        &amp;lt;td class=&amp;quot;border p-2&amp;quot;&amp;gt;{{ $producto-&amp;gt;nombre }}&amp;lt;/td&amp;gt;\n                        &amp;lt;td class=&amp;quot;border p-2&amp;quot;&amp;gt;{{ $producto-&amp;gt;descripcion }}&amp;lt;/td&amp;gt;\n                        &amp;lt;td class=&amp;quot;border p-2&amp;quot;&amp;gt;${{ number_format($producto-&amp;gt;precio, 2) }}&amp;lt;/td&amp;gt;\n                        &amp;lt;td class=&amp;quot;border p-2&amp;quot;&amp;gt;\n                            &amp;lt;button wire:click=&amp;quot;editarProducto({{ $producto-&amp;gt;id }})&amp;quot; class=&amp;quot;bg-yellow-500 text-white p-1 rounded&amp;quot;&amp;gt;\n                                Editar\n                            &amp;lt;/button&amp;gt;\n                            &amp;lt;button wire:click=&amp;quot;eliminarProducto({{ $producto-&amp;gt;id }})&amp;quot; class=&amp;quot;bg-red-500 text-white p-1 rounded&amp;quot;&amp;gt;\n                                Eliminar\n                            &amp;lt;/button&amp;gt;\n                        &amp;lt;/td&amp;gt;\n                    &amp;lt;/tr&amp;gt;\n                @endforeach\n            &amp;lt;/tbody&amp;gt;\n        &amp;lt;/table&amp;gt;\n    &amp;lt;/div&amp;gt;\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;And the welcome view (resources/views/welcome.blade.php):&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;        ...\n            @livewireStyles\n        @livewireScripts\n        &amp;lt;/body&amp;gt;\n        &amp;lt;/html&amp;gt;\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;Another way I did:&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;        @if (Route::has(&#x27;login&#x27;))\n            &amp;lt;div class=&amp;quot;h-14.5 hidden lg:block&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;\n            &amp;lt;div class=&amp;quot;container mx-auto p-4&amp;quot;&amp;gt;\n                @livewire(&#x27;productos&#x27;)\n            &amp;lt;/div&amp;gt;\n        @endif\n\n        @livewireScripts\n    &amp;lt;/body&amp;gt;\n&lt;/code&gt;&lt;/pre&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .785<http://stackoverflow.com/comment/140250742> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .786<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79527282> .787<http://stackoverflow.com/comment/140206734> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .788<http://stackoverflow.com/a/79508540> <http://stackoverflow.com/schema#downvoteCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .789<http://stackoverflow.com/tag/loops> <http://stackoverflow.com/schema#tagName> "loops"^^<http://www.w3.org/2001/XMLSchema#string> .790<http://stackoverflow.com/q/79435208> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .791<http://stackoverflow.com/comment/140173787> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79482422> .792<http://stackoverflow.com/comment/140161248> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79475427> .793<http://stackoverflow.com/comment/140228065> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .794<http://stackoverflow.com/tag/php-8> <http://stackoverflow.com/schema#tagName> "php-8"^^<http://www.w3.org/2001/XMLSchema#string> .795<http://stackoverflow.com/q/79450610> <http://stackoverflow.com/schema#hasTitle> "Laravel app slows down on select pages after PHP 8 upgrade (VPS with Webmin)"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .796<http://stackoverflow.com/a/79512997> <http://stackoverflow.com/schema#upvoteCount> "2"^^<http://www.w3.org/2001/XMLSchema#integer> .797<http://stackoverflow.com/q/79540805> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .798<http://stackoverflow.com/comment/140081712> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79429592> .799<http://stackoverflow.com/tag/php-gd> <http://stackoverflow.com/schema#tagName> "php-gd"^^<http://www.w3.org/2001/XMLSchema#string> .800<http://stackoverflow.com/q/79473499> <http://stackoverflow.com/schema#upvoteCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .801<http://stackoverflow.com/q/79448464> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .802<http://stackoverflow.com/comment/140250163> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .803<http://stackoverflow.com/q/79492360> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .804<http://stackoverflow.com/comment/140105690> <http://stackoverflow.com/schema#hasText> "ah it&#x27;s probably tcsh"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .805<http://stackoverflow.com/comment/140248334> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnswerComment> .806<http://stackoverflow.com/comment/140177198> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .807<http://stackoverflow.com/q/79513656> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140227700> .808<http://stackoverflow.com/comment/140198091> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79497062> .809<http://stackoverflow.com/comment/140264918> <http://stackoverflow.com/schema#hasText> "Probably your version of Laravel is incompatible with your version of PHP. Check the Laravel documentation for the version you&#x27;re running, to see what PHP version(s) it works with. See the duplicate question for more details too. In future, google your error messages first. See also [ask] for further guidance on asking a useful question on Stackoverflow (including doing the appropriate amount of research before posting, thus avoiding unnecessary duplication). Thanks"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .810<http://stackoverflow.com/q/79431274> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140086777> .811<http://stackoverflow.com/q/79541982> <http://stackoverflow.com/schema#downvoteCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .812<http://stackoverflow.com/q/79459671> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140133702> .813<http://stackoverflow.com/comment/140222846> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .814<http://stackoverflow.com/comment/140118148> <http://stackoverflow.com/schema#hasText> "Okay, you ask about some PHP code and mention briefly HTTP, but what you are actually having a problem with is configuring nginx because you want it, but you don&#x27;t need it, as you have a working Apache setup. Sorry, I&#x27;m out then, this is out of scope of SO which is about programming and you&#x27;re looking for assistance while getting started with Nginx. I&#x27;d suggest you look for some community resources in the Laragon community because what you comment seems to be similar miles far-away like you asked your question."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .815<http://stackoverflow.com/q/79529716> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#UnansweredQuestion> .816<http://stackoverflow.com/comment/140256862> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .817<http://stackoverflow.com/comment/140154594> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79466426> .818<http://stackoverflow.com/comment/140212296> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .819<http://stackoverflow.com/a/79505742> <http://stackoverflow.com/schema#downvoteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .820<http://stackoverflow.com/q/79479124> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .821<http://stackoverflow.com/q/79472657> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .822<http://stackoverflow.com/comment/140091044> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .823<http://stackoverflow.com/a/79423300> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140073222> .824<http://stackoverflow.com/comment/140186105> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .825<http://stackoverflow.com/comment/140266363> <http://stackoverflow.com/schema#hasText> "Tabula doesn&#x27;t have an option to extract colour. Doesn&#x27;t need to be Tabula, any other packages I could use will be helpful too."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .826<http://stackoverflow.com/q/79513736> <http://stackoverflow.com/schema#answerCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .827<http://stackoverflow.com/comment/140268672> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .828<http://stackoverflow.com/comment/140087040> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .829<http://stackoverflow.com/comment/140180895> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/a/79486524> .830<http://stackoverflow.com/comment/140146561> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79466310> .831<http://stackoverflow.com/comment/140210505> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .832<http://stackoverflow.com/comment/140247203> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79525450> .833<http://stackoverflow.com/q/79527798> <http://stackoverflow.com/schema#hasAnswer> <http://stackoverflow.com/a/79527896> .834<http://stackoverflow.com/comment/140105738> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/a/79443812> .835<http://stackoverflow.com/q/79509449> <http://stackoverflow.com/schema#answerCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .836<http://stackoverflow.com/comment/140255798> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .837<http://stackoverflow.com/comment/140105695> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79443558> .838<http://stackoverflow.com/a/79521409> <http://stackoverflow.com/schema#answersQuestion> <http://stackoverflow.com/q/79521365> .839<http://stackoverflow.com/comment/140069440> <http://stackoverflow.com/schema#hasText> "[That&#x27;s correct](https://stackoverflow.com/q/79423259/15167500#comment140069433_79423259). For testing, extract the generated hash without storing it, and then compare it with the stored value. You can also paste it into the following small playground; the verify function should work fine: [`password_verify()` playground](https://onlinephp.io/c/51c82)"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .840<http://stackoverflow.com/a/79443451> <http://stackoverflow.com/schema#upvoteCount> "2"^^<http://www.w3.org/2001/XMLSchema#integer> .841<http://stackoverflow.com/q/79482020> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140173045> .842<http://stackoverflow.com/a/79486524> <http://stackoverflow.com/schema#downvoteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .843<http://stackoverflow.com/q/79501588> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;I am working on a &lt;strong&gt;blogging application&lt;/strong&gt; (link to GitHub repo) in Laravel 8.&lt;/p&gt;\n&lt;p&gt;I have put together a way to add and edit tags to articles.&lt;/p&gt;\n&lt;p&gt;&lt;a href=&quot;https://i.sstatic.net/369OtKlD.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;&lt;img src=&quot;https://i.sstatic.net/369OtKlD.png&quot; alt=&quot;enter image description here&quot; /&gt;&lt;/a&gt;&lt;/p&gt;\n&lt;p&gt;I ran into a bug whose cause and solution I have been unable to find: updating the article&#x27;s list of tags fails after one or more (but not all) tags are deleted. By contrast, if I only &lt;em&gt;select&lt;/em&gt; new tags, the update operation works fine.&lt;/p&gt;\n&lt;p&gt;In the ArticleController controller, I have the below methods for editing and updating an article:&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;public function edit($id)\n  {\n    $article = Article::find($id);\n    $attached_tags = $article-&amp;gt;tags()-&amp;gt;get()-&amp;gt;pluck(&#x27;id&#x27;)-&amp;gt;toArray();\n    \n    return view(\n      &#x27;dashboard/edit-article&#x27;,\n      [\n        &#x27;categories&#x27; =&amp;gt; $this-&amp;gt;categories(),\n        &#x27;tags&#x27; =&amp;gt; $this-&amp;gt;tags(),\n        &#x27;attached_tags&#x27; =&amp;gt; $attached_tags,\n        &#x27;article&#x27; =&amp;gt; $article\n      ]\n    );\n  }\n\n  public function update(Request $request, $id)\n  {\n    $validator = Validator::make($request-&amp;gt;all(), $this-&amp;gt;rules, $this-&amp;gt;messages);\n\n    if ($validator-&amp;gt;fails()) {\n      return redirect()-&amp;gt;back()-&amp;gt;withErrors($validator-&amp;gt;errors())-&amp;gt;withInput();\n    }\n\n    $fields = $validator-&amp;gt;validated();\n    $article = Article::find($id);\n\n    // If a new image is uploaded, set it as the article image\n    // Otherwise, set the old image...\n    if (isset($request-&amp;gt;image)) {\n      $imageName = md5(time()) . Auth::user()-&amp;gt;id . &#x27;.&#x27; . $request-&amp;gt;image-&amp;gt;extension();\n      $request-&amp;gt;image-&amp;gt;move(public_path(&#x27;images/articles&#x27;), $imageName);\n    } else {\n      $imageName = $article-&amp;gt;image;\n    }\n\n    $article-&amp;gt;title = $request-&amp;gt;get(&#x27;title&#x27;);\n    $article-&amp;gt;short_description = $request-&amp;gt;get(&#x27;short_description&#x27;);\n    $article-&amp;gt;category_id = $request-&amp;gt;get(&#x27;category_id&#x27;);\n    $article-&amp;gt;featured = $request-&amp;gt;has(&#x27;featured&#x27;);\n    $article-&amp;gt;image = $request-&amp;gt;get(&#x27;image&#x27;) == &#x27;default.jpg&#x27; ? &#x27;default.jpg&#x27; : $imageName;\n    $article-&amp;gt;content = $request-&amp;gt;get(&#x27;content&#x27;);\n    // Save changes to the article\n    $article-&amp;gt;save();\n\n    //Attach tags to article\n    if ($request-&amp;gt;has(&#x27;tags&#x27;)) {\n      $article-&amp;gt;tags()-&amp;gt;sync($request-&amp;gt;tags);\n    } else {\n        $article-&amp;gt;tags()-&amp;gt;sync([]);\n    }\n\n    return redirect()-&amp;gt;route(&#x27;dashboard.articles&#x27;)-&amp;gt;with(&#x27;success&#x27;, &#x27;The article titled &amp;quot;&#x27; . $article-&amp;gt;title . &#x27;&amp;quot; was updated&#x27;);\n  } \n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;In &lt;code&gt;views\\dashboard\\edit-article.blade.php&lt;/code&gt; I have this code got the pat of the interface that deals with the tags:&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&amp;quot;row mb-2&amp;quot;&amp;gt;\n  &amp;lt;label for=&amp;quot;tags&amp;quot; class=&amp;quot;col-md-12&amp;quot;&amp;gt;{{ __(&#x27;Tags&#x27;) }}&amp;lt;/label&amp;gt;\n\n  &amp;lt;div class=&amp;quot;position-relative&amp;quot;&amp;gt;\n      &amp;lt;span id=&amp;quot;tagSelectorToggler&amp;quot; class=&amp;quot;tag-toggler&amp;quot; onclick=&amp;quot;toggleTagSelector(event)&amp;quot;&amp;gt;\n          &amp;lt;i class=&amp;quot;fas fa-chevron-up&amp;quot;&amp;gt;&amp;lt;/i&amp;gt;\n      &amp;lt;/span&amp;gt;\n      &amp;lt;ul id=&amp;quot;tagsList&amp;quot; class=&amp;quot;form-control tags-list mb-1&amp;quot; onclick=&amp;quot;toggleTagSelector(event)&amp;quot;&amp;gt;\n          &amp;lt;li class=&amp;quot;text-muted&amp;quot;&amp;gt;\n              Use [Ctrl] + [Click] to select one or more tags from the list\n          &amp;lt;/li&amp;gt;\n      &amp;lt;/ul&amp;gt;\n  &amp;lt;/div&amp;gt;\n\n  &amp;lt;div id=&amp;quot;tagActions&amp;quot; class=&amp;quot;tag-actions&amp;quot;&amp;gt;\n      &amp;lt;input oninput=&amp;quot;filterTags(event)&amp;quot; type=&amp;quot;search&amp;quot; class=&amp;quot;form-control mb-1&amp;quot;\n          placeholder=&amp;quot;Filter available tags&amp;quot; /&amp;gt;\n\n      @php $selectedTags = old(&#x27;tags&#x27;, $attached_tags) @endphp\n\n      &amp;lt;select name=&amp;quot;tags[]&amp;quot; id=&amp;quot;tags&amp;quot; class=&amp;quot;form-control tag-select&amp;quot; multiple&amp;gt;\n          @foreach ($tags as $tag)\n              &amp;lt;option value=&amp;quot;{{ $tag-&amp;gt;id }}&amp;quot;\n                  {{ in_array($tag-&amp;gt;id, $selectedTags) ? &#x27;selected&#x27; : &#x27;&#x27; }}&amp;gt;\n                  {{ $tag-&amp;gt;name }}\n              &amp;lt;/option&amp;gt;\n          @endforeach\n      &amp;lt;/select&amp;gt;\n  &amp;lt;/div&amp;gt;\n&amp;lt;/div&amp;gt;\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;In &lt;code&gt;resources\\js\\tags.js&lt;/code&gt;, I have:&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;const tagsList = document.querySelector(&amp;quot;.tags-list&amp;quot;)\nconst tagActions = document.getElementById(&amp;quot;tagActions&amp;quot;)\nconst tagSelector = document.getElementById(&amp;quot;tags&amp;quot;)\nconst tagToggler = document.getElementById(&amp;quot;tagSelectorToggler&amp;quot;)\nif (tagSelector) {\n  var preSelectedTags = Array.from(tagSelector.options)\n    .filter((option) =&amp;gt; option.selected)\n    .map((option) =&amp;gt; option.text)\n  var selectedTags = new Set()\n}\n\nwindow.filterTags = (event) =&amp;gt; {\n  var query = event.target.value\n  var availableTags = Array.from(tagSelector.options)\n\n  availableTags.forEach(function (option) {\n    if (!option.text.toLowerCase().includes(query.toLowerCase())) {\n      option.classList.add(&amp;quot;d-none&amp;quot;)\n    } else {\n      option.classList.remove(&amp;quot;d-none&amp;quot;)\n    }\n  })\n}\n\nwindow.toggleTagSelector = (event) =&amp;gt; {\n  let tagActionsVisibility = tagActions.checkVisibility()\n  if (event.target.tagName !== &amp;quot;BUTTON&amp;quot; &amp;amp;&amp;amp; event.target.tagName !== &amp;quot;SPAN&amp;quot;) {\n    if (tagActionsVisibility) {\n      tagActions.style.display = &amp;quot;none&amp;quot;\n      tagToggler.classList.add(&amp;quot;active&amp;quot;)\n    } else {\n      tagActions.style.display = &amp;quot;block&amp;quot;\n      tagToggler.classList.remove(&amp;quot;active&amp;quot;)\n    }\n  }\n}\n\nwindow.renderTags = () =&amp;gt; {\n  tagsList.innerHTML =\n    [...selectedTags]\n      .sort()\n      .map(\n        (tag) =&amp;gt;\n          `&amp;lt;li class=&amp;quot;tag&amp;quot;\n            &amp;gt;&amp;lt;span class=&amp;quot;value&amp;quot;&amp;gt;${tag}&amp;lt;/span&amp;gt;\n            &amp;lt;button&amp;gt;&amp;amp;times;&amp;lt;/button&amp;gt;\n         &amp;lt;/li&amp;gt;`,\n      )\n      .join(&amp;quot;&amp;quot;) ||\n    `&amp;lt;li class=&amp;quot;text-muted&amp;quot;&amp;gt;Use [Ctrl] + [Click] to select one or more tags from the list&amp;lt;/li&amp;gt;`\n  for (const option of tagSelector.options) {\n    option.selected = selectedTags.has(option.textContent)\n  }\n}\n\nif (preSelectedTags) {\n  window.addPreselectedTags = () =&amp;gt; {\n    preSelectedTags.forEach(selectedTags.add.bind(selectedTags))\n    renderTags()\n  }\n}\n\nif (tagsList) {\n  tagsList.addEventListener(&amp;quot;click&amp;quot;, function (event) {\n    if (event.target.tagName !== &amp;quot;BUTTON&amp;quot;) return\n    let tagToRemove = event.target.closest(&amp;quot;LI&amp;quot;).children[0].textContent\n    let optionToDeselect = Array.from(tagSelector.options).find((option) =&amp;gt; {\n      return option.innerText == tagToRemove\n    })\n    optionToDeselect.removeAttribute(&#x27;selected&#x27;)\n    selectedTags.delete(tagToRemove)\n    console.log(selectedTags);  \n    renderTags()\n  })\n}\n\nif (tagSelector) {\n  tagSelector.addEventListener(&amp;quot;change&amp;quot;, function () {\n    selectedTags = new Set(\n      Array.from(tagSelector.options)\n        .filter((option) =&amp;gt; option.selected)\n        .map((option) =&amp;gt; option.textContent),\n    )\n    renderTags()\n    console.log(selectedTags);\n  })\n}\n\nif (tagSelector) {\n  window.addPreselectedTags();\n}\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;If I click a tag&#x27;s close button and then update the article, it loses &lt;em&gt;all&lt;/em&gt; the tags (not only the deleted one).&lt;/p&gt;\n&lt;p&gt;There is a working fiddle &lt;strong&gt;&lt;a href=&quot;https://jsfiddle.net/Ajax30/2ugeyLzv/&quot; rel=&quot;nofollow noreferrer&quot;&gt;HERE&lt;/a&gt;&lt;/strong&gt;, with JavaScript and HTML.&lt;/p&gt;\n&lt;p&gt;Where is my mistake?&lt;/p&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .844<http://stackoverflow.com/comment/140193688> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnswerComment> .845<http://stackoverflow.com/tag/routes> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79539489> .846<http://stackoverflow.com/tag/deployment> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Tag> .847<http://stackoverflow.com/comment/140268875> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .848<http://stackoverflow.com/q/79473317> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#UnansweredQuestion> .849<http://stackoverflow.com/tag/google-cloud-firestore> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Tag> .850<http://stackoverflow.com/q/79462877> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .851<http://stackoverflow.com/comment/140276745> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .852<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79443159> .853<http://stackoverflow.com/a/79430940> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Answer> .854<http://stackoverflow.com/tag/global-scope> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Tag> .855<http://stackoverflow.com/comment/140258032> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .856<http://stackoverflow.com/q/79440810> <http://stackoverflow.com/schema#hasTitle> "AWS Elasticache - PHP Memcached - Multiple Tab Log-out"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .857<http://stackoverflow.com/q/79495203> <http://stackoverflow.com/schema#hasTitle> "he Symfony application is unable to connect to the database. `doctrine:fixtures:load`"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .858<http://stackoverflow.com/q/79500063> <http://stackoverflow.com/schema#hasTitle> "Auth check return false in middleware, but should return true with Log Viewer"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .859<http://stackoverflow.com/comment/140228266> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .860<http://stackoverflow.com/tag/symfony> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79489848> .861<http://stackoverflow.com/q/79497152> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140198243> .862<http://stackoverflow.com/q/79428804> <http://stackoverflow.com/schema#possibleBetterAnswer> <http://stackoverflow.com/a/79428915> .863<http://stackoverflow.com/a/79447166> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .864<http://stackoverflow.com/q/79527416> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/composer-php> .865<http://stackoverflow.com/q/79437937> <http://stackoverflow.com/schema#upvoteCount> "2"^^<http://www.w3.org/2001/XMLSchema#integer> .866<http://stackoverflow.com/a/79527357> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140259743> .867<http://stackoverflow.com/comment/140283222> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .868<http://stackoverflow.com/comment/140113031> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .869<http://stackoverflow.com/q/79544313> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140278706> .870<http://stackoverflow.com/comment/140190131> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .871<http://stackoverflow.com/comment/140184748> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79488289> .872<http://stackoverflow.com/comment/140190585> <http://stackoverflow.com/schema#hasText> "Echoing @gview here. You&#x27;re load testing your application - whether that&#x27;s happening on a remote host, locally, or the specs of the machine are all unknown - and you&#x27;re wondering about an error you&#x27;re seeing during 15k concurrent requests. What exactly are you trying to achieve? How many concurrent requests are you expecting in production? Every host machine has an upper limit, and unless you start looking into load balancing your requests and horizontally scaling your application across multiple nodes, it&#x27;s hard to know what solution there is for you that would adequately solve your problem."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .873<http://stackoverflow.com/comment/140191233> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .874<http://stackoverflow.com/comment/140117902> <http://stackoverflow.com/schema#hasText> "then here we have two problems. 1. migration for newly created tenant_db and 2. db creation for tenant.\n\nEarlier tenant db was ok, did you change anything else? we should see that too.\nand need to solve this error you had in question `[2025-02-18 13:28:18] local.ERROR: Error during deployment creation: SQLSTATE[42S01]: Base table or view already exists`\nlets do that, \n1. verify migrations for tenant is in `database/migrations/tenant directory\n` \n2. verify that your jobpipeline in `TenancyServiceProvider` being triggered during `Deployment::create[...]` \nlet me know i am here to help."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .875<http://stackoverflow.com/q/79480969> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/package> .876<http://stackoverflow.com/comment/140099208> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .877<http://stackoverflow.com/q/79467142> <http://stackoverflow.com/schema#favoriteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .878<http://stackoverflow.com/comment/140087914> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .879<http://stackoverflow.com/a/79508124> <http://stackoverflow.com/schema#answersQuestion> <http://stackoverflow.com/q/79508100> .880<http://stackoverflow.com/tag/nginx> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79424459> .881<http://stackoverflow.com/q/79536851> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .882<http://stackoverflow.com/q/79501808> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#UnansweredQuestion> .883<http://stackoverflow.com/q/79529716> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .884<http://stackoverflow.com/comment/140272899> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/a/79540923> .885<http://stackoverflow.com/q/79471292> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/arrays> .886<http://stackoverflow.com/comment/140220345> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .887<http://stackoverflow.com/q/79439284> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140097939> .888<http://stackoverflow.com/tag/curl> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79527404> .889<http://stackoverflow.com/q/79542967> <http://stackoverflow.com/schema#hasTitle> "Scripts don&#x27;t work in foreach when making a GET request"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .890<http://stackoverflow.com/q/79447447> <http://stackoverflow.com/schema#hasTitle> "Issue with Multiple Laravel API Requests via cURL on Nginx in Laragon"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .891<http://stackoverflow.com/comment/140152895> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .892<http://stackoverflow.com/q/79525447> <http://stackoverflow.com/schema#upvoteCount> "2"^^<http://www.w3.org/2001/XMLSchema#integer> .893<http://stackoverflow.com/q/79422039> <http://stackoverflow.com/schema#answerCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .894<http://stackoverflow.com/comment/140256398> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .895<http://stackoverflow.com/comment/140189173> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .896<http://stackoverflow.com/comment/140168069> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .897<http://stackoverflow.com/comment/140253019> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/a/79523620> .898<http://stackoverflow.com/a/79480225> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Answer> .899<http://stackoverflow.com/comment/140193054> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .900<http://stackoverflow.com/comment/140093585> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .901<http://stackoverflow.com/tag/imagick> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79533140> .902<http://stackoverflow.com/comment/140180275> <http://stackoverflow.com/schema#hasText> "`it is supposed to show an error code such as 422`...is that what _you_ expect to happen in this case, or is that what the testers told you they expected?"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .903<http://stackoverflow.com/comment/140181991> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .904<http://stackoverflow.com/comment/140232022> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79514850> .905<http://stackoverflow.com/comment/140218799> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79508971> .906<http://stackoverflow.com/comment/140116589> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .907<http://stackoverflow.com/comment/140274284> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .908<http://stackoverflow.com/q/79443558> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140105452> .909<http://stackoverflow.com/comment/140173603> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79477523> .910<http://stackoverflow.com/comment/140263116> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .911<http://stackoverflow.com/tag/elementor> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79494414> .912<http://stackoverflow.com/comment/140198779> <http://stackoverflow.com/schema#hasText> "@YourCommonSense What else do you call it when I escape user input with `htmlspecialchars` before embedding it in a webpage? I have read and understand https://stackoverflow.com/a/130323/25634160."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .913<http://stackoverflow.com/q/79514545> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;I want to create a routine function in my project.\nI&#x27;ve created it in Laravel 10 with Alpine, Tailwind, Livewire and Flowbite.&lt;/p&gt;\n&lt;p&gt;&lt;a href=&quot;https://i.sstatic.net/7ow6nJJe.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;enter image description here&lt;/a&gt;&lt;/p&gt;\n&lt;p&gt;&lt;a href=&quot;https://i.sstatic.net/6HXipqhB.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;enter image description here&lt;/a&gt;&lt;/p&gt;\n&lt;p&gt;&lt;a href=&quot;https://i.sstatic.net/kED6Hr8b.png&quot; rel=&quot;nofollow noreferrer&quot;&gt;enter image description here&lt;/a&gt;&lt;/p&gt;\n&lt;p&gt;Which Laravel object do I use for this?&lt;/p&gt;\n&lt;p&gt;Thank you for the reply and have a nice day. Viviane Le Hegaret&lt;/p&gt;\n&lt;p&gt;None,I don&#x27;t know to do that&lt;/p&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .914<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79454310> .915<http://stackoverflow.com/q/79462522> <http://stackoverflow.com/schema#hasAnswer> <http://stackoverflow.com/a/79463269> .916<http://stackoverflow.com/q/79493100> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140191374> .917<http://stackoverflow.com/comment/140256049> <http://stackoverflow.com/schema#score> "2"^^<http://www.w3.org/2001/XMLSchema#integer> .918<http://stackoverflow.com/comment/140182667> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .919<http://stackoverflow.com/q/79540427> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/sql> .920<http://stackoverflow.com/comment/140171765> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79479124> .921<http://stackoverflow.com/comment/140114219> <http://stackoverflow.com/schema#hasText> "what did you try already? where are you stuck exactly"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .922<http://stackoverflow.com/comment/140160569> <http://stackoverflow.com/schema#hasText> "I needed `apt-get install php8.0-dev` as well, https://serverfault.com/a/213618/101107"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .923<http://stackoverflow.com/tag/sh> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Tag> .924<http://stackoverflow.com/tag/dns> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79443238> .925<http://stackoverflow.com/comment/140201328> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .926<http://stackoverflow.com/q/79438986> <http://stackoverflow.com/schema#answerCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .927<http://stackoverflow.com/q/79443364> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .928<http://stackoverflow.com/comment/140150714> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79469412> .929<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79441952> .930<http://stackoverflow.com/q/79522136> <http://stackoverflow.com/schema#upvoteCount> "3"^^<http://www.w3.org/2001/XMLSchema#integer> .931<http://stackoverflow.com/comment/140091482> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .932<http://stackoverflow.com/q/79494913> <http://stackoverflow.com/schema#downvoteCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .933<http://stackoverflow.com/q/79512948> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/directory> .934<http://stackoverflow.com/comment/140128394> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .935<http://stackoverflow.com/q/79525215> <http://stackoverflow.com/schema#upvoteCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .936<http://stackoverflow.com/comment/140211489> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .937<http://stackoverflow.com/a/79524207> <http://stackoverflow.com/schema#downvoteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .938<http://stackoverflow.com/comment/140192915> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .939<http://stackoverflow.com/q/79483494> <http://stackoverflow.com/schema#acceptedAnswer> <http://stackoverflow.com/a/79484412> .940<http://stackoverflow.com/comment/140264300> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79533598> .941<http://stackoverflow.com/comment/140278711> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .942<http://stackoverflow.com/tag/learndash> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Tag> .943<http://stackoverflow.com/tag/orocommerce> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Tag> .944<http://stackoverflow.com/comment/140119709> <http://stackoverflow.com/schema#hasText> "Your question is unclear, and the screenshot doesn&#x27;t show as much as it could to be helpful. You say &quot;there comes no new page&quot; which doesn&#x27;t make sense, but I assume you mean a new page isn&#x27;t created... except that can&#x27;t be the case, because your screenshot clearly shows a new page under what looks like the bottom of page 4. Are you simply saying you want the textbox to jump entirely to the new page if it overlaps the current page/footer?"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .945<http://stackoverflow.com/comment/140104118> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .946<http://stackoverflow.com/comment/140193054> <http://stackoverflow.com/schema#hasText> "Well I seem to have fixed this, but I am still a little short of answering my own question. I noticed that I had not included the PHP.ini file in the directory that included this script, and I&#x27;m not sure whether it was that change or including some error_log() statements in the file that suddenly made it start reporting the issues, which seemed to be down to attempting to use mysqli_free_result on two statements at once, and possibly also php 8+ being stricter on explicity declaring the data type for variables? Not sure about that bit though they may just have been warnings."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .947<http://stackoverflow.com/comment/140103020> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .948<http://stackoverflow.com/comment/140140834> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79463674> .949<http://stackoverflow.com/comment/140186974> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .950<http://stackoverflow.com/comment/140106596> <http://stackoverflow.com/schema#hasText> "Yes i want passing data from controller $datasubmit to the &#x27;targetupload&#x27; select sheet &#x27;0&#x27; and then to &#x27;targetheaderimport&#x27;"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .951<http://stackoverflow.com/comment/140113512> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .952<http://stackoverflow.com/q/79522136> <http://stackoverflow.com/schema#favoriteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .953<http://stackoverflow.com/comment/140189268> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79491843> .954<http://stackoverflow.com/comment/140276561> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .955<http://stackoverflow.com/q/79477200> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#UnansweredQuestion> .956<http://stackoverflow.com/q/79507521> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .957<http://stackoverflow.com/q/79514408> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140227927> .958<http://stackoverflow.com/q/79489328> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .959<http://stackoverflow.com/tag/emoticons> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79529102> .960<http://stackoverflow.com/a/79442040> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .961<http://stackoverflow.com/q/79542310> <http://stackoverflow.com/schema#hasTitle> "How does ASN.1 work in terms of encoding?"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .962<http://stackoverflow.com/comment/140113653> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .963<http://stackoverflow.com/q/79539636> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .964<http://stackoverflow.com/comment/140176701> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .965<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79543243> .966<http://stackoverflow.com/a/79510139> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140221509> .967<http://stackoverflow.com/comment/140277910> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .968<http://stackoverflow.com/comment/140096860> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .969<http://stackoverflow.com/q/79462224> <http://stackoverflow.com/schema#hasTitle> "How to use the pagination in Laravel Livewire with the Functional version not class"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .970<http://stackoverflow.com/comment/140134239> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnswerComment> .971<http://stackoverflow.com/q/79450857> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .972<http://stackoverflow.com/tag/emoji> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79542815> .973<http://stackoverflow.com/comment/140193591> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .974<http://stackoverflow.com/q/79489886> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140189830> .975<http://stackoverflow.com/comment/140140658> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .976<http://stackoverflow.com/comment/140230749> <http://stackoverflow.com/schema#hasText> "Your question is unclear and it seems that you didn&#x27;t really search… See: [Adding Fields to a Taxonomy Term](https://www.advancedcustomfields.com/resources/adding-fields-taxonomy-term/#categoryphp), [ACF get image from product term](https://stackoverflow.com/q/67675741/3730754) and [Display ACF field/image below the product title in WooCommerce archive pages](https://stackoverflow.com/a/52247896/3730754)"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .977<http://stackoverflow.com/q/79524260> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnsweredQuestion> .978<http://stackoverflow.com/comment/140099381> <http://stackoverflow.com/schema#hasText> "Sounds to me like this is a feature from Facebook. As your customers are using Facebook, you should keep it this way because it&#x27;s none of your business. You may however give Facebook customers the tip that it&#x27;s easier to login with Google, in case they are looking for options."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .979<http://stackoverflow.com/a/79510160> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;hmmm, there must be some issue with your traits of polices try the below solutions&lt;/p&gt;\n&lt;p&gt;&lt;strong&gt;Check If Policies or Gates Are Set Up Correctly&lt;/strong&gt;&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;dd(Auth::user()-&amp;gt;can(&#x27;view_permission_categories&#x27;));\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;&lt;strong&gt;Ensure You&#x27;re Using Laravel&#x27;s Built-In Permission Handling&lt;/strong&gt;&lt;br /&gt;\nIf you&#x27;re using &lt;strong&gt;Spatie&#x27;s Laravel Permissions Package&lt;/strong&gt;, make sure you&#x27;ve set up your permissions correctly:&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;use Spatie\\Permission\\Traits\\HasRoles;\n\nclass User extends Authenticatable\n{\n    use HasRoles;\n}\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;&lt;strong&gt;Make sure permissions are registered in &lt;code&gt;app/Providers/AuthServiceProvider.php&lt;/code&gt;:&lt;/strong&gt;&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;use Illuminate\\Support\\Facades\\Gate;\n\npublic function boot()\n{\n    $this-&amp;gt;registerPolicies();\n\n    Gate::before(function ($user, $ability) {\n        return $user-&amp;gt;hasPermissionTo($ability) ? true : null;\n    });\n}\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;&lt;strong&gt;Check If Your Permission Syncing Is Correct&lt;/strong&gt;&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;dd(Auth::user()-&amp;gt;getAllPermissions());\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;&lt;strong&gt;Explicitly Check the Role (If Using Role-Based Permissions)&lt;/strong&gt;&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;@hasanyrole(&#x27;admin|editor&#x27;)\n    &amp;lt;li&amp;gt;\n        &amp;lt;x-nav-link href=&amp;quot;/permissioncategories&amp;quot; :active=&amp;quot;request()-&amp;gt;is(&#x27;permissioncategories&#x27;)&amp;quot;&amp;gt;Permission Categories&amp;lt;/x-nav-link&amp;gt;\n    &amp;lt;/li&amp;gt;\n@endhasanyrole\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;I hope from above you get your solution&lt;/p&gt;\n&lt;hr /&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .980<http://stackoverflow.com/q/79507158> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140218541> .981<http://stackoverflow.com/q/79422239> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .982<http://stackoverflow.com/comment/140078860> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnswerComment> .983<http://stackoverflow.com/a/79451925> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Answer> .984<http://stackoverflow.com/comment/140125127> <http://stackoverflow.com/schema#hasText> "I&#x27;m guessing the problem on local is probably that you are accessing this via `localhost/mydomain.com/`, with an additional folder in the path. mod_dir&#x27;s `DirectorySlash` is probably set to `on`, so it will try to redirect you from `localhost/mydomain.com` to `localhost/mydomain.com/` again."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .985<http://stackoverflow.com/a/79462095> <http://stackoverflow.com/schema#answersQuestion> <http://stackoverflow.com/q/79453131> .986<http://stackoverflow.com/a/79436284> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Answer> .987<http://stackoverflow.com/comment/140095175> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .988<http://stackoverflow.com/comment/140121262> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79452219> .989<http://stackoverflow.com/a/79527935> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .990<http://stackoverflow.com/a/79443812> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140105774> .991<http://stackoverflow.com/comment/140261780> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .992<http://stackoverflow.com/q/79488174> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .993<http://stackoverflow.com/q/79443364> <http://stackoverflow.com/schema#acceptedAnswer> <http://stackoverflow.com/a/79443378> .994<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79476816> .995<http://stackoverflow.com/tag/google-drive-api> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79430743> .996<http://stackoverflow.com/comment/140281299> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .997<http://stackoverflow.com/a/79446642> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140111107> .998<http://stackoverflow.com/q/79508971> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .999<http://stackoverflow.com/q/79513656> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140227377> .1000<http://stackoverflow.com/comment/140277742> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .1001<http://stackoverflow.com/q/79544313> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140278684> .1002<http://stackoverflow.com/q/79443238> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;I setup TCExam ver. 16.3.7 in a server. There is no issue when config it with domain. E.g:&lt;/p&gt;\n&lt;p&gt;&lt;code&gt; define(&#x27;K_PATH_HOST&#x27;, &#x27;http://localhost&#x27;);&lt;/code&gt;&lt;/p&gt;\n&lt;p&gt;). But when i would like to change it to IP, i could not login to it at all, no error displays as well. E.g:&lt;/p&gt;\n&lt;p&gt;&lt;code&gt; define(&#x27;K_PATH_HOST&#x27;, &#x27;http://192.168.5.101&#x27;);&lt;/code&gt;&lt;/p&gt;\n&lt;p&gt;I take a look in the TCexam codes. It seems that all $_SESSIONS is lost when login then redirect to same page then still show login page:&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;File /tcexam/public/code/index.php includes tce_authorization.php file\n// Here is some parts of tce_authorization.php that i think has issue\n....\nif (! isset($pagelevel)) {\n    // set default page level\n    $pagelevel = 0;\n}\n.....\n// check user&#x27;s level\n// pagelevel=0 means access to anonymous user\n// pagelevel &amp;gt;= 1 // default 0 in this case\n// $_SESSION[&#x27;session_user_level&#x27;] is lost change, always 0, should 10\nif ($pagelevel &amp;amp;&amp;amp; $_SESSION[&#x27;session_user_level&#x27;] &amp;lt; $pagelevel) {\n    //check user level\n    // To gain access to a specific resource, the user&#x27;s level must be equal or greater to the one specified for the requested resource.\n    F_login_form();\n    //display login form\n}\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;&lt;strong&gt;Updated&lt;/strong&gt;: I found this ticket: &lt;a href=&quot;https://github.com/tecnickcom/tcexam/issues/429&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/tecnickcom/tcexam/issues/429&lt;/a&gt;\nIt seem that is actually issue but i havent found the way to add workaround solution to resolve the issue yet.&lt;/p&gt;\n&lt;p&gt;Anyone can help on this?&lt;/p&gt;\n&lt;p&gt;Thanks,\nQuang.&lt;/p&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .1003<http://stackoverflow.com/q/79482915> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#UnansweredQuestion> .1004<http://stackoverflow.com/q/79441937> <http://stackoverflow.com/schema#favoriteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .1005<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79432956> .1006<http://stackoverflow.com/comment/140279640> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .1007<http://stackoverflow.com/comment/140264970> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .1008<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79473317> .1009<http://stackoverflow.com/comment/140252716> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .1010<http://stackoverflow.com/q/79476731> <http://stackoverflow.com/schema#answerCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .1011<http://stackoverflow.com/comment/140274284> <http://stackoverflow.com/schema#hasText> "Disabling SSL is not an option, and AFACIS although OpCace gives error messages, it wasn&#x27;t enabled to begin with. At least, adding `opcache.enable=0` didn&#x27;t change anything."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .1012<http://stackoverflow.com/comment/140102222> <http://stackoverflow.com/schema#hasText> "_Transaction_&#x27;s public function _setPaymentMethodId_ is missing the _return $this_ statement. PhpStorm resolves _return_ statements. If you would run that code in a test it should also throw as `: self` return type is violated on `void` return."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .1013<http://stackoverflow.com/q/79426101> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .1014<http://stackoverflow.com/q/79480328> <http://stackoverflow.com/schema#hasAnswer> <http://stackoverflow.com/a/79481812> .1015<http://stackoverflow.com/comment/140078860> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/a/79423300> .1016<http://stackoverflow.com/comment/140092268> <http://stackoverflow.com/schema#hasText> "@rozsazoltan it is not the best practice for retrieving data from the api i do use 1 request but for the purpuse of setting data per entry row there needs to be an request the external api doesnt allow bulk imports. also thanks for your quick response. the larger question is why does it give me the 503"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .1017<http://stackoverflow.com/tag/twilio> <http://stackoverflow.com/schema#tagName> "twilio"^^<http://www.w3.org/2001/XMLSchema#string> .1018<http://stackoverflow.com/comment/140189200> <http://stackoverflow.com/schema#hasText> "Hi, nothing in the console.what kind of requests should i look for in network tab, for the requests that get the css styles, yes they are being made and data is coming, these css files are populated so i dont get why these styles aren&#x27;t applying, i will attach these screenshots in the original post at the bottom"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .1019<http://stackoverflow.com/q/79493865> <http://stackoverflow.com/schema#upvoteCount> "2"^^<http://www.w3.org/2001/XMLSchema#integer> .1020<http://stackoverflow.com/tag/rabbitmq-management> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79440541> .1021<http://stackoverflow.com/comment/140207997> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .1022<http://stackoverflow.com/comment/140282433> <http://stackoverflow.com/schema#hasText> "Thanks, this step-by-step but was what had me muddled."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .1023<http://stackoverflow.com/q/79431274> <http://stackoverflow.com/schema#hasAnswer> <http://stackoverflow.com/a/79431507> .1024<http://stackoverflow.com/comment/140118963> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .1025<http://stackoverflow.com/comment/140114111> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79448448> .1026<http://stackoverflow.com/comment/140084940> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnswerComment> .1027<http://stackoverflow.com/q/79472429> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/wordpress> .1028<http://stackoverflow.com/tag/reactjs> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79478773> .1029<http://stackoverflow.com/q/79500082> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/laravel-middleware> .1030<http://stackoverflow.com/comment/140078849> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79427963> .1031<http://stackoverflow.com/comment/140269575> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .1032<http://stackoverflow.com/comment/140251748> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .1033<http://stackoverflow.com/comment/140194587> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .1034<http://stackoverflow.com/q/79423259> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140070824> .1035<http://stackoverflow.com/q/79507816> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140217691> .1036<http://stackoverflow.com/q/79534955> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/discount> .1037<http://stackoverflow.com/comment/140279144> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .1038<http://stackoverflow.com/q/79433879> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnsweredQuestion> .1039<http://stackoverflow.com/q/79508385> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .1040<http://stackoverflow.com/comment/140184748> <http://stackoverflow.com/schema#hasText> "yes of course, recomended tag was php, so i added to mysql also. Opencart has to register options, account/register and checkout/register. mysql telephone cell is limited  to 16 characters in customer table. I can validate telephone number in account/register without problem. but i can not use the same codes for validation in checkout/register (non numeric character and length of 10 digits). so customer can add non numeric characters to telephone cell by passing validation. to use preg_match, want to validate (non numeric character and length of 10 digits) in checkout/register"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .1041<http://stackoverflow.com/q/79459041> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .1042<http://stackoverflow.com/comment/140243098> <http://stackoverflow.com/schema#hasText> "`php` and `php-cli` can be defined per-user, so it might help to figure out what those means when run by the web SAPI. Try running `var_dump(exec(&#x27;which php&#x27;));` through this to see where it points, and maybe try it with `php-cli`, too"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .1043<http://stackoverflow.com/q/79538326> <http://stackoverflow.com/schema#hasTitle> "In API response some keys values are not coming as expected"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .1044<http://stackoverflow.com/q/79511646> <http://stackoverflow.com/schema#hasTitle> "Symfony and Doctrine: CreateQuery with LEFT JOIN from SUBQUERY"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .1045<http://stackoverflow.com/tag/php> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79536531> .1046<http://stackoverflow.com/comment/140268988> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .1047<http://stackoverflow.com/a/79423427> <http://stackoverflow.com/schema#acceptedAnswerOf> <http://stackoverflow.com/q/79423270> .1048<http://stackoverflow.com/comment/140209294> <http://stackoverflow.com/schema#hasText> "Do you mean you literally have `Andr\\xc3\\xa9` in the database? First, that&#x27;s weird, second, it has nothing to do with Latin encoding."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .1049<http://stackoverflow.com/comment/140102318> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79441819> .1050<http://stackoverflow.com/tag/markdown> <http://stackoverflow.com/schema#tagName> "markdown"^^<http://www.w3.org/2001/XMLSchema#string> .1051<http://stackoverflow.com/q/79454958> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnsweredQuestion> .1052<http://stackoverflow.com/tag/log-viewer> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Tag> .1053<http://stackoverflow.com/comment/140087429> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .1054<http://stackoverflow.com/comment/140118089> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .1055<http://stackoverflow.com/q/79504179> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140210261> .1056<http://stackoverflow.com/comment/140129772> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .1057<http://stackoverflow.com/comment/140140623> <http://stackoverflow.com/schema#hasText> "Are you sure this problem is related to PHP or Symfony? If you dump the query (or read it from the profiler) and run it directly in MySQL (or whichever database you use), is it also running slow? If yes, please share the execution plan"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .1058<http://stackoverflow.com/comment/140270606> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .1059<http://stackoverflow.com/comment/140261538> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/a/79457874> .1060<http://stackoverflow.com/tag/typo3> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79463886> .1061<http://stackoverflow.com/a/79526022> <http://stackoverflow.com/schema#downvoteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .1062<http://stackoverflow.com/tag/embed> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79472832> .1063<http://stackoverflow.com/q/79538326> <http://stackoverflow.com/schema#downvoteCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .1064<http://stackoverflow.com/a/79482483> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;I was able to resolve this.  When i was disabling my anti-virus it was not disabling my HTTPS protection.  once i went in and turned the &lt;em&gt;&lt;strong&gt;HTTPS protection&lt;/strong&gt;&lt;/em&gt; off every started working again.&lt;/p&gt;\n&lt;p&gt;So in short check to see if your antivirus uses &lt;em&gt;&lt;strong&gt;HTTPS protection&lt;/strong&gt;&lt;/em&gt; if so make sure you disable or turn off then test.&lt;/p&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .1065<http://stackoverflow.com/a/79481064> <http://stackoverflow.com/schema#answersQuestion> <http://stackoverflow.com/q/79480598> .1066<http://stackoverflow.com/comment/140282468> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .1067<http://stackoverflow.com/comment/140248529> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .1068<http://stackoverflow.com/comment/140132676> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .1069<http://stackoverflow.com/q/79477523> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140168047> .1070<http://stackoverflow.com/comment/140221712> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/a/79493881> .1071<http://stackoverflow.com/q/79514850> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .1072<http://stackoverflow.com/a/79480225> <http://stackoverflow.com/schema#downvoteCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .1073<http://stackoverflow.com/comment/140118687> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .1074<http://stackoverflow.com/q/79537550> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .1075<http://stackoverflow.com/tag/request> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79426565> .1076<http://stackoverflow.com/q/79471292> <http://stackoverflow.com/schema#linkedTo> <http://stackoverflow.com/q/71030746> .1077<http://stackoverflow.com/q/79521365> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;I&#x27;m working on come code that uses Smarty for templating. I have a php function that creates an array of strings, and this function is called from a Smarty { } block. Within that Smarty block I need to &lt;em&gt;separately&lt;/em&gt; translate each string in the array (using &lt;code&gt;|@translate&lt;/code&gt;) and then join/combine the elements of the array into a single comma-delimited string. I&#x27;d prefer to do this in a compact way.&lt;/p&gt;\n&lt;p&gt;So, for example, if I have a php array containing &lt;code&gt;[&amp;quot;Hello&amp;quot;, &amp;quot;beautiful&amp;quot;, &amp;quot;world&amp;quot;]&lt;/code&gt; and the translation is to French then the output string should be &lt;code&gt;&amp;quot;Bonjour,beau,monde&amp;quot;&lt;/code&gt;.&lt;/p&gt;\n&lt;p&gt;I&#x27;m sure this is simple but I&#x27;m new to php/smarty and I&#x27;m struggling to find a compact way to do this. I&#x27;d appreciate some help. Thanks!&lt;/p&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .1078<http://stackoverflow.com/q/79517552> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140242970> .1079<http://stackoverflow.com/a/79530390> <http://stackoverflow.com/schema#answersQuestion> <http://stackoverflow.com/q/79529675> .1080<http://stackoverflow.com/q/79518763> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .1081<http://stackoverflow.com/comment/140258024> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .1082<http://stackoverflow.com/comment/140272920> <http://stackoverflow.com/schema#hasText> "Your error message is to do with the view not seeing the variable `$count`, not the calling of the function `count()`."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .1083<http://stackoverflow.com/comment/140228215> <http://stackoverflow.com/schema#hasText> "Please can you run `uname -a` and show the output?"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .1084<http://stackoverflow.com/tag/rsa> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79498839> .1085<http://stackoverflow.com/comment/140111366> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .1086<http://stackoverflow.com/comment/140182514> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .1087<http://stackoverflow.com/a/79517457> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Answer> .1088<http://stackoverflow.com/tag/web> <http://stackoverflow.com/schema#tagName> "web"^^<http://www.w3.org/2001/XMLSchema#string> .1089<http://stackoverflow.com/comment/140102489> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .1090<http://stackoverflow.com/comment/140250567> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnswerComment> .1091<http://stackoverflow.com/comment/140269032> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79535884> .1092<http://stackoverflow.com/comment/140217638> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .1093<http://stackoverflow.com/comment/140200781> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .1094<http://stackoverflow.com/comment/140176648> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/a/79484109> .1095<http://stackoverflow.com/comment/140184327> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .1096<http://stackoverflow.com/q/79428322> <http://stackoverflow.com/schema#favoriteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .1097<http://stackoverflow.com/q/79491730> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .1098<http://stackoverflow.com/a/79446642> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140111125> .1099<http://stackoverflow.com/q/79511646> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;I&#x27;m trying to rewrite this command (which works in phpMyAdmin) into Symfony and Doctrine.&lt;/p&gt;\n&lt;p&gt;&lt;code&gt;SELECT stand.name, if(count(checkins.id)&amp;gt;0,true,false) as pocet_navstev FROM stand left join (select * from checkin where checkin.nickname_id=10) as checkins on (stand.id=checkins.stand_id) GROUP by stand.id;&lt;/code&gt;&lt;/p&gt;\n&lt;p&gt;I tried writing it like this:&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt; $mycheckins = $entityManager-&amp;gt;createQueryBuilder(&amp;quot;sub&amp;quot;)\n            -&amp;gt;select(&amp;quot;checkin.id, checkin.Nickname, checkin.Stand&amp;quot;)\n            -&amp;gt;from(&amp;quot;App\\Entity\\Checkin&amp;quot;, &amp;quot;checkin&amp;quot;)\n            -&amp;gt;where(&amp;quot;checkin.Nickname=10&amp;quot;);        \n                        \n        $stands = $entityManager-&amp;gt;createQueryBuilder(&amp;quot;main&amp;quot;)\n            -&amp;gt;select(&amp;quot;stand.id&amp;quot;, &amp;quot;stand.Name&amp;quot;, &amp;quot;count(checkin.id)&amp;quot;)\n            -&amp;gt;from(&amp;quot;App\\Entity\\Stand&amp;quot;, &amp;quot;stand&amp;quot;)\n            -&amp;gt;leftJoin(sprintf(&amp;quot;(%s)&amp;quot;, $mycheckins-&amp;gt;getDQL()), &amp;quot;checkins&amp;quot;, &amp;quot;WITH&amp;quot;, &amp;quot;stand.id=checkins.Stand&amp;quot;)            \n            -&amp;gt;groupBy(&amp;quot;stand.id&amp;quot;)\n            -&amp;gt;getQuery()\n            -&amp;gt;getResult();\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;But after running I get an error:&lt;/p&gt;\n&lt;p&gt;&lt;code&gt;[Semantical Error] line 0, col 80 near &#x27;JOIN (SELECT&#x27;: Error: Subquery is not supported here&lt;/code&gt;&lt;/p&gt;\n&lt;p&gt;If I don&#x27;t call -&amp;gt;getQuery(), but pull the SQL using getDQL(), I get this:&lt;/p&gt;\n&lt;p&gt;&lt;code&gt;SELECT stand.id, stand.Name, count(checkin.id) FROM App\\Entity\\Stand stand LEFT JOIN (SELECT checkin.id, checkin.Nickname, checkin.Stand FROM App\\Entity\\Checkin checkin WHERE checkin.Nickname=10) checkins WITH stand.id=checkins.Stand GROUP BY stand.id&lt;/code&gt;&lt;/p&gt;\n&lt;p&gt;How can I please rewrite my PHP code to make it work?&lt;/p&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .1100<http://stackoverflow.com/comment/140168473> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79477523> .1101<http://stackoverflow.com/a/79460420> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;You have jumped over a few hoops.&lt;/p&gt;\n&lt;p&gt;Let&#x27;s catch up:&lt;/p&gt;\n&lt;p&gt;You get the query from a folder: &lt;a href=&quot;https://www.php-imap.com/api/folder&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.php-imap.com/api/folder&lt;/a&gt;&lt;/p&gt;\n&lt;p&gt;And you get folder/s from a client: &lt;a href=&quot;https://www.php-imap.com/api/client&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://www.php-imap.com/api/client&lt;/a&gt;&lt;/p&gt;\n&lt;p&gt;The client you have already. &amp;lt;- you are here&lt;/p&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .1102<http://stackoverflow.com/q/79487172> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140181646> .1103<http://stackoverflow.com/comment/140188322> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/a/79491187> .1104<http://stackoverflow.com/comment/140241513> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .1105<http://stackoverflow.com/q/79527748> <http://stackoverflow.com/schema#hasTitle> "Why can&#x27;t I geo-localise a page from my website with functions.php in Wordpress?"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .1106<http://stackoverflow.com/comment/140229268> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .1107<http://stackoverflow.com/a/79541889> <http://stackoverflow.com/schema#acceptedAnswerOf> <http://stackoverflow.com/q/79534417> .1108<http://stackoverflow.com/comment/140164296> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79476731> .1109<http://stackoverflow.com/tag/graphql> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79500563> .1110<http://stackoverflow.com/comment/140265244> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .1111<http://stackoverflow.com/a/79435723> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Answer> .1112<http://stackoverflow.com/q/79543919> <http://stackoverflow.com/schema#favoriteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .1113<http://stackoverflow.com/q/79542815> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;I want to convert my mysql database to handle emojis. I first ran the command:&lt;/p&gt;\n&lt;p&gt;ALTER TABLE my_table CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;&lt;/p&gt;\n&lt;p&gt;I then ran 3 experiments on the varchar field my_text_field of my_table:&lt;/p&gt;\n&lt;ol&gt;\n&lt;li&gt;&lt;p&gt;I executed: mysql_query(&amp;quot;UPDATE my_table set my_text_field = &#x27;&#x27; where id = 1&amp;quot;) -- from my own php script&lt;/p&gt;\n&lt;/li&gt;\n&lt;li&gt;&lt;p&gt;I executed: mysql_query(&amp;quot;UPDATE my_table set my_text_field = &#x27;&#x27; where id = 2&amp;quot;) -- from inside myphpadmin&lt;/p&gt;\n&lt;/li&gt;\n&lt;li&gt;&lt;p&gt;I made a form with a text field, pasted the  character into it, submitted it, and executed:&lt;/p&gt;\n&lt;/li&gt;\n&lt;/ol&gt;\n&lt;p&gt;mysql_query(&amp;quot;UPDATE my_table set my_text_field = &#x27;{$_POST[&amp;quot;message&amp;quot;]}&#x27; where id = 3&amp;quot;);&lt;/p&gt;\n&lt;p&gt;When I now look at the 3 rows in phpmyadmin, I see 3 different results:&lt;/p&gt;\n&lt;p&gt;For row 1, I see: ????&lt;br /&gt;\nFor row 2, I see: &lt;br /&gt;\nFor row 3, I see: &amp;amp; #128512; (without the space after the &amp;amp;)&lt;/p&gt;\n&lt;p&gt;When I run my own php script to display the text field of the 3 rows:&lt;/p&gt;\n&lt;p&gt;For row 1, I see: ????&lt;br /&gt;\nFor row 2, I see: ?&lt;br /&gt;\nFor row 3, I see: &lt;/p&gt;\n&lt;p&gt;When I run a php script to tell me the length of each:&lt;/p&gt;\n&lt;p&gt;For row 1, I get: 4&lt;br /&gt;\nFor row 2, for LENGTH I get 4; for CHAR_LENGTH I get 1&lt;br /&gt;\nFor row , I get: 9&lt;/p&gt;\n&lt;p&gt;Any explanation of the differing results would be welcome. In particular:&lt;/p&gt;\n&lt;ol&gt;\n&lt;li&gt;What do I need to do to make # 1 store the  successfully?&lt;/li&gt;\n&lt;li&gt;What do I need to do to make my php script display # 2 successfully?&lt;/li&gt;\n&lt;li&gt;What is the difference between # 2 and # 3? What exactly is stored in # 2, in contrast to # 3? Is there a preference of one over the other? Why the different values for # 2, depending on LENGTH vs CHAR_LENGTH?&lt;/li&gt;\n&lt;/ol&gt;\n&lt;p&gt;EDIT: I added mysql_query(&amp;quot;SET NAMES utf8mb4&amp;quot;); and this has solved issues 1 and 2.&lt;/p&gt;\n&lt;p&gt;So the emoji stored in rows 1 and 2 is the 4 utf8 characters: 240, 159, 152, 128 (the grinning face). Is there any difference between storing it that way and storing it as &amp;amp; #128512; ? Are both acceptable? Is there any preference?&lt;/p&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .1114<http://stackoverflow.com/a/79526811> <http://stackoverflow.com/schema#answersQuestion> <http://stackoverflow.com/q/79526352> .1115<http://stackoverflow.com/q/79473499> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .1116<http://stackoverflow.com/comment/140215185> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .1117<http://stackoverflow.com/q/79437937> <http://stackoverflow.com/schema#linkedTo> <http://stackoverflow.com/q/14217101> .1118<http://stackoverflow.com/q/79482771> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/content-management-system> .1119<http://stackoverflow.com/comment/140111164> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79446561> .1120<http://stackoverflow.com/a/79441190> <http://stackoverflow.com/schema#score> "3"^^<http://www.w3.org/2001/XMLSchema#integer> .1121<http://stackoverflow.com/comment/140228022> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .1122<http://stackoverflow.com/comment/140266213> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .1123<http://stackoverflow.com/comment/140174591> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .1124<http://stackoverflow.com/a/79543711> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140278644> .1125<http://stackoverflow.com/q/79494013> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/laravel-broadcast> .1126<http://stackoverflow.com/a/79430418> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Answer> .1127<http://stackoverflow.com/q/79437937> <http://stackoverflow.com/schema#linkedTo> <http://stackoverflow.com/q/55452072> .1128<http://stackoverflow.com/comment/140179753> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/a/79485973> .1129<http://stackoverflow.com/comment/140127587> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AnswerComment> .1130<http://stackoverflow.com/tag/sftp> <http://stackoverflow.com/schema#tagName> "sftp"^^<http://www.w3.org/2001/XMLSchema#string> .1131<http://stackoverflow.com/q/79446714> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;I am working on a blogging application in Laravel 8.&lt;/p&gt;\n&lt;p&gt;There is the option to add tags to articles. There is a many-to-many relationship between articles and tags. I have an &lt;code&gt;article_tag&lt;/code&gt; pivot table.&lt;/p&gt;\n&lt;p&gt;In the &lt;code&gt;Tag&lt;/code&gt; model I have:&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;class Tag extends Model\n{\n   use HasFactory;\n\n   protected $fillable = [&#x27;name&#x27;];\n\n   public function articles()\n   {\n       return $this-&amp;gt;belongsToMany(Article::class);\n   } \n}\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;To the &lt;code&gt;Article&lt;/code&gt; model I have added the &lt;code&gt;tags()&lt;/code&gt; method&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;public function tags()\n{\n    return $this-&amp;gt;belongsToMany(Tag::class)-&amp;gt;as(&#x27;tags&#x27;);\n}\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;I the ArticleController controller, I have two methods for editing and updating an article:&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;public function edit($id)\n  {\n    $article = Article::find($id);\n    $attached_tags = $article-&amp;gt;tags()-&amp;gt;get()-&amp;gt;pluck(&#x27;id&#x27;)-&amp;gt;toArray();\n    \n    return view(\n      &#x27;dashboard/edit-article&#x27;,\n      [\n        &#x27;categories&#x27; =&amp;gt; $this-&amp;gt;categories(),\n        &#x27;tags&#x27; =&amp;gt; $this-&amp;gt;tags(),\n        &#x27;attached_tags&#x27; =&amp;gt; $attached_tags,\n        &#x27;article&#x27; =&amp;gt; $article\n      ]\n    );\n}\n\npublic function update(Request $request, $id)\n{\n    $validator = Validator::make($request-&amp;gt;all(), $this-&amp;gt;rules, $this-&amp;gt;messages);\n\n    if ($validator-&amp;gt;fails()) {\n      return redirect()-&amp;gt;back()-&amp;gt;withErrors($validator-&amp;gt;errors())-&amp;gt;withInput();\n    }\n\n    $fields = $validator-&amp;gt;validated();\n    $article = Article::find($id);\n\n    // If a new image is uploaded, set it as the article image\n    // Otherwise, set the old image...\n    if (isset($request-&amp;gt;image)) {\n      $imageName = md5(time()) . Auth::user()-&amp;gt;id . &#x27;.&#x27; . $request-&amp;gt;image-&amp;gt;extension();\n      $request-&amp;gt;image-&amp;gt;move(public_path(&#x27;images/articles&#x27;), $imageName);\n    } else {\n      $imageName = $article-&amp;gt;image;\n    }\n\n    $article-&amp;gt;title = $request-&amp;gt;get(&#x27;title&#x27;);\n    $article-&amp;gt;short_description = $request-&amp;gt;get(&#x27;short_description&#x27;);\n    $article-&amp;gt;category_id = $request-&amp;gt;get(&#x27;category_id&#x27;);\n    $article-&amp;gt;tags[] = $request-&amp;gt;get(&#x27;tags[]&#x27;);\n    $article-&amp;gt;featured = $request-&amp;gt;has(&#x27;featured&#x27;);\n    $article-&amp;gt;image = $request-&amp;gt;get(&#x27;image&#x27;) == &#x27;default.jpg&#x27; ? &#x27;default.jpg&#x27; : $imageName;\n    $article-&amp;gt;content = $request-&amp;gt;get(&#x27;content&#x27;);\n    // Save changes to the article\n    $article-&amp;gt;save();\n\n    //Attach tags to article\n    if (isset($request-&amp;gt;tags)) {\n      $article-&amp;gt;tags()-&amp;gt;sync($request-&amp;gt;tags);\n    } else {\n      $article-&amp;gt;tags()-&amp;gt;sync([]);\n    }\n\n    return redirect()-&amp;gt;route(&#x27;dashboard.articles&#x27;)-&amp;gt;with(&#x27;success&#x27;, &#x27;The article titled &amp;quot;&#x27; . $article-&amp;gt;title . &#x27;&amp;quot; was updated&#x27;);\n}\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;In &lt;code&gt;edit-article.blade.php&lt;/code&gt;, I use a &lt;em&gt;multiselect&lt;/em&gt; element to assign tags to articles:&lt;/p&gt;\n&lt;pre&gt;&lt;code&gt;&amp;lt;div class=&amp;quot;row mb-2&amp;quot;&amp;gt;\n    &amp;lt;label for=&amp;quot;tags&amp;quot; class=&amp;quot;col-md-12&amp;quot;&amp;gt;{{ __(&#x27;Tags&#x27;) }}&amp;lt;/label&amp;gt;\n\n    &amp;lt;select name=&amp;quot;tags[]&amp;quot; id=&amp;quot;tags&amp;quot; class=&amp;quot;form-control&amp;quot; multiple=&amp;quot;multiple&amp;quot;&amp;gt;\n        @foreach ($tags as $tag)\n            &amp;lt;option value=&amp;quot;{{ $tag-&amp;gt;id }}&amp;quot;\n                {{ in_array($tag-&amp;gt;id, $attached_tags) ? &#x27;selected&#x27; : &#x27;&#x27; }}&amp;gt;{{ $tag-&amp;gt;name }}&amp;lt;/option&amp;gt;\n        @endforeach\n    &amp;lt;/select&amp;gt;\n&amp;lt;/div&amp;gt;\n&lt;/code&gt;&lt;/pre&gt;\n&lt;p&gt;The problem I am faced with is that when I edit the tags list, the &lt;code&gt;&amp;lt;select&amp;gt;&lt;/code&gt; element above does not keep the selected tags if the form is invalid because of validation errors on &lt;em&gt;other&lt;/em&gt; form fields.&lt;/p&gt;\n&lt;p&gt;Where is my mistake?&lt;/p&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .1132<http://stackoverflow.com/comment/140079153> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .1133<http://stackoverflow.com/comment/140278943> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .1134<http://stackoverflow.com/comment/140264558> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .1135<http://stackoverflow.com/q/79445124> <http://stackoverflow.com/schema#hasTitle> "How to Run WebSocket server.php on VPS"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .1136<http://stackoverflow.com/q/79430224> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php> .1137<http://stackoverflow.com/q/79455046> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140129491> .1138<http://stackoverflow.com/q/79500082> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .1139<http://stackoverflow.com/comment/140121174> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .1140<http://stackoverflow.com/a/79457874> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140261479> .1141<http://stackoverflow.com/q/79472005> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .1142<http://stackoverflow.com/q/79441812> <http://stackoverflow.com/schema#downvoteCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .1143<http://stackoverflow.com/comment/140114799> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .1144<http://stackoverflow.com/a/79536705> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#AcceptedAnswer> .1145<http://stackoverflow.com/comment/140135253> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .1146<http://stackoverflow.com/tag/symfony> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79421724> .1147<http://stackoverflow.com/q/79443151> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/php-curl> .1148<http://stackoverflow.com/q/79536499> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140281546> .1149<http://stackoverflow.com/comment/140168501> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .1150<http://stackoverflow.com/a/79441018> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .1151<http://stackoverflow.com/comment/140267405> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .1152<http://stackoverflow.com/comment/140269079> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .1153<http://stackoverflow.com/tag/tcpdf> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79448191> .1154<http://stackoverflow.com/q/79436766> <http://stackoverflow.com/schema#upvoteCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .1155<http://stackoverflow.com/q/79487868> <http://stackoverflow.com/schema#hasComment> <http://stackoverflow.com/comment/140189713> .1156<http://stackoverflow.com/q/79475818> <http://stackoverflow.com/schema#hasBody> "&lt;p&gt;GeeseFS allows to mount S3 as unix filesystem but with Laravel Nova it does not work.&lt;/p&gt;\n&lt;p&gt;After turning on throwing filesystem exceptions in Laravel config/filesystems.php, parameter throw =&amp;gt; true&lt;/p&gt;\n&lt;p&gt;Chrome debugger showed that exception is was thrown after call to chmod(). GeeseFS documentation says that chmod is not supported. Big Problem.&lt;/p&gt;\n&lt;p&gt;However, I found that I can remove &#x27;visibility&#x27; parameter in this config file config and problematic chmod() will not be called!&lt;/p&gt;\n&lt;p&gt;In GeeseFS access rights in are specified when you mount filesystem anyway.&lt;/p&gt;\n"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .1157<http://stackoverflow.com/q/79525215> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/fedora> .1158<http://stackoverflow.com/comment/140258141> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/a/79531861> .1159<http://stackoverflow.com/comment/140269592> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79538391> .1160<http://stackoverflow.com/tag/doctrine> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79477394> .1161<http://stackoverflow.com/tag/homebrew> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79477407> .1162<http://stackoverflow.com/a/79527483> <http://stackoverflow.com/schema#downvoteCount> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .1163<http://stackoverflow.com/comment/140281338> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .1164<http://stackoverflow.com/tag/http-headers> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79527418> .1165<http://stackoverflow.com/q/79486316> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/laravel> .1166<http://stackoverflow.com/comment/140201240> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .1167<http://stackoverflow.com/a/79546558> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .1168<http://stackoverflow.com/tag/jwt> <http://stackoverflow.com/schema#tagName> "jwt"^^<http://www.w3.org/2001/XMLSchema#string> .1169<http://stackoverflow.com/q/79512343> <http://stackoverflow.com/schema#linkedTo> <http://stackoverflow.com/q/32391315> .1170<http://stackoverflow.com/comment/140218457> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .1171<http://stackoverflow.com/comment/140242676> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .1172<http://stackoverflow.com/q/79432624> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/laravel-filament> .1173<http://stackoverflow.com/a/79489745> <http://stackoverflow.com/schema#answersQuestion> <http://stackoverflow.com/q/79489450> .1174<http://stackoverflow.com/q/79420865> <http://stackoverflow.com/schema#acceptedAnswer> <http://stackoverflow.com/a/79420946> .1175<http://stackoverflow.com/q/79523693> <http://stackoverflow.com/schema#answerCount> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .1176<http://stackoverflow.com/comment/140153295> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .1177<http://stackoverflow.com/q/79499046> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Question> .1178<http://stackoverflow.com/a/79483755> <http://stackoverflow.com/schema#answersQuestion> <http://stackoverflow.com/q/79441937> .1179<http://stackoverflow.com/comment/140234800> <http://stackoverflow.com/schema#hasText> "If that&#x27;s working, my recommendation is to try just redownloading 7.4 and see if it just magically starts working. I&#x27;d strongly recommend against trying to share a php.ini file. The little amount that that should need to change doesn&#x27;t outweigh the potential badness from sharing that could occur, at least in my mind. If you need to override a ini setting for site, there&#x27;s often a local equivalent you can use, either in .htaccess or .user.ini or similar."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .1180<http://stackoverflow.com/comment/140260418> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .1181<http://stackoverflow.com/comment/140165196> <http://stackoverflow.com/schema#commentOn> <http://stackoverflow.com/q/79477732> .1182<http://stackoverflow.com/comment/140228016> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .1183<http://stackoverflow.com/q/79478631> <http://stackoverflow.com/schema#taggedWith> <http://stackoverflow.com/tag/laravel-blade> .1184<http://stackoverflow.com/comment/140228154> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .1185<http://stackoverflow.com/comment/140206470> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .1186<http://stackoverflow.com/a/79501834> <http://stackoverflow.com/schema#answersQuestion> <http://stackoverflow.com/q/79501796> .1187<http://stackoverflow.com/tag/wordpress> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79462522> .1188<http://stackoverflow.com/comment/140217691> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#QuestionComment> .1189<http://stackoverflow.com/comment/140173948> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .1190<http://stackoverflow.com/comment/140256049> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .1191<http://stackoverflow.com/tag/symfony> <http://stackoverflow.com/schema#tagsQuestion> <http://stackoverflow.com/q/79536487> .1192<http://stackoverflow.com/comment/140217698> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .1193<http://stackoverflow.com/a/79424696> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .1194<http://stackoverflow.com/comment/140103261> <http://stackoverflow.com/schema#score> "2"^^<http://www.w3.org/2001/XMLSchema#integer> .1195<http://stackoverflow.com/comment/140274176> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .1196<http://stackoverflow.com/comment/140203465> <http://stackoverflow.com/schema#hasText> "@ewokx I edited my question with this information."^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .1197<http://stackoverflow.com/comment/140099326> <http://stackoverflow.com/schema#score> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .1198<http://stackoverflow.com/comment/140279021> <http://stackoverflow.com/schema#score> "0"^^<http://www.w3.org/2001/XMLSchema#integer> .1199<http://stackoverflow.com/q/79527748> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#UnansweredQuestion> .1200<http://stackoverflow.com/comment/140135251> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://stackoverflow.com/schema#Comment> .

Showing the first 1,200 of 33018 lines. Download the file for the rest.