Plugin Author
DaveE
(@dpe415)
Hi g.longo,
Unfortunately, FPW has never worked within the Page Builder interface (while building a post or page with the Page Builder plugin). This was documented previously and is an issue with the way Page Builder loads widgets into a non-standard interface (not the Admin > Widgets page) to make “building” a page possible.
FPW works fine from the regular Widgets interface (both version 3.4 and 3.3.1) while Page Builder is active.
Sorry!
Hi Dave,
thanks for your response.
Trying to debug, I noticed that these lines (in file flexible-posts-widget.php) may be wrong, in fact, it generates some warning message ‘couse these variables should be arrays:
protected $posttypes = ”;
protected $pt_names = ”;
protected $taxonomies = ”;
protected $tax_names = ”;
protected $thumbsizes = ”;
protected $orderbys = ”;
protected $orders = ”;
protected $templates = ”;
However, this problem is not regarding this post’s issue.
Plugin Author
DaveE
(@dpe415)
What version of PHP are you running? I’m on 5.5 and don’t get any errors or warnings related to those variables. They get populated (with array data if necessary) later in the code.
The Site Builder issue is because Site Builder doesn’t use a standard Widgets code that my JavaScript needs to “hook” to. It’s the same issue WordPress core ran into with the Customizer widgets panel a while back. In the end, the Customizer added a required ID to their HTML to allow widgets such as FPW to function properly. Page Builder would need to do the same to be compatible.
PHP Version 5.3.29.
For the warnings, I replaced with
= array();
in place of
= ”;
and warnings is gone.
Thanks for clarifications about Site Builder issue.