First revert to the previous version:
https://ww.wp.xz.cn/plugins/insert-pages/download/
https://ww.wp.xz.cn/support/topic/revert-back-to-an-old-plugin
Then provide me with a detailed description of what went wrong so I can try to debug.
same here. I roll back (uninstall; download the 2.91, and install) and it works just fine. I am using 4.4.
after upgrade, it simply didn’t work. I tried few simple content includes and it simply did nothing. I even set WP_DEBUG to true and saw no warning/errors?!
in 2.91 with debug, I do get this one:
Notice: Undefined index: extra_classes in /home/jail/home/webmaster/shprung.com/htdocs/sfvbc/v2/wp-content/plugins/insert-pages/insert-pages.php on line 301
but as long as it works, I don’t care… will hold off upgrading until a reply. BTW, a wonderful plugin!
Hi Paul,
Thanks for the quick reply. I just rolled it back to 2.91 and everything is working perfectly. I am fine with using the old version but If you would like to take a look at my site it is titleIIIfunding.com. A specific page that I use “insert pages”on is http://titleiiifunding.com/necktie-equity-crowdfunding-sample/. Everything under the progress bar and above the description is inserted into the page using your plugin.
Thanks for the great plugin!
Anthony
Hello, thanks for your patience. I just released version 3.0.1; please check to see if it fixes the issues that version 3 introduced for you.
https://ww.wp.xz.cn/plugins/insert-pages/changelog/
If not, please revert back to 2.9.1 and let me know what went wrong.
can it be that it is only me??
after the upgrade/update; it crash my system; furthermore, here is the output from php -l :
[insert-pages]$ php -l insert-pages.php
PHP Parse error: syntax error, unexpected T_FUNCTION in insert-pages.php on line 769
Errors parsing insert-pages.php
the code look more like javascript than PHP – with the anonymus function:
add_action( ‘widgets_init’, function () { return register_widget( ‘InsertPagesWidget’ ); } );
maybe my php version is not up to your standards?
I resolve the problem by changing this line of code to:
add_action( ‘widgets_init’, ‘ip_rw’ ); function ip_rw() { return register_widget( ‘InsertPagesWidget’ ); }
Now everything is working fine again.
Yeah, you must have an old version of PHP on your server (less than 5.3).
http://php.net/manual/en/functions.anonymous.php
I’ll modify the code to use the older more compatible format.
Version 3.1.1 (just released) should support PHP 5.2 using the older create_function() method.
See https://codex.ww.wp.xz.cn/Widgets_API for details.