• Resolved jtyarks

    (@jtyarks)


    Hi there,

    Before the issues, let’s start with the positive: This plugin is great and I thank you so much for building it.

    Unfortunately, I’ve been experiencing some strange errors when it’s enabled on a recent install, despite having a PHP 5.4 environment.

    When activated, regardless if by itself or with other plugins, content creators are redirected to a 404 page or see PHP errors such as

    PHP Fatal error: Trait method use_post_value has not been applied, because there are collisions with other trait methods on plainview\sdk\form2\inputs\inputfieldset in /public_html/wp-content/plugins/threewp-broadcast/plainview_sdk/plainview/sdk/form2/inputs/inputfieldset.php on line 38

    whenever they try to publish/update content.

    The troubleshooting steps taken thus far:

    • Deleted and reinstalled ThreeWP Broadcast
    • Disabled/re-enabled all other plugins
    • Enabled the default theme instead our custom theme
    • Increased the max_execution_time to 45 seconds

    Just to show you what’s going on, I made a quick video. As you can see, the posts are being saved to the database, and I’ve found that broadcast functionality seems to work most of the time…one simply needs to navigate back to the Dashboard after seeing the 404 or PHP error.

    Past experience led me to believe it was an issue with max_execution_time, hence the mention above, but I’m unable to confirm as 45 seconds is our hosting company’s limit. (Hosting company is SiteGround, in case that offers any insight.)

    Any ideas as to why this would happen and what I can do to remedy it?

    Thank you!

    http://wordpress.org/plugins/threewp-broadcast/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author edward_plainview

    (@edward_plainview)

    This is a trait conflict which I haven’t come into contact with. PHP’s trait resolution isn’t the best…

    It has nothing to do with execution time or other plugins.

    I have PHP version 5.4.4-14+deb7u4, and I see that Siteground offers 5.4 but doesn’t say exactly which version. Could you get back to me on that?

    Also, could you perhaps try using PHP 5.5 instead of 5.4? Maybe the bug is fixed in that version…

    Thread Starter jtyarks

    (@jtyarks)

    Thanks for getting back to me so quickly and for clearing up where the issue lies.

    The PHP version is 5.4.17 and that’s, unfortunately, the most recent version of PHP SiteGround has to offer. (It goes 5.2.17 with Suhosin patch, 5.3.27 and then 5.4.17.)

    If there’s anything I can ask the host for and/or about, let me know.

    Plugin Author edward_plainview

    (@edward_plainview)

    I thought I read that they have PHP 5.5 also. I have no newer version of PHP with which to test than 5.4.4, so I’ll have to debug on your installation.

    Please e-mail me so that we can resolve this.

    http://plainview.se/contact/

    Thread Starter jtyarks

    (@jtyarks)

    Very interesting – PHP 5.5 isn’t an option in their CPanel, but I was able to set it manually in my .htaccess file and this seems to be working. The PHP/404 errors seem to have gone away.

    I’m going to get in touch with the host and see if there’s any issue with me using 5.5, but I’m going to mark this as resolved for now.

    I will contact you with further details once I have them from the host. Thanks again!

    Plugin Author edward_plainview

    (@edward_plainview)

    Excellent. Apparently the bug is in php 5.4.17 and not in my 5.4.4.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘ThreeWP causing 404 or PHP errors when posting/updating content’ is closed to new replies.