WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-160ecf-115.MAI' (Errcode: 28 "No space left on device")]
SELECT p.*, o.option_value, GROUP_CONCAT(DISTINCT CONCAT(m.meta_key, "::", m.meta_value) separator "::::") as seo_meta, t.slug, tr.language_code as language FROM wp_posts p JOIN wp_postmeta m ON p.ID = m.post_id JOIN wp_options o ON o.option_name = "siteurl" JOIN wp_term_relationships r ON r.object_id = p.ID JOIN wp_term_taxonomy x ON x.term_taxonomy_id = r.term_taxonomy_id JOIN wp_terms t ON t.term_id = x.term_id JOIN wp_icl_translations tr ON p.ID = tr.element_id WHERE post_type = "page" AND post_status = "publish" AND tr.language_code = 'en' AND t.slug IN ('jquery') AND x.taxonomy = "page_cat" AND tr.element_type = "post_page" AND meta_key IN ("_yoast_wpseo_title", "_yoast_wpseo_metadesc") GROUP BY p.ID

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-160ecf-116.MAI' (Errcode: 28 "No space left on device")]
SHOW FULL COLUMNS FROM `wp_options`

MDB angular - use mdb components in lazy loaded modules

WordPress database error: [Can't create/write to file '/tmp/#sql-temptable-4db-160ecf-117.MAI' (Errcode: 28 "No space left on device")]
SELECT p.* FROM wp_mdb_forum_posts AS p LEFT JOIN wp_mdb_forum_posts AS q ON( q.Id = p.ParentId AND p.Id = q.AcceptedAnswerId ) WHERE p.PostTypeId = 2 AND p.ParentId = 49911 GROUP BY p.Id ORDER BY CASE WHEN q.Id IS NOT NULL THEN 1 ELSE 0 END DESC, p.UpvoteCount DESC, p.CreationDate ASC


Topic: MDB angular - use mdb components in lazy loaded modules

georgegtx pro asked 8 years ago

Hello, I followed the getting started guide for ng-mdb-pro through npm - git. (v 4.4.3) When i try to use mdb components in lazy loaded modules they don't work. As a result i have to load  again MDBBootstrapModules.forRoot(), in every child module that will be lazy loaded. If i need to use some mdb component in the app module and a child lazy module also needs to use mdb components i have to reload MDB in both of them. As a result some singleton injectables are loaded twice. The angular compiler complaints that i am reloading an already declared provider e.t.c Why is that happening? Shouldn't the MDBBootstrapModules.forRoot(), be called just once in app.module.ts and be done with it?

georgegtx pro commented 8 years ago

This issue references as the problem the fact that modules don't inherit components from parent modules, even if the parent is the app.module, nut only services. According to answers in that issue we have to re import all necessary components in child modules. see https://github.com/angular/angular/issues/15024 If i re-import MDBBootstrapModules.forRoot() in the child module i get: Error: ToastModule is already loaded. It should only be imported in your application's main module. How will we go about that?

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No