($this->_platform); } $this->_conn->executeStatement($this->_platform->getDropConstraintSQL($constraint->getQuotedName($this->_platform), $table)); } public function dropForeignKey($foreignKey, $table) { if ($foreignKey instanceof ForeignKeyConstraint) { Deprecation::trigger('doctrine/dbal', 'https://github.com/doctrine/dbal/issues/4798', 'Passing $foreignKey as a ForeignKeyConstraint object to %s is deprecated.' . ' Pass it as a quoted name instead.', __METHOD__); $foreignKey = $foreignKey->getQuotedName($this->_platform); } if ($table instanceof Table) { Deprecation::trigger('doctrine/dbal', 'https://github.com/doctrine/dbal/issues/4798', 'Passing $table as a Table object to %s is deprecated. Pass it as a quoted name instead.', __METHOD__); $table = $table->getQuotedName($this->_platform); } $this->_conn->executeStatement($this->_platform->getDropForeignKeySQL($foreignKey, $table)); } public function dropSequence($name) { $this->_conn->executeStatement($this->_platform->getDropSequenceSQL($name)); } public function dropUniqueConstraint(string $name, string $tableName) : void { $this->_conn->executeStatement($this->_platform->getDropUniqueConstraintSQL($name, $tableName)); } public function dropView($name) { $this->_conn->executeStatement($this->_platform->getDropViewSQL($name)); } public function createSchemaObjects(Schema $schema) : void { $this->_execSql($schema->toSql($this->_platform)); } public function createDatabase($database) { $this->_conn->executeStatement($this->_platform->getCreateDatabaseSQL($database)); } public function createTable(Table $table) { $createFlags = AbstractPlatform::CREATE_INDEXES | AbstractPlatform::CREATE_FOREIGNKEYS; $this->_execSql($this->_platform->getCreateTableSQL($table, $createFlags)); } public function createSequence($sequence) { $this->_conn->executeStatement($this->_platform->getCreateSequenceSQL($sequence)); } public function createConstraint(Constraint $constraint, $table) { $this->_conn->executeStatement($this->_platform->getCreateConstraintSQL($constraint, $table)); } public function createIndex(Index $index, $table) { $this->_conn->executeStatement($this->_platform->getCreateIndexSQL($index, $table)); } public function createForeignKey(ForeignKeyConstraint $foreignKey, $table) { $this->_conn->executeStatement($this->_platform->getCreateForeignKeySQL($foreignKey, $table)); } public function createUniqueConstraint(UniqueConstraint $uniqueConstraint, string $tableName) : void { $this->_conn->executeStatement($this->_platform->getCreateUniqueConstraintSQL($uniqueConstraint, $tableName)); } public function createView(View $view) { $this->_conn->executeStatement($this->_platform->getCreateViewSQL($view->getQuotedName($this->_platform), $view->getSql())); } public function dropSchemaObjects(Schema $schema) : void { $this->_execSql($schema->toDropSql($this->_platform)); } public function dropAndCreateConstraint(Constraint $constraint, $table) { Deprecation::trigger('doctrine/dbal', 'https://github.com/doctrine/dbal/pull/4897', 'AbstractSchemaManager::dropAndCreateConstraint() is deprecated.' . ' Use AbstractSchemaManager::dropIndex() and AbstractSchemaManager::createIndex(),' . ' AbstractSchemaManager::dropForeignKey() and AbstractSchemaManager::createForeignKey()' . ' or AbstractSchemaManager::dropUniqueConstraint()' . ' and AbstractSchemaManager::cr
Fatal error: Uncaught Error: Class 'WP_Block_Templates_Registry' not found in /home/gamemyca/public_html/wp-content/plugins/woocommerce/includes/class-wc-template-loader.php:137 Stack trace: #0 /home/gamemyca/public_html/wp-content/plugins/woocommerce/includes/class-wc-template-loader.php(182): WC_Template_Loader::has_block_template('archive-product') #1 /home/gamemyca/public_html/wp-content/plugins/woocommerce/includes/class-wc-template-loader.php(78): WC_Template_Loader::get_template_loader_default_file() #2 /home/gamemyca/public_html/wp-includes/class-wp-hook.php(324): WC_Template_Loader::template_loader('/home/gamemyca/...') #3 /home/gamemyca/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('/home/gamemyca/...', Array) #4 /home/gamemyca/public_html/wp-includes/template-loader.php(104): apply_filters('template_includ...', '/home/gamemyca/...') #5 /home/gamemyca/public_html/wp-blog-header.php(19): require_once('/home/gamemyca/...') #6 /home/gamemyca/public_html/index.php(17): require('/home/gamemyca/...') in /home/gamemyca/public_html/wp-content/plugins/woocommerce/includes/class-wc-template-loader.php on line 137